executable size

BLS windevguy at hotmail.de
Sat Dec 18 10:37:20 PST 2010


On 18/12/2010 19:25, Nick Sabalausky wrote:
> "jovo"<jovo at at.home>  wrote in message news:ieit9a$2n58$1 at digitalmars.com...
>> Hi,
>> Today I compiled my old two module console program with d-2.50.
>> It uses only std.c.time, std.c.stdio, std.random and templates.
>> Compiled with -O -release, on windows.
>> Executable size (d-2.50): 4.184 kb.
>> Trayed with d-1.30: 84 kb.
>>
>> Is it expected?
>
> Yes. The runtime is currently built into the exe. With C/C++, the runtime is
> often stored separately so the exe files themseves end up a lot smaller,
> even though they rely on at least as much compiled code.
>
>

Jovo compared d1 vs d2.. and here the difference is significant.



More information about the Digitalmars-d mailing list