Migrating Our Messages API to Rust

https://www.anthropic.com/research/migrating-api-to-rust

Comments

dzongaNov 25, 2026, 10:17 PM
the era of 'productivity gains' using dynamic languages is over.

now it's simply a matter of having agents write as close to the metal as they can for performance, the wider ecosystem of libraries (which can also be ported over) to more performant languages.

if humans are not reading the code does readability matter ?

nextaccounticNov 26, 2026, 4:19 AM
Readability makes agents waste less reasoning tokens to understand the code. Not caring about this is exactly the same mistake devs made when using slow languages, partially undoing the gains in performance in the underlying hardware
another_twistNov 26, 2026, 1:50 PM
"is exactly" ? Hmm, was this written by an AI. Overconfident claims without numbers seems to be a thing with the chat session based AIs.
nextaccounticNov 29, 2026, 1:24 AM
No. But yeah my English is sometimes awkward, it's not my first language

Anyway I'm comparing because hardware had substantial gains in the 90s and 2000s that were partially countered by the tendency of software developers to take the lazy path and write inefficient software.

And I see this same tendency towards laziness being repeated with agentic coding: people are not caring about producing 100k LOC beasts, when actually this makes the job harder on agents (more tokens to read, which means context window fills up faster, which means more frequent context compaction which lose details, etc)

My point is that caring about code quality (of which readability is a metric) is important for agents too

atorniNov 26, 2026, 2:49 AM
[dead]
curt15Nov 25, 2026, 11:42 PM
If humans are not reading the code, what are they doing besides pulling a lever? How long until whatever minimal monitoring they still perform is also automated by "supervisor agents"?
derwikiNov 26, 2026, 4:23 AM
Humans should be reviewing the verification that the code is doing what it’s intended to do.
flemhansNov 26, 2026, 12:27 AM
For us, that lever is already often : agree with your recommendations, continue
1homsiNov 26, 2026, 2:16 PM
[dead]
pier25Nov 25, 2026, 10:55 PM
Makes you wonder why they even use Bun at this point. Claude Code could be 100% Rust.
pohlNov 26, 2026, 1:20 AM
Meanwhile, ChatGPT.app was written in rust, but it’ll be end-of-lifed in January, replaced with Codex, an Electron app.
iknowstuffNov 26, 2026, 5:23 AM
They just hinted at a native rewrite on twitter
derwikiNov 26, 2026, 4:22 AM
Will would it be more or less than 10 GB if they rewrote in Rust?