Skip to main content
AI RADARGitHub
222•10/08/2026, 09:17•2 min read

mold 3.0 drops C++ for Rust

mold 3.0 drops C++ for Rust - 1
mold 3.0 drops C++ for Rust - 2
Executive TL;DR30s read

The mold linker for Linux has been fully rewritten in Rust in version 3.0, keeping the same speed and command compatibility while improving safety.

A developer tool for Linux has fully dropped C++ in favor of Rust.

This is about mold, a linker that speeds up program builds by combining compiled code into a finished program.

Version 3.0 is fully rewritten in Rust. According to the developers, it runs just as fast as the C++ version.

The commands and supported architectures remain unchanged. To verify compatibility, the developers even built all Gentoo packages and reported no regressions.

During the rewrite:

  • CMake was replaced with Cargo;
  • the dependency on Intel oneTBB was removed;
  • bounds checking was added when handling damaged files.

The developers now want to eliminate the remaining incompatibilities with GNU ld so that Linux distributions can use mold as the default linker.

Release link: mold 3.0.0.

Why it matters

Analysis

The Rust rewrite reduces memory-safety risks and simplifies the build system. If mold becomes the default linker, it could make package builds faster across many Linux distributions.

Discuss in community

Share your questions and insights with developers

Join Telegram
+5 Points
← Back to news feed

Related in Ecosystem

Practical guides, core terminology, and agent skills