Our great sponsors
|10 days ago||6 days ago|
|GNU General Public License v3.0 or later||GNU General Public License v3.0 or later|
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.
Rsyncing 20TB locally
2 projects | /r/zfs | 21 Mar 2023
According to these https://github.com/lz4/lz4 values you need around ten (10) quite modern cores in parallel to accomplish around 8GB/s.
Cerbios Xbox Bios V2.2.0 BETA Released (1.0 - 1.6)
2 projects | /r/originalxbox | 31 Dec 2022
8 projects | news.ycombinator.com | 19 Dec 2022
> The downside of lz4 is that it can’t be configured to run at higher & slower compression ratios.
lz4 has some level of configurability? https://github.com/lz4/lz4/blob/v1.9.4/lib/lz4frame.h#L194
There's also LZ4_HC.
I'm new to this
2 projects | /r/androidroot | 28 Nov 2022
Get your bootloader unlocked via Download mode and then obtain your stock firmware, preferably for your current region https://samfw.com (Download mode: CARRIER_CODE). Get the boot image from AP with 7zip, unpack from LZ4 with https://github.com/lz4/lz4/releases (drag and drop), patch with Magisk https://github.com/topjohnwu/magisk/releases/latest, grab the new image, name it "boot.img" and pack it into a .tar with 7zip and flash to AP with odin https://odindownload.com
An efficient image format for SDL
4 projects | /r/gamedev | 28 Sep 2022
After some investigations and experiments, I found out that it was the PNG compression (well, decompression I should say) that took a while. So I've made some experiments using the LZ4 compression library, which is focused on decompression speed, and it turned out to be an excellent solution!
Bzip3 – a better and stronger spiritual successor to bzip2
4 projects | news.ycombinator.com | 10 May 2022
If anyone just cares for speed instead of compression I’d recommend lz4 . I only recently started using it. Its speed is almost comparable to memcpy.
I just took a random screenshot and made it look prettier. [ I don't know if this counts as fanart ]
2 projects | /r/PixelGun | 20 Dec 2021
E: Realtime compression (A good compression library like Zstandard can make a game less than half the size while taking a tiny amount of CPU power when loading stuff. I think thats a pretty worthwhile trade.) (ZSTD github) (LZ4 github)
What's the best way to compress strings?
6 projects | /r/cpp | 29 Jul 2021
lz4 for maximum decompression speed, for data that is often read but rarely written
How to become a tools/graphics/engine programmer
2 projects | /r/gameenginedevs | 23 Apr 2021
Getting lost in material models is tempting. But, at this point you are overdue for working on your own asset pipeline. glTF is great. But, you should learn how to do it yourself. The hardest part will be reading source asset files. The FBX SDK is painful. Assimp isn't great either. Writing your own exporter to your own intermediate text format from Maya or Blender would be good if you are up for it. From whatever source, make your own archive format and binary formats for meshes, animations, textures and scenes. Use https://github.com/lz4/lz4 for compression. You should be able to decompress a list of assets into a big linear array and use them right there with just a bit of pointer fix-up. Minimize the amount of memory you have to touch from start to finish. Data that is going to the GPU (textures, vertex/index buffers) should decompress straight into mapped buffers for fast uploads.
LZ4, an Extremely Fast Compression Algorithm
9 projects | news.ycombinator.com | 27 Jan 2021
I'm not a fan of the stacked bar charts, I like the table of data for "Benchmarks" on the github source page: https://github.com/lz4/lz4
It makes it very clear where LZ4 fits into comparisons with compression speed, decompression speed and compression ratio
Quite OK Image is now my favorite asset format
9 projects | news.ycombinator.com | 18 Dec 2022
A minimal viable Deflate decompressor is not exactly complex, although slower than mainline zlib.
2 projects | /r/Piracy | 5 Nov 2022
ZLibrary not zlib for anyone worried about archiving algorithms. https://zlib.net/ and all the Linux repositories are safe (AFAIK).
Save File Corruption fix? PLEASE HELP
2 projects | /r/SatisfactoryGame | 30 Oct 2022
>The following is my educated guess at what to do next and I am a week-end warrior programmer at best. If someone with more experience comments, I would listen to them over me< If you have no programming experience, this may be a lost cause. It looks like the save file has a header area followed by a list of "zlib" compressed chunks. zlib.net may have a program that can open the save file and let you see the raw information inside it. Something after the header is garbled and it is preventing Save-Editors from decompressing that chunk OR from parsing what is inside of it. If you are lucky, the garbled bit will jump out at you and you can repair it.
Zlib Critical Vulnerability
4 projects | news.ycombinator.com | 14 Oct 2022
These appears to be the relevant changes:
The second commit definitely fixed a null pointer dereference, I am not sure if the CVE is referencing something else that was fixed by the first commit.
Gzip and Brotli Compression Level Estimator
2 projects | news.ycombinator.com | 10 Sep 2022
It is actually possible to estimate the compression level without actually compressing everything again, because different levels use different strategies which can be identified in some cases. zlib in particular has three strategies  and preflate  leverages this to store the deflate stream reconstruction data without much bits.
What does it take to be a good programmer?
2 projects | news.ycombinator.com | 29 Aug 2022
It's still a heap of old school C spaghetti https://github.com/madler/zlib/commit/eff308af425b67093bab25...
Faster zlib/DEFLATE decompression on the Apple M1 (and x86)
2 projects | news.ycombinator.com | 20 Aug 2022
The non-forked zlib hasn't been accepting optimisations: https://github.com/madler/zlib/issues/346
Hopefully changes will be merged from my obscure private fork into four other obscure private forks (zlib-chromium (https://crbug.com/1354990), zlib-ng, zlib-cloudflare, and the one I personally care about, which doesn't take pull requests, zlib-apple), and possibly incorporated into libdeflate. That's the point of the blog post - to help maintainers understand the changes.
Re: Zlib memory corruption on deflate (i.e. compress)
4 projects | news.ycombinator.com | 28 Mar 2022
This seems to be a minor bug, in that it is only triggered using unusual (and rather unlikely) deflate parameters.
But, looking into this bug, I was sort-of interested to see how it was handled. The change log for 1.2.12 (2022-03-27) indicates the issue was resolved ("Fix a bug that can crash deflate on some input when using Z_FIXED"). Yet, in what seems to be the canonical Zlib repository (https://github.com/madler/zlib), I was unable to find a corresponding commit.
None of commits this year (7, so not too hard to review) seem to be particularity meaningful changes, and in particular yesterday's 'zlib 1.2.12' commit seems to only consist of version/copyright updates.
So, does anyone have any idea where to find the commits related to the change log entry? (Note that I'm not disputing the issue is actually fixed, I'm just trying to improve my Github reading skills...)4 projects | news.ycombinator.com | 28 Mar 2022
Ask HN: Single person creations that have stood the test of time
4 projects | news.ycombinator.com | 28 Feb 2022
What are some alternatives?
zstd - Zstandard - Fast real-time compression algorithm
Snappy - A fast compressor/decompressor
brotli - Brotli compression format
LZMA - (Unofficial) Git mirror of LZMA SDK releases
Onion - C library to create simple HTTP servers and Web Applications.
Minizip-ng - Fork of the popular zip manipulation library found in the zlib distribution.
zlib-ng - zlib replacement with optimizations for "next generation" systems.
LZFSE - LZFSE compression library and command line tool