@ryanlpeterman: Thoughts on rewriting your entire codebase to Rust with AI, @charliermarsh (OpenAI & Astral) interesting open questions…
Summary
A tweet thread summarizing an interview with Charlie Marsh (Astral/OpenAI) discussing the challenges and open questions of rewriting entire codebases to Rust with AI assistance.
View Cached Full Text
Cached at: 06/25/26, 01:19 PM
Thoughts on rewriting your entire codebase to Rust with AI, @charliermarsh (OpenAI & Astral) interesting open questions:
• “Maybe you don’t understand the code anymore, right?” • “You’re trading known issues for new unknown issues” • “how do you roll that out safely?” • “How well do they need to understand things at different levels of abstraction?”
Ryan Peterman (@ryanlpeterman): Charlie Marsh (@charliermarsh) is the founder of Astral, the Python devtool startup that was acquired by OpenAI. I inteviewed him about how software engineering is changing and learnings from starting his own company as an engineer.
In this episode:
• Full codebase language
Similar Articles
Learnings from 100K lines of Rust with AI (2025)
A developer shares learnings from building a 100K-line Rust-based multi-Paxos consensus engine using AI coding agents, achieving dramatic productivity gains and performance improvements.
@charliermarsh: At OpenAI, we're continuing to bet on Rust as the future of systems programming. I'm proud to announce that we're makin…
OpenAI announces a $600,000 commitment to the Rust Foundation, including Platinum membership and additional support for maintainer efforts across the Rust ecosystem.
@blackanger: Distilled many good practices from Epic Lora
An experiment on using Rust's type system as an AI coding specification, distilling practices from Epic Lora.
My Thoughts on Bun's Rust Rewrite
An analysis of Bun's controversial rewrite from Zig to Rust using AI-generated code, raising concerns about 6,755 AI-written commits merged without human review and the risks of AI-translated code in production.
I cant decide if Bun's AI-heavy Zig-to-Rust rewrite is the future, or a giant warning sign
Anthropic acquired Bun and used AI agents to rewrite its codebase from Zig to Rust, a massive 1M-line change that passed 99.8% of tests, raising both excitement about AI's potential for infrastructure rewrites and concerns about reviewability, unsafe Rust, and hidden bugs.