ZLib
A massively spiffy yet delicately unobtrusive compression library. (by madler)
zstd
Zstandard - Fast real-time compression algorithm (by facebook)
ZLib | zstd | |
---|---|---|
51 | 120 | |
6,152 | 24,913 | |
1.6% | 1.3% | |
9.3 | 9.8 | |
3 months ago | 11 days ago | |
C | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ZLib
Posts with mentions or reviews of ZLib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-09-09.
- Which open-source projects are widely used but maintained by just a few people?
-
Design Patterns for C
zlib
- Zlib 1.3.1 Out
-
Vulnerability found after scanning debian 12 bookworm VM
A fix has been checked into the upstream git repo: https://github.com/madler/zlib/pull/843 but a release has not yet been made including it.
-
ZLib VS jdeflate - a user suggested alternative
2 projects | 25 Nov 2023
-
CVE-2023-4863: Heap buffer overflow in WebP (Chrome)
So the real issue here is that the lack of tree validation before the tree construction, I believe. I'm surprised that this check was not yet implemented (I actually checked libwebp to make sure that I was missing one). Given this blind spot, an automated test based on the domain knowledge is likely useless to catch this bug.
[1] https://github.com/madler/zlib/blob/master/examples/enough.c
-
Notes: Advanced Node.js Concepts by Stephen Grider
In the source code of the Node.js opensource project, lib folder contains JavaScript code, mostly wrappers over C++ and function definitions. On the contrary, src folder contains C++ implementations of the functions, which pulls dependencies from the V8 project, the libuv project, the zlib project, the llhttp project, and many more - which are all placed at the deps folder.
- Zlib 1.3 ยท madler/zlib 09155ea
- Zlib 1.3 โ A Spiffy yet Delicately Unobtrusive Compression Library
- Exploring the Internals of Linux v0.01
zstd
Posts with mentions or reviews of zstd.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-07.
-
Why do I find Rust inadequate for text compression codecs?
If zstd give you an error and you don't handle it, the next calls may cause UB, so it kinda does both things.
https://github.com/facebook/zstd/blob/b16d193512d3ded82fd584...
- Zstandard v1.5.7 brings performance enhancements
- Zstandard v1.5.7
-
Lzbench Compression Benchmark
( https://github.com/facebook/zstd/releases/tag/v1.5.6 )
In my opinion, it is better to check the original repository: https://github.com/inikep/lzbench
-
DeepSeek releases Janus Pro, a text-to-image generator [pdf]
This. Even their less known work is pretty solid[1] ( used it the other day and was frankly kinda amazed at how well it performed under the circumstances ). Facebook/Meta sucks like most social madia does, but, not unlike Elon Musk, they are on the record of having some contributions to society as a whole.
[1]https://github.com/facebook/zstd
-
New standards for a faster and more private Internet
I don't think so? It's only seekable with an additional index [1], just like any other compression scheme.
[1] https://github.com/facebook/zstd/blob/dev/contrib/seekable_f...
-
Large Text Compression Benchmark
- latest zstd v1.5.6 ( Mar 30, 2024 https://github.com/facebook/zstd/releases )
-
Current problems and mistakes of web scraping in Python and tricks to solve them!
You may have also noticed that a new supported data compression format zstd appeared some time ago. I haven't seen any backends that use it yet, but httpx will support decompression in versions above 0.28.0. I already use it to compress server response dumps in my projects; it shows incredible efficiency in asynchronous solutions with aiofiles.
-
MLow: Meta's low bitrate audio codec
Zstd is a personal project? Surely it's not by accident in the Facebook GitHub organization? And that you need to sign a contract on code.facebook.com before they'll consider merging any contributions? That seems like an odd claim, unless it used to be a personal project and Facebook took it over
(https://github.com/facebook/zstd/blob/dev/CONTRIBUTING.md#co...)
-
My First Arch Linux Installation
Unmount root and remount the subvolumes and the boot partition. noatime is used for better performance zstd as file compression:
What are some alternatives?
When comparing ZLib and zstd you can also consider the following projects:
LZMA - (Unofficial) Git mirror of LZMA SDK releases
haproxy - HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
zlib-ng - zlib replacement with optimizations for "next generation" systems.
LZ4 - Extremely Fast Compression algorithm
Snappy - A fast compressor/decompressor
brotli - Brotli compression format