DMD producing huge binaries

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri May 20 03:54:18 PDT 2016


On 5/19/16 6:16 PM, Walter Bright wrote:
> On 5/19/2016 6:45 AM, Andrei Alexandrescu wrote:
>> I very much advocate slapping a 64-long random string for all
>> Voldermort returns
>> and calling it a day. I bet Liran's code will get a lot quicker to
>> build and
>> smaller to boot.
>
> Let's see how far we get with compression first.
>
>    https://github.com/dlang/dmd/pull/5793
>
> Using 64 character random strings will make symbolic debugging unpleasant.

This is a fallacy. I don't think so, at all, when the baseline is an 
extremely long string. In any given scope there are at most a handful of 
Voldemort types at play, and it's easy to identify which is which. We've 
all done so many times with IPs, GUIDs of objects, directories, etc. 
etc. -- Andrei


More information about the Digitalmars-d mailing list