Faster bzip2 in Rust: Cross-Compilation Made Easy

2025-06-17
Faster bzip2 in Rust: Cross-Compilation Made Easy

The newly released bzip2 0.6.0 uses a Rust implementation (libbz2-rs-sys) by default, resulting in significant speed improvements for both compression and decompression, and simplified cross-compilation. This work addresses the continued reliance on bzip2 in many projects, with the Rust version offering solutions to longstanding compilation issues such as WebAssembly compilation and Windows/Android compatibility. Benchmark tests show that the Rust implementation generally outperforms the C implementation, and a Miri security audit ensures code reliability.

Read more
Development

Ubuntu 25.10 to Ship with Memory-Safe sudo-rs by Default

2025-05-06
Ubuntu 25.10 to Ship with Memory-Safe sudo-rs by Default

Canonical announced that Ubuntu 25.10 will default to sudo-rs, a memory-safe replacement for the widely-used sudo utility written in Rust. This move aims to enhance Ubuntu's security and maintainability. Developed by the Trifecta Tech Foundation, sudo-rs addresses memory safety concerns inherent in traditional C-based sudo implementations. This change will be carried forward to Ubuntu 26.04 LTS, ensuring long-term security and stability.

Read more
Development

zlib-rs 0.4.2 Released: A Blazing Fast Compression Library

2025-03-16
zlib-rs 0.4.2 Released: A Blazing Fast Compression Library

zlib-rs 0.4.2 is out, boasting significant performance improvements! It's now (to our knowledge) the fastest API-compatible zlib implementation for decompression, and outperforms the competition in key compression scenarios. This release leverages clever multiversioning and DFA optimizations to efficiently select the optimal implementation at runtime, leading to dramatic speed gains. Benchmarks show zlib-rs significantly outpacing zlib-ng and zlib-chromium in decompression. While further compression performance improvements are planned, zlib-rs is already exceptionally fast and is seeking funding to complete the remaining work.

Read more
Development compression library