Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my C++ Builder program so much smaller than my Delphi program?

Today I downloaded the Delphi and C++ Builder XE trial.

I was worried about the size of Delphi exes for a long time (in XE it is 850 kb), and I thought, why such a big size of app even it is just has a blank form?

But on C++ Builder XE the minimum size is just 120 kb! Even if I included a Delphi form in the C++ project, there was still no major size difference.

How is C++ Builder able to make a small exe with virtually the same contents? And why can't Delphi do it?

like image 364
VibeeshanRC Avatar asked Dec 02 '10 15:12

VibeeshanRC


1 Answers

Maybe the C++ Builder exe you created is dependent on runtime packages such as vcl60.bpl and rtl60.bpl? This would explain the smaller size.

like image 54
Ville Krumlinde Avatar answered Nov 11 '22 13:11

Ville Krumlinde