DMD producing huge binaries

Anon via Digitalmars-d digitalmars-d at puremagic.com
Sat May 21 15:27:31 PDT 2016


On Saturday, 21 May 2016 at 20:50:56 UTC, Walter Bright wrote:
> On 5/21/2016 1:49 PM, Walter Bright wrote:
>> We already have a compressor in the compiler source for 
>> compressing names:
>>
>>   
>> https://github.com/dlang/dmd/blob/master/src/backend/compress.c
>>
>> A faster one would certainly be nice. Anyone game?
>
> Note how well it does:
>
> https://issues.dlang.org/show_bug.cgi?id=15831#c5

The underlying symbols are still growing exponentially. Nobody 
has the RAM for that, regardless of what size the resultant 
binary is.

Compressing the symbol names is a bandage. The compiler needs a 
new kidney.


More information about the Digitalmars-d mailing list