Claude Rewrote Anthropic’s Core API From Python to Rust (70% Less CPU)—And Exposed AI Coding’s Biggest Lie
rust
dev.to
Anthropic used Claude agents to port its core Messages API from Python to Rust—slashing CPU usage by ~70% and memory by >80%. Yet the real headline wasn’t speed: Claude wrote the core code in one week, while verifying it took nearly five months. Key Metrics at a Glance Infrastructure Gains: ~70% less CPU per request, >80% lower memory usage, ~20% faster median TTFT Time Allocation: ~1 week (AI code drafting) vs. ~19 weeks (verification, shadow testing & parity) Test Illusion: 9