By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Rust-Written Zlib-rs Is Not Only Safer But Now Outperforming Zlib C Implementations
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Rust-Written Zlib-rs Is Not Only Safer But Now Outperforming Zlib C Implementations
Computing

Rust-Written Zlib-rs Is Not Only Safer But Now Outperforming Zlib C Implementations

News Room
Last updated: 2025/02/25 at 7:54 AM
News Room Published 25 February 2025
Share
SHARE

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.

Zlib-rs 0.4.2 was released last week and notes in the release announcement:

“Lots of performance improvements. We’re now substantially faster than other implementations for inflate (decompression), and faster in the most important cases for compression.”

The Trifecta Tech Foundation that develops Zlib-rs also put out a lengthy blog post today that outlines the performance improvements over Zlib C implementations, including both zlib-ng and the Chromium zlib implementation.

Zlib-rs benchmark

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. Not only do we beat zlib-ng by a fair margin, we’re also faster than the implementation used in chromium.
…
We’re now significantly faster than zlib-ng for all but the smallest chunk size. A chunk size of 2^4 = 16 bytes is very unlikely to be relevant for performance in practice because the input can just be buffered and then decompressed in larger chunks.

We are however significantly faster than zlib-ng at the more relevant chunk sizes: well over 10% for inputs of 1kb, and over 6% for inputs of 65kb.
…
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. However, we also beat it at this benchmark for the most relevant chunk sizes.
We’ve been chipping away at compression too (shoutout to Brian Pane, who contributed numerous PRs in this area), but see more mixed results.”

Some impressive results and promising outlook for Zlib-rs while continuing to retain Zlib API compatibility. The project is hoping to raise €95k in funding to complete additional performance and packaging work.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Everyone is sleeping on this epic Apple Watch SE 2 deal
Next Article New leaks suggest Samsung’s Z Fold 7 is getting much thinner
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Cybersecurity in ERP: Protecting Business Data in the Age of Rising Threats
News
VPN Company Cancels ‘Lifetime’ Plans for Customers Who Alredy Paid for the service
Software
CoinACE Unlocks Early Access for Next‑Generation Crypto Simulation Trading | HackerNoon
Computing
Jamie Lee Curtis AI video taken down after she appeals to Zuckerberg directly
News

You Might also Like

Computing

CoinACE Unlocks Early Access for Next‑Generation Crypto Simulation Trading | HackerNoon

4 Min Read
Computing

TikTok challenges US law forcing owner ByteDance to sell or face nationwide ban · TechNode

1 Min Read
Computing

How to Insert a Calendar in Google Sheets |

14 Min Read
Computing

Which Feature Selection Method Performs Best with Changing Data Sizes? | HackerNoon

8 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?