DMD 1.032 and 2.016 releases

torhu no at spam.invalid
Wed Jul 9 16:38:37 PDT 2008


bearophile wrote:
> Walter Bright:
>> bearophile wrote:
>> > At a first test, it seems the compiled executables are 2-3+ times
>> > bigger than the ones produced by 1.029.
>> 
>> Hmm, haven't noticed that.
> 
> Here are some exact results:
> 
> V. 1.029:
> libs:     951_324 bytes (with unittests)
> test.d:   118_300 bytes
> 
> V. 1.032:
> libs:   1_386_012 bytes (with unittests)
> test.d:   277_020 bytes
> 
> Where the libs are my ones, and the test.d is just:
> 
> import std.stdio: put = writef, putr = writefln;
> import std.string: join;
> void main() {
>     putr(["ab", "cde"].join(""));
> }
> 
> I'd like to know if someone else can confirm this inflation.

I recently tried linking my app with DWT built with 1.031 using -lib, 
and the exe was larger than when using 1.027 and dsss with 
oneatatime=yes to build DWT.  I didn't look into it, just went back to 
my 1.027 setup for the time being.  So I think you might be onto something.


More information about the Digitalmars-d-announce mailing list