Win32 executable size. Why 76kb for nothing?

Bill Baxter dnewsgroup at billbaxter.com
Tue Nov 27 15:27:31 PST 2007


Hoenir wrote:
> I'm wondering why everyone complains about the exe size.
> You have to consider things like the garbage collector and the 
> statically linked standard runtime library when judging it.
> 
> Just use exe compressors like upx to reduce the size to some degree.

I don't really know either but I have thought it would be cool if D 
could be used for writing demoscene demos 
(http://www.scheib.net/play/demos/what/index.html).  It would be a nice 
way to show off D's speed and to-the-metal leanness.  But an entire demo 
with all its sound and visuals is usually 64KB.  76kb for main(){} is a 
non-starter there.

--bb


More information about the Digitalmars-d-learn mailing list