Mold: A Massively Parallel Linker
matt_d
104 points
15 comments
August 26, 2026
Related Discussions
Found 5 related stories in 114.6ms across 9,063 title embeddings via pgvector HNSW
- Mold Linker Version 3.0.0 Release – Rewritten in Rust roflcopter69 · 235 pts · October 05, 2026 · 65% similar
- Benchmarking Wild vs. Mold birdculture · 46 pts · September 20, 2026 · 46% similar
- Mesh LLM: distributed AI computing on iroh tionis · 176 pts · July 11, 2026 · 45% similar
- Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust afdbcreid · 15 pts · August 24, 2026 · 45% similar
- Scaling Memory Safety: AI-Assisted Rewrites of C/C++ Dependencies to Rust ndesaulniers · 12 pts · September 28, 2026 · 45% similar
Discussion Highlights (6 comments)
dochtman
Wild is a decent bit faster than mold at this point: https://github.com/wild-linker/wild (Benchmarks in the README.)
gabeochoa
Old tweet from Rui, but I saw it in a recent zig video and really liked the sentiment: ( https://x.com/rui314/status/1560277403787997185 ) > my strategy is to increase the value of commons by, say, 100 and get 1 as a return, so bear with me. If you want to use mold for free, you can just do that. This is my open-source business strategy. Wishing the best for Mold and Rui
mbrumlow
Would use this at a fairly large company if we had windows and Mac support, probably could get budget to pay for the features it’s missing.
lrvick
We use mold as the default linker in the Stagex linux distribution. It shaved hours off our full tree build time.
omoikane
This is a wonderful paper that includes many optimization tricks that are generally applicable, including various optimizations that they retrofitted into lld. But I thought there was one meta optimization that was especially interesting (from page 2): > A new linker's early adopters knowingly accept such differences, which is one reason why drastic improvements tend to come from new linkers rather than existing ones This is true of many things, not just linkers. I think this is encouraging for people to (re)try things that have already been done, because newcomers are allowed to take risks that established things can't take.
canucker2016
Here's a lwn.net link to Ian Lance Taylor's blog posts about his gold linker (his blog doesn't seem to have any table of contents or group the linker-related blog posts in one area/tag). see https://lwn.net/Articles/276782/ GNU gold is deprecated and will probably be removed soon. ( https://www.phoronix.com/news/GNU-Gold-Linker-Deprecated ) But back in the late 2000s, the blog posts were a combination of algorithm optimization class and software history since no one seemed to step up to cleanup the technical debt that GNU ld had accumulated over the decades.