How did Anthropic rewrite the API all Claude tokens from Python to Rust, why did eng teams remove…
@GergelyOrosz370K followers
42,252 views
12 Comments
Comments from the original post on X (Twitter)

@petergyang
@katelyn_lesse I know nothing but is Rust the final boss of programming languages? :) I still alot of "rewrite to rust" projects
2 likes

@GergelyOrosz
@katelyn_lesse Rust or Assembly Assembly gets the best possible performance on a specific chipset Rust gets you pretty darn close and is chipset independent - similar perf as C++ but memory safe and very good compiler validation loops Ofc I have a podcast
4 likes

@petergyang
@katelyn_lesse It's funny because I think having human readable code is becoming less important over time? Like Python was designed to be the simplest language for humans to learn but I guess that doesn't matter much anymore.

@DatLilShot
@katelyn_lesse Cant wait to watch tn
1 like

@rockatanescu
@katelyn_lesse I've seen @katelyn_lesse in a number of interviews and she's a breath of fresh air in this AI space. Really looking forward to listening to this episode!
1 like

@Ilsb5h
@katelyn_lesse Adding this to my queue
1 like

@ahmadfiazjan
@katelyn_lesse devs building more internal tools matches my week. i don't insist on writing features myself anymore, i write the skills and commands that run the agents

@daniiie7
@katelyn_lesse the number from their eng blog that stuck with me: rust passed ~98% of the tests in april, but only about 1 in 4 production inputs matched python and when they audited the ported tests they found 100+ weakened assertions

@ronchumaceiro
@katelyn_lesse the internal tools one is the sleeper. once building a tool costs less than the meeting about which saas to buy, everyone just builds

@JamesPelton18
@katelyn_lesse The internal tools part matches what I see. I run 25 agents on my business, and every one of them is an internal tool nobody else will ever use.

@null0x
@katelyn_lesse Key line: "as long as you can really boil something down to make it verifiable." With ~20% read closely, verification carries the review. Shadow traffic tests what production sends, not what an attacker would. Rare error paths may never show up. Did the episode cover those?

@whyNexqor
@katelyn_lesse the python-to-rust rewrite is less about speed and more about predictable tail latency when you serve a single tokenizer under millions of concurrent streams