$24,000 AI experiment ports TypeScript compiler to Rust
Developer and YouTuber Theo Browne says AI agents have produced a working Rust port of Microsoft’s TypeScript compiler for about $24,000 in API-equivalent costs. He reports that it runs twice as fast as Microsoft’s Go-based TypeScript 7 and could make it easier to run AI coding agents in environments that use less memory.
The project covers the compiler, type checker and language server, and reportedly passed TypeScript’s conformance tests with nearly 100 per cent accuracy. Browne first spent more than $400,000 in equivalent tokens with earlier models, which reached about 84 per cent compatibility; a newer Claude model completed the implementation by translating Microsoft’s Go version into Rust, carrying over some bugs. Browne argues that running agent workloads through Google’s V8 engine could reduce reliance on virtual machines or Docker containers.
- AI agents built a Rust TypeScript port for about $24,000.
- Browne says it runs twice as fast as Microsoft’s Go version.
- The port could help run coding agents with less memory.
Both sides, in good faith
The strongest fair case each way — we don't pick a winner.
The case for
A Rust port that is reportedly fast, highly compatible and cheaper to run could make TypeScript tooling more efficient, particularly for AI coding agents operating with limited memory. The experiment also suggests that newer AI models can take on substantial software migration work, potentially widening access to projects that would otherwise demand extensive engineering time.
The case against
The reported speed and compatibility results do not by themselves show that the port is ready to replace Microsoft’s compiler in everyday use; production reliability, maintenance and compatibility with future changes would also matter. The project’s API-equivalent cost and performance claims may not capture the full effort or costs of building and validating it, and translating existing code can carry forward its bugs.