In one of the most notable infrastructure modernizations of the year, systems engineer Rui Ueyama officially released mold 3.0.0 on October 5, 2026, completing an exhaustive ground-up rewrite of the high-speed Unix linker from C++20 into Rust.
Since its initial release in 2021, mold gained international acclaim by dramatically outperforming traditional GNU ld, GNU gold, and LLVM lld linkers. On multi-core development workstations, mold reduced the time required to link massive codebases—such as the Chromium browser or the Linux kernel—from tens of seconds down to barely one second, fundamentally transforming the developer edit-compile-test feedback loop.
However, achieving that extreme performance in C++ required intricate lock-free data structures, manual memory mapping, and reliance on Intel's Threading Building Blocks (oneTBB). In mold 3.0, Ueyama eradicated these complexities by moving the entire 60,000-line codebase to Rust. By leveraging Rust's Rayon library for work-stealing data parallelism, mold achieves identical or superior multithreaded scalability without dragging in cumbersome external C++ runtime dependencies.
The engineering benefits of the Rust transition extend beyond safety guarantees. In comprehensive benchmarking, mold 3.0 demonstrated a 22% reduction in peak resident set size (RSS) memory consumption when linking large 10GB debug binaries. Rust's strict ownership semantics enabled more aggressive string interning and contiguous arena memory allocations, reducing cache-line misses across high-core-count processors like AMD Threadrippers.
In raw linking performance, mold 3.0 matches its previous C++ speed tier. Linking Chromium debug builds takes just 1.42 seconds on a 64-core host—compared to 18.2 seconds for GNU gold and 4.1 seconds for LLVM lld. Furthermore, transitioning from CMake to Cargo simplifies packaging and distribution, allowing developers to install mold directly via standard Rust toolchains.
Ueyama highlighted that rewriting the linker in Rust also eliminated an entire class of subtle concurrency bugs and null-pointer dereferences that plagued previous edge cases during symbol deduplication. With version 3.0 now tagged as the primary production release, mold cements its position as essential low-level systems infrastructure for modern software engineering.