Need help?
<- Back

Comments (69)

  • orlp
    I'm also working on a better compression algorithm. It decompresses up to 6x faster than zstd while having roughly the same compression ratio and compression speed. Especially the latter misa77 suffers on, e.g. zstd -2 compresses at 350 MB/s on lzbench on AMD (https://inikep.github.io/lzbench/), while misa77 sits at ~10 MB/s for a similar rate.My reference implementation is also written in (almost entirely safe) Rust, which I honestly think is a table-stakes requirement for a new compression algorithm anno 2026. With all the recent attacks on insecure compression implementations I think introducing a new compression algorithm written in a memory-unsafe language is a non-starter.Hoping to have a release-ready version at the end of December, when I have some more time to polish it.
  • weitendorf
    I'm gonna try this later. I just got a 5x (single core, 5MB/s) - 10x (dual core 10MB/s) speedup on brotli in the last few days. It's been really surprising to realize how much storage and traffic bandwidth is going to waste because of unoptimized transit.brotli -11 is so slow nobody probably uses it right now but at 10x speed it actually becomes pretty ok. It's a more efficient encoding than zstd (and gzip by far) at their max compression settings.Haven't got a writeup yet but: https://claude.ai/share/0e8bf6c0-6d64-4a34-8f97-37ccbae19732Brotli/zstd are kind of in a class of their own in my view because of their direct browse integration and support. That's why I focused on brotli specifically. Didn't know so many others on hn were also working on this rn.I actually just did it in x86_64 but if you start there it's trivial to wrap that in C/Go/etc these days. Here's the Go+C shim: https://claude.ai/share/57ddeb9a-36bf-4690-99d5-621147b15a77
  • zX41ZdbW
  • powturbo
    Daily Multiplatform benchmarks available at: https://github.com/powturbo/TurboBench/blob/master/turbobenc...mis77, zxc, zstd, minlz, ...TurboBench Compression Benchmark : https://github.com/powturbo/TurboBench
  • iagiagiag
    Thanks for your work. I have an even more specific need which is to compress billions of very small messages (<200 chars). Zstd is currently giving the best results (ratio ~1:3). Can your algorithm handle that well with a dictionary?
  • kobecupens
    Thats crazy will try it out and compare
  • icauroboros
    Interesting, I was looking for something like this about few months ago for my own "write-once, read-many" case optimized delta based store library https://github.com/icauro/Gutch, but there was not much other than lz4 and zstd. I would like to test it, if there are rust bindings for it.
  • numericOverflow
    >Slow compression is the obvious tradeoff that we make to achieve the above.So what is your observed compression speed penalty vs benchmarks? This is understandable, but please show your counterbalance to achieve these decomp benefits.
  • manlymuppet
    I would like to see more metrics involving time taken for compression.One can always set the preset level in zstd or other similar compressors to high numbers, but the result is usually unusably slow.
  • Someone
    So, is the speedup specific to the compression format or can (parts of) it applied to the zstd code base, too? If so, how much would that speed up zstd? At what cost (CPU load, memory usage)?
  • user20180120
    How does it compare with lrzip ? lrzip is very fast at decompression - bottleneck is the I/O of where you are decompressing to.
  • nukanse
    Compression speed also matters. Level 1 looks good
  • jauntywundrkind
    Openzl by the zstd author also speeding up. https://www.phoronix.com/news/OpenZL-0.3-ReleasedZxc has similar compression but very fast. https://github.com/hellobertrand/zxcCouple others out there too!
  • prymitive
    > write-once, read-many nicheIs that really a niche?
  • atiedebee
    Very cool project, I wonder why levels 4 and 5 decompress slower than 3 and 6?
  • jmakov
    Should probably include PCodec when comparing to others.
  • mgaunard
    so many rust fanboys in this thread.Guaranteeing memory safety isn't that useful; guaranteeing correctness is. And no language gives you that.
  • ramon156
    See, this is good use of AI. all i could spot was a benchmark done by an LLM. This is verify-able and the readme was clear. What a breath of fresh air..
  • benchleo
    [dead]
  • felixmarlowe
    [dead]
  • djawlagml
    [dead]
  • VeejayRampay
    the usual caveat being that this is a project by one dev with a few hundred stars, as opposed to a big project with immense adoption and recognition, backed by a big organization and tons of maintainers.still, good for the author trying to challenge the status quo and best of luck on the long run.