What can be done to reduce executable size?

bearophile bearophileHUGS at lycos.com
Fri Dec 16 01:15:02 PST 2011


Andrei Alexandrescu:

> Right now an executable starts at around 218KB, which includes druntime 
> (gc, type info, the works). Importing std.stdio and using writeln() only 
> adds a couple of KBs.

Now using ulink the hello world exe becomes 129_564 bytes.

Bye,
bearophile


More information about the Digitalmars-d mailing list