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

Walter Bright newshound2 at
Fri Feb 26 01:52:04 UTC 2021

On 2/24/2021 3:53 PM, deadalnix wrote:
> This is true for a fresh build, but often not the case for incremental builds, 
> which dev often have to go through. This is because the work you have to do for 
> sources grows with the size of the changeset, while the work you have to do link 
> grows with the size of the project as a whole, changed or not. On large 
> projects, it is very common that linking dominates incremental builds.
> zld is another interesting project that tries to do enable incremental linking: 
> Just like mold, it is fairly new and probably not battle tested enough for 
> production yet.

Optlink could do a full link faster than MS-Link could do an incremental link.

More information about the Digitalmars-d mailing list