There's a new linker in town, Mold linker v1.0. It's selling point is speed, much much better speed when linking big binaries (if its own benchmarks are true). It's designed to be a drop-in replacement for GNU gold and LLVM lld. It's author is also the original author of LLVM's lld linker.
So if this benchmark is true, the author beats his former puppy LLVM lld by factor 3 up to 5 times faster.
So far no word about FreeBSD, but it might be interesting enough for some people to have a closer look at. Architecture: ARM64, x64. License: Affero GPLv3.
github.com
So if this benchmark is true, the author beats his former puppy LLVM lld by factor 3 up to 5 times faster.
Program (linker output size) | GNU gold | LLVM lld | mold |
---|---|---|---|
Chrome 96 (1.89 GiB) | 53.86s | 11.74s | 2.21s |
Clang 13 (3.18 GiB) | 64.12s | 5.82s | 2.90s |
Firefox 89 libxul (1.64 GiB) | 32.95s | 6.80s | 1.42 |
So far no word about FreeBSD, but it might be interesting enough for some people to have a closer look at. Architecture: ARM64, x64. License: Affero GPLv3.
GitHub - rui314/mold: Mold: A Modern Linker 🦠
Mold: A Modern Linker 🦠. Contribute to rui314/mold development by creating an account on GitHub.