AMP author rewrote Claude-generated code by hand, cut nearly half the codebase
What happened
AMP is an offline music player written in Zig, born from the author's need to use it while disconnected. Once back online, the author prompted Claude for days on a Claude Max 20x subscription and generated a large amount of code, then found tens of thousands of lines too hard to review. He spent the next four months rewriting line by line and deleted nearly half the codebase. He says the player kept its original features, gained new ones and became more robust. The write-up reached the Hacker News front page on November 14, tracing the path from heavy LLM code generation back to careful review and a leaner implementation.
Written by AI from the coverage · updated 3 days ago
Coverage
Follow the reports to see the story from different sides.
- Hacker News front pageHow Not to Build a Music Player
AMP 作者在用 Claude 生成大量代码后,花四个月逐行重写,删除近半代码库,并称播放器在保留原有功能、增加功能的同时更加稳健。这个用 Zig 编写的离线音乐播放器源于断网期间的需求;恢复连接后,作者使用 Claude Max 20x 订阅连续提示数日,却发现自己难以审查数万行代码。
Heat over time
Heat now 3·Comparable peak 10(Nov 14 09:00)·Comparable change over 24 hours -50%
The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.