Mold Linker Version 3.0.0 Release – Rewritten in Rust(github.com)
245 points by roflcopter69 8 days ago | 193 comments
tl;dr: Mold 3.0.0 is the first release of the high-speed linker rewritten from C++ to Rust, intended as a drop-in replacement for 2.42.1 with equivalent performance, same CLI options, and same target support. The rewrite adds bounds-checking safety against corrupted inputs, drops the oneTBB dependency, and switches the build system from CMake to Cargo (requiring Rust 1.95+). The release also bundles numerous bug fixes, improved GNU ld compatibility (especially in linker scripts), and architecture-specific relocation fixes, aiming to make mold viable as a default linker in Linux distributions.
HN Discussion:
  • ↓Rust rewrite forces distro to fork and maintain the C++ version, criticizing Rust as unsuitable here
  • •Surprise at the speed of the rewrite, speculating about AI agents being involved
  • •Curiosity about technical differentiation between mold and the Wild linker now that both are Rust
  • ↑Enthusiastic excitement about the release, expecting continued or improved performance