Hacker News new | ask | show | jobs
by nasretdinov 82 days ago
Using zstd for binary diffs is something I would never expect. I wonder how it compares to e.g. the library that Chrome uses: https://blog.chromium.org/2009/07/smaller-is-faster-and-safe... (this is from 2009 so maybe they made it better since)
2 comments

Our updates are not only code, since it's a game, its mixture of game assets( textures, sounds, large json files... ) and code. Zstd is pretty good all around. For pure code updates, I'd probably evaluate code compressions rather than zstd; I know there is an ecosystem of those out there.
They moved on to Courgette, then to Zucchini: https://chromium.googlesource.com/chromium/src/+/HEAD/compon...

These are optimized for compiled code though.