What can be done to reduce executable size?

Trass3r un at known.com
Fri Dec 16 05:52:28 PST 2011


Am 16.12.2011, 10:15 Uhr, schrieb bearophile <bearophileHUGS at lycos.com>:

> 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.

What is its secret?


More information about the Digitalmars-d mailing list