Anthropic cut CPU use ~70% porting Messages API from Python to Rust, with Claude writing much of the code
nicolascraske · x · 2026-11-26
Per Anthropic's engineering blog, migrating the Messages API from Python to Rust cut per-request CPU usage by about 70% and memory usage by more than 80%, with median time to first token down 20%. The service stayed online throughout the switch, and Claude wrote much of the migration code.
More from coding & agent
- Laude Institute open-sources TracePress for analyzing gigabytes of agent traces — CShorten30 · 2026-11-26
- A one-line prompt reveals Claude's reasoning effort values, akin to OpenAI's juice — legit_api · 2026-11-26
- Google forces agents onto MCP; Cloudflare's Kenton Varda argues REST APIs are effectively deprecated — andersonbcdefg · 2026-11-26
- Visual course walks through Gemini 4 Neon in Antigravity: Orchestrator, rules and planning — damnGruz · 2026-11-26
- VCs race to hire AI engineers: most on the job under 6 months, building MCP-native funds — film_girl · 2026-11-26
- GitHub Devs: AI Is a Tool, Not a Crutch — Pass the Close-the-Chat Test — 0xkarasy · 2026-11-26