All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Building a RAR compressor using LLMs: A 5-week reverse-engineering project

By

davidsong

18d ago· 9 min readenInsight

Summary

A developer documents their experience using LLMs (OpenAI Codex 5.5 and Claude Opus 4.7) to reverse-engineer the RAR compression format and build a RAR compressor from scratch. What would normally take 5 years of work was accomplished in 5 weeks of evenings and weekends, costing roughly £40 in subsidized tokens and producing 55k lines of code. The project pushed the limits of what LLMs can do for complex reverse-engineering tasks, though the author notes the code is "slop" and not particularly fast.

Key quotes

· 3 pulled
A RAR compressor for every version of RAR ought to have taken about 5 years, which is why nobody has ever bothered. Today, it takes 5 weeks of evenings and weekends, clanking OpenAI Codex 5.5 and Claude Opus 4.7, and cost roughly £40 in (heavily subsidised) tokens.
Yes it's 55k lines of slop, no it's not that fast, and it almost earned me an OpenAI ban. But it works.
I've done a few different reverse-engineering projects with LLMs, and figured it's time to push the clankers to their limits.
Snippet from the RSS feed
I’ve done a few different reverse-engineering projects with LLMs, and figured it’s time to push the clankers to their limits.

You might also wanna read