Top
Best
New

Posted by nonadhocproblem 15 hours ago

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios(github.com)
248 points | 81 commentspage 3
mgaunard 8 hours ago|
so many rust fanboys in this thread.

Guaranteeing memory safety isn't that useful; guaranteeing correctness is. And no language gives you that.

rhinoceraptor 1 hour ago||
Memory safety is a subset of correctness, as is concurrency safety, integer safety, error handling correctness, and all the other things Rust helps you with.

This is like arguing against seatbelts just because guaranteeing survival in a car crash is impossible.

mgaunard 32 minutes ago||
In practice it eliminates a class of bugs but introduces new, functional ones; typically more.
xeshuman 6 hours ago||
Lean?
59nadir 8 minutes ago||
Or Ada SPARK which is a whole lot more useful from a pure software development perspective (and indeed a whole lot more useful than Rust from a correctness perspective, while also being more battle tested than anything you can layer on top of Rust).
benchleo 10 hours ago||
[dead]
felixmarlowe 10 hours ago||
[dead]
djawlagml 11 hours ago||
[dead]
VeejayRampay 13 hours ago|
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.

garganzol 12 hours ago||
Judging by optics and not by essence is a great way to cultivate illusion.
CableNinja 8 hours ago|||
Id even argue that this is kind of thinking (parent comment, not yours) is a great way to keep the status quo, which is currently hot garbage, and stiffle innovation.

The whole of computing is a shitter of layers and layers of going with what the last guy did. I may or may not use misa77, but i applaud the effort and attempt at innovation.

anonymous908213 11 hours ago|||
You are correct, but I think in exactly the opposite of the way you intended. "Optics" are some person parroting their LLM's ridiculous claim to have improved battle-tested software by 3x with a prompt. "Essence" is actual software used by millions of people in production workloads, working successfully in all manner of environments. Clickbait headlines are optics, not essence.
nonadhocproblem 11 hours ago||
It might do you some good to have an object-level understanding of claims before opining on them. Especially in a field like compression, where most claims are easily falsifiable.
Someone 11 hours ago||
But the most important one often is implicit and harder to falsify: that a compress-decompress cycle will round-trip for every possible input and compression setting.

Having said that this repo has fairly extensive tests for that. See https://github.com/welcome-to-the-sunny-side/misa77/blob/mai.... I couldn’t find them covering all settings, but that may be just me not looking hard enough, and even if they don’t, adding that is easy.

nonadhocproblem 11 hours ago||
I agree but this feels like a bit of a red herring since we're talking about performance here. Imagine trying to design a compression algorithm that's "maximally bad" in this sense. That is, it is extremely performant and correct on most data (it roundtrips), but there's some class of data for which it fails (decompression doesn't produce the original bytes), and fixing the algorithm just for this class of data takes away its performance advantages on most classes of data. In practice, this seems quite hard/weird to do.

Although relatedly, it's definitely possible for claims on performance (instead of correctness) to only hold on certain classes of data.

nullc 4 hours ago||
> this seems quite hard

I dunno, do matching against a hash table and only compare a short fingerprint. It'll be a meaningful speed up, usually be right. Fail in exceptional cases, and lose the performance advantage if you fix it.

squidmaster 7 hours ago||
[dead]