Ghostboard pixel Skip to content

Rust Coreutils Are Performing Worse Than GNU Coreutils in Ubuntu

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

the rust logo is in the middle, the ubuntu logo on the left (diagonally) and the uutils logo on the right (diagonally), the background is mixed green blue with gray ubuntu logos spread out

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

🎗️
Here's why you should opt for It's FOSS Plus Membership:

- Even the biggest players in the Linux world don't care about desktop Linux users. We do.
- We don't put informational content behind paywall. Your support keeps it open for everyone. Think of it like 'pay it forward'.
- Don't like ads? With the Plus membership, you get an ad-free reading experience.
- When millions of AI-generated content is being published daily, you read and learn from real human Linux users.
- It costs just $2 a month, less than the cost of your favorite burger.

Become a Plus Member today and join over 300 people in supporting our work.
Sourav Rudra

Sourav Rudra

A nerd with a passion for open source software, building custom gaming rigs/workstations, motorsports, and more.

All articles

More in Development Updates

See all

More from Sourav Rudra

See all