What can be done to reduce executable size?

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


Am 16.12.2011, 14:52 Uhr, schrieb Trass3r <un at known.com>:

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

Didn't it also compress the exe?


More information about the Digitalmars-d mailing list