Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios (opens external site)

246 points by nonadhocproblem 14 hours ago github.com 81 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. How is it possible to hack some code that calls zstd::decompress on a bounded buffer? I am genuinely confused by this, but a lot people wrote this here so I assume there is some problem with it.

    Is this kind of like OpenSSL being terrible but the crypto libraries being good?

    Replies (1)
    1. The problems are not usually with the compression libraries themselves, but rather the users of the libraries.

      Things like MongoBleed (CVE-2025-14847), are what I am thinking of.

      Replies (1)
      1. People going crazy about writing compression libraries in rust are hallucinating then.

        I think this is the same in crypto as all crypto primitive libraries are ASM/C and they are really solid compared to something like OpenSSL