Linking is the slowest part of D's compilation process– can we use mold to speed it up?

deadalnix deadalnix at gmail.com
Fri Feb 26 17:04:26 UTC 2021


On Friday, 26 February 2021 at 13:23:06 UTC, Atila Neves wrote:
> Nice. I wrote a D program once that used the linker as a server 
> and kept "sending" it object files that it kept on relinking, 
> but unfortunately that didn't speed anything up.

I wouldn't expect this to improve performance unless the linker 
is coded to take advantage of this. Re linking everything many 
times won't help.



More information about the Digitalmars-d mailing list