Profiling DMD's Compilation Time with dmdprof

rikki cattermole rikki at cattermole.co.nz
Wed Nov 7 12:49:49 UTC 2018


On 08/11/2018 1:46 AM, Patrick Schluter wrote:
> Now that the compiler is completely in D, wouldn't it be a good idea to 
> activate the GC in the compiler. I know that it requires some care for 
> bootstrapping the compiler when there are dependencies to the D runtime, 
> but the compiler would be an excellent example of the advantage of the 
> GC (i.e. dumb fast allocations as long as there's memory, collection 
> when no memory left which is miles away better than to get OOM-killed).

No, that would be a bad idea currently.

https://issues.dlang.org/show_bug.cgi?id=18811


More information about the Digitalmars-d-announce mailing list