← All IntelClip / AI ToolsBun rewritten from Zig to Rust in an 11-day agent run
From Boris Cherny: We Cut 80% of Claude Code’s Prompt · ≈17:04
A concrete postmortem of a >100k-line cross-language port that shipped to production, and it worked because Bun and Node already had large test suites to verify against.
What’s in it
- A concrete postmortem of a >100k-line cross-language port that shipped to production, and it worked because Bun and Node already had large test suites to verify against.
Clip transcript
the model with every new model generation. And starting with Fable, the model started to be able to do it. And so I think Opus 5 could do it as well. And so what he did was essentially he defined a test suite. The nice thing about Bun is it's very, very well tested. There's a big test suite in Bun, there's a big test suite in Node.js. So, it's easy to know if you did the right thing. And he had the model rewrite it from Zig to Rust. It was one prompt. It was a dynamic workflow. And a dynamic workflows are a feature in Claude Code that essentially let you orchestrate, you know, dozens, hundreds, thousands of agents to do work productively. And it ran for 11 days, and it rewrote the entire code base. >> And this was one shot? >> It was one shot with It was No, it wasn't one shot, but it There was steering. There was steering. Um but previous models just couldn't do this, even even with the steering. It just wouldn't have been possible. >> 11 days? Oh my god. This would have taken in the past even with the best engineers, multiple months, years? >> Over Definitely over a year. >> Yeah. >> Yeah, over a year. This is like over 100,000 Like JavaScript runtimes really complicated. There's There's a lot of stuff in there. Um and yeah, it like it works. This is in production now. This is what Claude Code uses now when when you're running it.
Comments
Sign in to comment.
Loading comments…