executable size
Nick Sabalausky
a at a.a
Sat Dec 18 10:25:24 PST 2010
"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.
More information about the Digitalmars-d
mailing list