Hacker News new | ask | show | jobs
by esafak 38 days ago
> It’s sloppy, it’s slow, it’s almost two megabytes in size and somewhat worse than WinRAR on compression.

As mathematicians say, optimization is left as an exercise to the reader. You did the hard part.

1 comments

I mean, not really...? A vibecoded mess that runs badly, that's not really the hard part for something like compression/decompression tools.
What's your easy way of reverse engineering every previous version of this file format, if you don't think that was the hard part?
Wouldn’t previous human-coded implementations already be in LLMs’ training sets? OP article even mentions a number of previous implementations. And even recent LLM “clean room” designs seem to gloss over how the final LLM implementer still has access to previous implementations’ code.

Still, OP claims to have done the best job to date at creating (via AI) specs, and the non-optimal Rust implementation, so a net gain?

I don’t believe any of the extant open source rar implementations cover the range of features and versions OP’s does. I think that’s the point - OP’s isn’t the cleanest or fastest implementation, but it is the most broad open source version available.