May 22, 2026

Compressed drama, decompressed ego

Comparing an LZ4 Decompressor on Four Legacy CPUs

Old game chips enter the speed wars as readers cheer the no-brakes chaos

TLDR: A retro developer compared how four old processors unpack compressed game data, turning a niche coding exercise into a showdown over clever design on tiny machines. Readers loved the "full throttle" approach: the big reaction was admiration for making old hardware go fast by cutting extra checks.

A hobby programmer took a very long, very nerdy victory lap through an unlikely showdown: which old-school computer brains are best at quickly unpacking squished game data. The article compares versions of the same LZ4 decompressor—a fast way of shrinking files and expanding them again—running on classic processors from vintage machines like the Super Nintendo, Sega Genesis, and other retro systems. On paper, it’s a dry assembly-language deep dive. In the comments? People treated it like a tiny action movie about ancient hardware refusing to retire.

The loudest reaction came from readers who were weirdly delighted by the article’s core trick: designing things so the code can blast ahead without constantly stopping to check itself. Commenter msephton summed up the mood with a line that sounds like it belongs on a movie poster, calling it a "tough but fun read" and praising how the restrictions let everything go "full throttle." That became the accidental meme of the thread: less careful bookkeeping, more pedal-to-the-metal decompression.

The hot take bubbling underneath is that constraints can be more exciting than convenience. Instead of modern bloat, readers seemed charmed by the author squeezing clever results out of tiny, fussy machines from decades ago. There isn’t huge bloodsport-level drama here, but there is a deliciously nerdy tension: some people live for this kind of painstaking comparison, while others will absolutely hear "four versions of the same routine in old assembly code" and run for the hills. Either way, the community vibe was clear: this is retro computing as a stunt, and the stunt landed.

Key Points

  • The article traces the author’s LZ4 decompressor work from an initial SNES cartridge-space problem to implementations across several legacy CPUs.
  • Earlier implementations targeted Motorola’s 6809 and 68000 for projects involving the Tandy Color Computer and Sega Genesis.
  • Recent work added versions for the Z80, Intel 8080, Intel 8086, and 6502, with the Z80 implementation serving as a direct influence on the others.
  • The article is structured to review LZ4, explain the author’s format restrictions or variations, and compare how different CPUs handle the decompression task.
  • It explains that LZ4 sequences combine literal runs and backreferences, with lengths encoded in a token byte and backreferences represented by a two-byte little-endian value.

Hottest takes

"tough but fun read" — msephton
"no need to do any expensive if-tests" — msephton
"go full throttle" — msephton
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.