Get the latest tech news
Rust-Written Zlib-rs Is Not Only Safer But Now Outperforming Zlib C Implementations
Zlib-rs as a Rust programming language implementation of the Zlib file format for better safety is now beginning to outperform the C implementations of the widely-used Zlib.
Some takeaways from that blog post entitled " zlib-rs is faster than C":"As far as we know, we're the fastest api-compatible zlib implementation today for decompression. ... For decompression, the zlib implementation used in the chromium project (found here, which we use via a modified version of libz-sys) is often faster than zlib-ng. We've been chipping away at compression too (shoutout to Brian Pane, who contributed numerous PRs in this area), but see more mixed results."
Or read this on Phoronix