zlib-ng

zlib replacement with optimizations for "next generation" systems. (by zlib-ng)

Zlib-ng Alternatives

Similar projects and alternatives to zlib-ng

  1. rust

    2,831 zlib-ng VS rust

    Empowering everyone to build reliable and efficient software.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. go

    2,267 zlib-ng VS go

    The Go programming language

  4. dolphin

    Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.

  5. stb

    173 zlib-ng VS stb

    stb single-file public domain libraries for C/C++

  6. zstd

    Zstandard - Fast real-time compression algorithm

  7. wuffs

    Wrangling Untrusted File Formats Safely

  8. gitoxide

    An idiomatic, lean, fast & safe pure Rust implementation of Git

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. embassy

    85 zlib-ng VS embassy

    Modern embedded framework, using Rust and async.

  11. unsafe-code-guidelines

    Forum for discussion about what unsafe code can and can't do

  12. ZLib

    51 zlib-ng VS ZLib

    A massively spiffy yet delicately unobtrusive compression library.

  13. Skia

    59 zlib-ng VS Skia

    Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

  14. Bullet

    43 zlib-ng VS Bullet

    Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

  15. libjpeg-turbo

    Main libjpeg-turbo repository

  16. libdeflate

    Heavily optimized library for DEFLATE/zlib/gzip compression and decompression

  17. libspng

    Simple, modern libpng alternative

  18. zlib

    Cloudflare fork of zlib with massive performance improvements (by cloudflare)

  19. Minizip-ng

    Fork of the popular zip manipulation library found in the zlib distribution.

  20. brotli

    33 zlib-ng VS brotli

    Brotli compression format

  21. fpnge

    Demo of a fast PNG encoder.

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better zlib-ng alternative or higher similarity.

zlib-ng discussion

Log in or Post with

zlib-ng reviews and mentions

Posts with mentions or reviews of zlib-ng. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-16.
  • Zlib-rs is faster than C
    10 projects | news.ycombinator.com | 16 Mar 2025
    I'm not sure why people say this about certain languages (it is sometimes said about Haskell, as well).

    The code has a C style to it, but that doesn't mean it wasn't actually written in Rust -- Rust deliberately has features to support writing this kind of code, in concert with safer, stricter code. This isn't bad, it's good. Imagine if we applied this standard to C code. "Zlib-NG is basically written in assembler, not C..." https://github.com/zlib-ng/zlib-ng/blob/50e9ca06e29867a9014e...

  • zlib-ng: zlib replacement with optimizations for "next generation" systems
    2 projects | news.ycombinator.com | 16 Mar 2025
  • Fast-PNG: PNG image decoder and encoder
    9 projects | news.ycombinator.com | 11 Mar 2025
    Looks like it depends on https://github.com/nodeca/pako for the zlib compression.

    > Almost as fast in modern JS engines as C implementation (see benchmarks).

    Impressive, although zlib itself is no longer the bar to beat for zlib, I think that goes to https://github.com/zlib-ng/zlib-ng these days

  • Discord Reduced WebSocket Traffic by 40%
    2 projects | news.ycombinator.com | 20 Sep 2024
    For what it’s worth, the benchmark on the Zstandard homepage[1] shows none of the compressors tested breaking 1GB/s on compression, and only the fastest and sloppiest ones breaking 1GB/s on decompression. If you’re OK with its API limitations, libdeflate[2] is known to squeeze past 1GB/s decompressing normal Deflate compression levels. So asking for multiple GB/s is probably unfair.

    Still, 10MB/s sounds like the absolute minimum reasonable speed, and they’re reporting nearly three orders of magnitude below that. A modern compressor does not run at bad dialup speeds; something in there is absolutely murdering the performance.

    And it might just be the constant-time overhead, as far as I can see. The article mentions “a few hundred bytes” of payload, and the discussion of measurements implies 1.5KB uncompressed. Even though they don’t reinitialize the compressor on each message, that is still a very very modest amount of data.

    So it might be that general-purpose compressors are just a bad tool here from a performance standpoint. I’m not aware of a good tool for this kind of application, though.

    [1] https://facebook.github.io/zstd/#benchmarks

    [2] https://github.com/zlib-ng/zlib-ng/issues/1486

  • Show HN: Pzip- blazing fast concurrent zip archiver and extractor
    2 projects | news.ycombinator.com | 24 Sep 2023
    Please note that allowing for 2% bigger resulting file could mean huge speedup in these circumstances even with the same compression routines, seeing these benchmarks of zlib and zlib-ng for different compression levels:

    https://github.com/zlib-ng/zlib-ng/discussions/871

    IMO the fair comparison of the real speed improvement brought by a new program is only between the almost identical resulting compressed sizes.

  • Intel QuickAssist Technology Zstandard Plugin for Zstandard
    10 projects | news.ycombinator.com | 16 Aug 2023
  • Introducing zune-inflate: The fastest Rust implementation of gzip/Zlib/DEFLATE
    2 projects | /r/rust | 11 Feb 2023
    It is much faster than miniz_oxide and all other safe-Rust implementations, and consistently beats even Zlib. The performance is roughly on par with zlib-ng - sometimes faster, sometimes slower. It is not (yet) as fast as the original libdeflate in C.
  • Zlib Critical Vulnerability
    4 projects | news.ycombinator.com | 14 Oct 2022
    Zlib-ng doesn't contain the same code, but it appears that their equivalent inflate() when used with their inflateGetHeader() implementation was affected by a similar problem: https://github.com/zlib-ng/zlib-ng/pull/1328

    Also similarly, most client code will be unaffected because `state->head` will be NULL, because they (most client code) won't have used inflateGetHeader() at all.

  • Git’s database internals II: commit history queries
    3 projects | news.ycombinator.com | 30 Aug 2022
    I wonder if zlib-ng would make a difference, since it has a lot of optimizations for modern hardware.

    https://github.com/zlib-ng/zlib-ng/discussions/871

  • Computing Adler32 Checksums at 41 GB/s
    5 projects | news.ycombinator.com | 7 Aug 2022
    zlib-ng also has adler32 implementations optimized for various architectures: https://github.com/zlib-ng/zlib-ng

    Might be interesting to benchmark their implementation too to see how it compares.

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 24 May 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic zlib-ng repo stats
19
1,763
9.1
18 days ago

zlib-ng/zlib-ng is an open source project licensed under zlib License which is an OSI approved license.

The primary programming language of zlib-ng is C.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that C is
the 6th most popular programming language
based on number of references?