Ghostboard pixel

Rust Coreutils Are Performing Worse Than GNU Coreutils in Ubuntu

Ubuntu’s Rust move shows promise, but questions remain on performance.

Canonical and its developers are busy bringing Rust into Ubuntu to carefully but purposefully oxidize it. The upcoming Ubuntu 25.10 release will swap the long-standing GNU Coreutils with its Rust counterpart (uutils), and it has already replaced sudo with the Rust-based sudo-rs.

These are bold moves that put Ubuntu among the first major Linux distributions to lean so heavily on Rust for critical system components. It all looks promising, with Rust bringing memory safety, fewer chances of nasty bugs, and a cleaner codebase overall.

However, the journey hasn't been without its challenges.

Some Hurdles to Cross

this image has a blue colored background with three screenshots of github issues opened by the same person on uutils' repository

For instance, the cksum utility initially delivered slower performance compared to its GNU counterpart when tested on hyperfine. Fortunately, this issue has been addressed in a recent patch.

Similarly, the sort command has been reported to fail to provide an output on very large single-line files, and this issue is still under investigation by the uutils developers.

Meanwhile, most Rust utilities are already running smoothly. The base64 utility has been optimized and now outperforms the GNU version, showing that with careful tuning, Rust-based tools can match or exceed their C counterparts.

Most of these issues are expected to be resolved before the Ubuntu 25.10 release, allowing developers enough time to polish critical utilities.

Plus, addressing these early hiccups now will set a stronger foundation for Ubuntu 26.04 LTS next year, where the Rust-based Coreutils (uutils) should become a more polished, reliable part of the system.

In the end, Canonical's Rust push in Ubuntu is ambitious, and while there are bumps along the way, it shows a clear dedication to safer and more modern system tools for the long term.

The entire episode reminded me of the incident where a company was paying developers to improve their Rust code performance to match their C counterpart.

“Rust is so good you can get paid $20k to make it as fast as C”
That’s what FFmpged said while taking a jibe at the ‘do everything in Rust’ trend.

Via: Phoronix

About the author
Sourav Rudra

Sourav Rudra

More of my work here: https://news.itsfoss.com/author/sourav/

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.