executable size

Gary Whatmore no at spam.sp
Sun Dec 19 05:25:36 PST 2010


jovo Wrote:

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

This is something you shouldn't worry too much about. Hard drives and system memory are getting bigger. 4 megabytes isn't that much when you have soon 4 terabytes of space. A single PC rarely has one million executables. So, keep writing more code. That's what the space is for. 

 - G.W.


More information about the Digitalmars-d mailing list