logoalt Hacker News

gignicoyesterday at 7:21 PM3 repliesview on HN

> To stress test it, I tasked 16 agents with writing a Rust-based C compiler, from scratch, capable of compiling the Linux kernel. Over nearly 2,000 Claude Code sessions and $20,000 in API costs, the agent team produced a 100,000-line compiler that can build Linux 6.9 on x86, ARM, and RISC-V.

If you don't care about code quality, maintainability, readability, conformance to the specification, and performance of the compiler and of the compiled code, please, give me your $20,000, I'll give you your C compiler written from scratch :)


Replies

chasd00yesterday at 10:18 PM

> If you don't care about code quality, maintainability, readability, conformance to the specification, and performance of the compiler and of the compiled code, please, give me your $20,000, I'll give you your C compiler written from scratch :)

i don't know if you could. Let's say you get a check for $20k, how long will it take you to make an equivalent performing and compliant compiler? Are you going to put your life on pause until it's done for $20k? Who's going to pay your bills when the $20k is gone after 3 months?

minimaxiryesterday at 7:24 PM

There is an entire Evaluation section that addresses that criticism (both in agreement and disagreement).

52-6F-62yesterday at 7:24 PM

If we're just writing off the billions in up front investment costs, they can just send all that my way while we're at it. No problem. Everybody happy.