Metraipolis › archive › dc_4446ff889fc5

mold: A Massively Parallel Linker — arXiv:2608.23228

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.23228
License (as archived)
CC0-1.0
Archived
2026-10-18T09:27:17.709Z
SHA-256 of the archived text
01d6283c325a4406675d8007a0d09b2fe9cefbec5a34a98978c0e6d6650f3d3f
Stable URL of this page
https://metraipolis.com/documento/dc_4446ff889fc5

How to cite

mold: A Massively Parallel Linker — arXiv:2608.23228 — arXiv (en), https://arxiv.org/abs/2608.23228 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4446ff889fc5 (Metraipolis archive dc_4446ff889fc5, sha256 01d6283c325a4406675d8007a0d09b2fe9cefbec5a34a98978c0e6d6650f3d3f)
BibTeX
@misc{dc4446ff889fc5,
  title = {mold: A Massively Parallel Linker — arXiv:2608.23228},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.23228},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4446ff889fc5; sha256 01d6283c325a4406675d8007a0d09b2fe9cefbec5a34a98978c0e6d6650f3d3f},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.23228. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Linking is a critical step in the software build process that combines compiled object files into a single executable or shared library. Despite decades of engineering effort, link times remain a significant bottleneck in the edit-compile-debug cycle, particularly for large C++ programs. Existing linkers exploit limited parallelism, leaving most CPU cores idle during linking. We present mold, a Unix/Linux linker that applies data parallelism systematically across the entire linking pipeline. We first analyze the architectural constraints that prevent existing linkers from scaling, including entangled symbol resolution and archive processing, and then show how a clean-slate design that decouples them overcomes these limitations. On large real-world programs, mold links multi-gigabyte debug binaries in at most a few seconds, and often in under a second. It is 2.4-16.1x faster than the state-of-the-art lld linker, and up to 112x faster than the traditional GNU ld. An ablation study shows that no single optimization dominates; the speedup comes from the cumulative effect of parallelizing all passes.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-25 in cs.OS).
Categorie arXiv: Operating Systems (cs.OS).
Pagina del lavoro: https://arxiv.org/abs/2608.23228 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T09:27:17.201Z dalla pagina https://arxiv.org/catchup/cs.OS/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).