Rars: A Rust RAR Implementation Written Mostly by an LLM

1 views

The open source project Rars implements RAR extraction in Rust, with the author candidly admitting the code was written mostly by an LLM. The project itself is useful, but more interesting is the authorship-and-trust debate it raises.

The Project and Its Confession

The official implementation of the RAR format is closed source, and the open source world has long lacked a clean alternative, so rewriting the extractor in memory-safe Rust is a genuinely useful thing to do. What's special about Rars is that the author wrote "mostly written by an LLM" directly into the project description, hiding nothing. The code compiles, the tests pass, and the format compatibility is decent—by results, it's a competent tool.

What the Discussion Argues About

The debate centers on two points. One is trust: extractors have historically been a hotbed of security vulnerabilities, and a maliciously crafted archive paired with AI code no one has reviewed line by line makes the security-conscious instinctively tense. The other is value attribution: some feel the "written by AI" label cheapens the contribution, while others counter that what the open source world lacks has never been usable code, but the code's bloodline. This project is like a small testing ground—how the open source community digests AI-generated contributions, the rules are being ground out in case after case like this.

via: Hacker News