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)

253 points by nonadhocproblem 15 hours ago github.com 82 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (10)

  1. I agree that a C++ repo makes it a non-starter for me. processing untrusted user input with new C++ code is just not wise

    I've spent too many years writing C++ to confidently say there is no UB even in code that I painstakingly write and review line by line

    with how good AI is at exploiting code, it seems irrational to add another C++ blob to my stack. indeed, I've already reimplemented complex components (a/v decoders) in Rust/Go just for the additional safety

    Replies (2)
    1. I don't see the big problem. once a compression algo is defined in C++ it can be easily ported to different languages like Rust

      C++ is a totally fine reference implementation

      Replies (2)
      1. Agree with C++ being totally fine for the ref implementation. C would be even better.
      2. How come both you and "spongebobstoes" have the same lack of punctuation as well as lack of capitalization at the start of some lines?

        Is Hacker News fake in general?

        Replies (2)
        1. it's not a super uncommon style choice. we're not the same person
        2. you got me...
    2. Finely enough, for me, it's opposite. In the age of AI, looking at untrusted new Rust code is a waste of time.

      Am I holding it wrong???

      Replies (1)
      1. Yes, "written in Rust" and "written with AI" are orthogonal axes.
        Replies (1)
        1. Not anymore if you judge based on the actual corpus of projects here.
          Replies (1)
          1. That's conflating correlation and causation. People do often use AI to write Rust because the extensive static checks let the AIs have a tighter test loop. It's the same reason AIs are good at using Lean. But Rust was widely used for years before this started being a thing and there's no reason to expect a random Rust project is AI slop more than there is for any other mainstream language.