Compiler: Size of generated executable file

Adam D. Ruppe destructionator at gmail.com
Tue Jan 12 14:59:38 PST 2010


On Tue, Jan 12, 2010 at 02:48:31PM -0800, Walter Bright wrote:
> Unfortunately, sizeof(exe + dll) == sizeof(exe) + sizeof(dll)

Actually, sizeof(exe + dll) < sizeof(exe) + sizeof(dll) in most cases.

In a single exe, the unneeded things from the library are stripped out
by the linker.


As to the main subject, the size of D programs is something I would like
to see brought down - 300kb is a lot when transferring on dialup, but I
consider it the lowest of all the priorities I can think of. It isn't
/obscenely/ large.

-- 
Adam D. Ruppe
http://arsdnet.net



More information about the Digitalmars-d mailing list