TECH Signal 604 2 feeds carried it
mold linker is 2.4-16.1x faster than lld and up to 112x faster than GNU ld
Illustration only Photo by U. Storsberg on Unsplash
A paper presents mold, a Unix/Linux linker that parallelizes the entire linking pipeline, linking multi-gigabyte debug binaries in seconds and outperforming lld and GNU ld.
For engineers building large C++ programs, link times are a known bottleneck. mold's reported speedups could significantly shorten the edit-compile-debug cycle. However, it is a Unix/Linux linker, so it won't help on other platforms.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
mold applies data parallelism across the entire linking pipeline.
mold links multi-gigabyte debug binaries in at most a few seconds.
mold is 2.4-16.1x faster than lld and up to 112x faster than GNU ld.
THE CLUSTER