The alpha, twice a week
That was 4 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
The Pragmatic Engineer · 4 min · Nov 25, 2026
Better models made Rust viable without prior team expertise
Anthropic chose Rust for efficiency and memory safety despite limited team experience.
In this episode
Full analysis- 23:36Shadow traffic made a Rust rewrite verifiable5 min
- 47:10Durable agent harnesses cut latency, risk, and CPU4 min
- 1:33:42Engineers still need to solve the problems agents depend on4 min
- 15:41Better models made Rust viable without prior team expertise4 min
- 41:28The Rust migration made partner teams maintain two implementations3 min
- 59:34Anthropic routes routine code changes around human review3 min
- 1:06:37Claude filters noisy on-call pages before they reach engineers3 min
- 1:24:09Anthropic is testing agent-based alternatives to coding interviews4 min
“because the models had gotten good enough that the implementation details could be more handled by the models.”
Katelyn Lesseat 17:24 · The Pragmatic EngineerTakeaways
- Rust offered high performance with memory safety.
- Models reduced the cost of lacking Rust expertise.
- Engineers used Claude to learn the language as well as write it.
About this segment
Anthropic chose Rust for efficiency and memory safety despite limited team experience. Better models helped engineers write and learn the language, loosening the usual staffing tradeoff.
Katelyn Lesse is a leads platform engineering at Anthropic.
Leads engineering for Claude’s APIs, developer tooling, and product infrastructure.

Gergely Orosz, Host · Host, The Pragmatic Engineer
Spent four years at Uber heading mobile, web and backend teams; shipped part of its payments system.
From “How Anthropic builds software in 2026 with Katelyn Lesse”, Nov 25, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
From the transcript The Pragmatic Engineer publishes with the episode.
- 15:45
Now, okay, you knew you needed something faster, but you could have chosen Go, Java, Rust, C++, C. I'm not going to say assembly, theoretically, but let's not go there. I know we have a bunch of downsides. How did you settle on Rust? I assume that you must have just looked, given the big project, you must have looked at alternatives. Like, what was your kind of guiding principle here?
- 16:08
Yeah, so we actually, and it's funny you say that, we have started building some services in Go. And so really, of all the services that we're running, we've got some Python. Well, now, not really. We've mostly replaced it. We had started to build some new services in Go as soon as, you know, sometime last year, we started to do the classic, like, We have a giant monolith. Let's do more service-oriented architecture.
- 16:28
As we build out new services, what do we want those services to look like? Very classic engineering debates of what do you choose? And Go was chosen at the time because the models were not quite yet in a place where language choice didn't matter at all. You still wanted something that was... Friendly to developers to be able to develop with. And so Go was chosen for being somewhere in a nicer spot on the spectrum of efficiency as well as developer experience.
- 16:54
And then it became interesting because some of the parts of all of anthropic systems that needed to be the most performant, people were reaching for like, we should just go even further, right? And models were starting to get better. And it was maybe OK that we didn't have people in the team who had done a lot of Rust development previously and And we came all the way to Rust as the kind of new age, interesting language that you could choose that would be really efficient and give us all of those wins.
- 17:23
But maybe it was okay that we didn't quite have tons of Rust developers in the room because the models had gotten good enough that the implementation details could be more handled by the models.
- 17:34
Yeah, and I understand, correct me if I'm wrong, that The thing with performance and Rust is taking out assembly because that's chip specific and you would need to rewrite every single time. But outside of that, C++ gives you the most efficiency because you can have pretty much full control over the memory, over how you allocate things at the how. And apparently with Rust, you can have on par with it, but you can be memory safe.
- 17:57
C++ is not memory safe. But in return, you need to understand things like the borrow checker and you cannot do certain things. At compile time, the language stops you. New engineers often get confused because it's a really frustrating thing. And then everything else, all the languages, they have at least one small abstraction layer that will mean that their performance will be slightly worse, but it'll be more developer productive. Is this like...
- 18:19
Yeah, exactly. So I think there was just like a really nice trade-off in there between we were going for the most efficiency that we could possibly get without some of the like, you know, I don't know how many engineers would have quit if we were like, we're doing C++ now, you know? But I think Rust was interesting to a lot of people as something that accounted for some of these trade-offs. And those foot guns that you kind of talked about that can be really frustrating are things that we could rely on models to deal with some of those things for us.
- 18:50
And so there were definitely growing pains at first when we first started doing this. And people didn't really know what they were doing yet. And half the battle is Claude helps you write the code. The other half of the battle is Claude helps you learn And so in that world, I think we found what felt like a good tradeoff. And I think a lot of people on our team would say that faster than they expected to, they got really comfortable with Rust and with developing in Rust.
- 19:15
The same thing happened with Go, by the way. When we first started building in Go, we didn't really have too many people who had done so in the past. We had a couple, but people were really nervous about this. They were like, you know, I was A Ruby developer or a Python developer or whatever it might be. And this was a new language. And even then at the time, a year ago when the models weren't quite as good, people felt like really quickly they were able to get comfortable and kind of learn the paradigms and get started.
- 19:41
And I think that's one of the magical things about these models is people are like, oh, the models are writing all the code. And so it doesn't really matter if you understand all the details. But actually, you can understand the details if you want to. And it's easier to learn them because the models will help you do that part too.