Hello World -- 112K???

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Jun 1 16:56:58 PDT 2007


"gedumer" <gedumer at yahoo.com> wrote in message 
news:f3q8h9$1q9l$1 at digitalmars.com...
> gedumer Wrote:
>
>> Why are exe's so large with D? 112K for Hello World seems a bit high. I 
>> compiled it with no debug info and -O optimization.
>
> Thanks... I did manage to track many of the other posts down re: EXE size. 
> I suppose I now understand the reason. I wander if it's a matter of 
> further development to ultimately reduce the exe's or will they continue 
> to grow? Only time will tell, I guess.

Well if it's any consolation, it's a fixed overhead.  I doubt that most of 
the time you're going to be making programs as small as a hello world, so 
the ~100K overhead won't mean much when your EXE is 5MB.  It's the 
consequence of using a language that provides you with useful capabilities 
;) 





More information about the Digitalmars-d mailing list