Rust Coreutils 0.7 Released With Many Performance Optimizations
#Rust

Rust Coreutils 0.7 Released With Many Performance Optimizations

Hardware Reporter
2 min read

Rust Coreutils 0.7 delivers major performance improvements across dozens of utilities while working to improve safety and compatibility with GNU Coreutils.

Rust Coreutils 0.7 was released on Sunday as a performance-focused update to this popular alternative to GNU Coreutils that is still striving for 100% compatibility against the GNU Test Suite. The release brings significant optimizations across dozens of utilities while also working to address unsafe Rust code with safer abstractions and other enhancements.

On the GNU Test Suite compatibility front, Rust Coreutils 0.7 has increased its pass rate by another seven tests but also increasing the skip count by six and fail count by seven, thus dropping the overall pass rate from 96.2% to 94.5%. There were also 19 new tests from the new GNU Coreutils 9.10 release.

Rust Coreutils 0.7 brings faster hash maps, new ASCII fast paths, reducing malloc allocations for different commands, and more. The release also includes a number of fixes, build fixes for NetBSD and PowerPC, and other enhancements.

Performance Optimizations

The performance-focused release delivers on major optimizations across dozens of utilities. Key improvements include:

  • Faster hash maps for improved lookup performance
  • New ASCII fast paths for common character operations
  • Reduced malloc allocations across various commands
  • Safer abstractions replacing unsafe Rust code

Compatibility Status

While the release focuses heavily on performance, compatibility with GNU Coreutils remains a priority. The GNU Test Suite results show:

  • Pass rate increased by 7 tests
  • Skip count increased by 6 tests
  • Fail count increased by 7 tests
  • Overall pass rate dropped from 96.2% to 94.5%
  • 19 new tests added from GNU Coreutils 9.10

This mixed result reflects the ongoing challenge of maintaining compatibility while adding new features and optimizations.

Platform Support

Rust Coreutils 0.7 includes build fixes for:

  • NetBSD
  • PowerPC architectures

These fixes help ensure the project works across a wider range of systems and platforms.

Download and More Information

Downloads and more details on the new Rust Coreutils 0.7 are available on GitHub.

PROGRAMMING

Comments

Loading comments...