ts-rust: An LLM Rewrote the TypeScript Compiler in Rust
Theo Browne's ts-rust ports the entire TypeScript compiler, checker and language server to Rust, built by AI agents. The $400,000 lesson, the three-compiler showdown, and why passing tests no longer prove a human understands the code.
Amir Ali Liaqat · Founder & CEO, DesignsToDeploy

This week, the biggest story in developer tools is not a framework release. It is a compiler written by AI. Theo Browne, the creator behind T3 Chat, pointed AI coding agents at one of the hardest porting jobs in software: the entire TypeScript compiler, type checker, and language server, rewritten in Rust. The project is called ts-rust (also known as tsc-rs), and it just hit the front page of Hacker News.
Why does this matter? The TypeScript compiler is the tool every TypeScript developer waits on, dozens of times a day. Faster type checking means faster editor feedback, faster CI pipelines, and cheaper builds. And ts-rust is reported to be dramatically faster than the compiler we all use today.
The $400,000 Compiler Lesson
The money story is the part nobody expected. Theo reports burning over $400,000 in API tokens across five months, with agents producing 1.3 million lines of Rust that never got past roughly 84% compatibility. Then he switched models. The new model produced a working v0 in 10 hours, and the finished port took about two weeks and $24,000.
Read that again. The expensive attempt failed. The cheap one landed. The lesson is not that AI agents are magic. It is that the same task can be impossible and then trivial depending on which model you point at it. Agent capability is not one number, and the model you pick decides everything.
“I've never read a line of this code.”
— The ts-rust README, in the author's own warning
Three Compilers, One Language
There are now three TypeScript compilers. tsc 6 is the JavaScript original: single-threaded, garbage-collector bound, the baseline everyone waited on. tsc 7 is Microsoft's official port to Go, stable since July 2026, with Microsoft reporting 8 to 12 times faster full builds. And tsc-rs is the AI-built Rust port, with the author reporting up to 13 times faster checks than tsc 6 on his own benchmarks, even beating the Go version on his codebases.
A fourth contender arrived at the same time: Bun's bun check, a native TypeScript checker built into the Bun runtime, also written in Rust. On the author's benchmarks it was the fastest of all. The honest framing, which Theo himself published, is that each tool wins on different codebases. Benchmarks are reported figures on specific projects, not universal guarantees.
The Catch: Nobody Read the Code
Here is the part that makes this story bigger than a speed benchmark. The ts-rust README carries the author's own warning: this is an early release, not a full replacement for tsc, and he has never read a line of the code. A reported 181,711 ported tests pass, which is genuinely impressive. But passing tests prove behavior, not understanding.
That is the real story. An agent writing a compiler does not mean the compiler is wrong. It means you cannot take its correctness on vibes. If you run tsc-rs on your repository today, the review burden lands on you. You become the reviewer of code no human has read.
What It Means for Your Team
Compiler speed is now a solved problem. The bottleneck moved from waiting on tsc to reviewing what agents ship. Practically speaking, most teams should not switch their CI pipelines today: tsc 7 and bun check are supported, fast, and reviewed by humans. tsc-rs is worth watching if you run an Effect-heavy codebase or want a WASM-capable checker, but it is not ready to sit next to your deploy step.
The deeper lesson applies to every team using AI coding agents: passing tests are no longer proof that a human understands the code. Review discipline is the new engineering work. That is the rule we build by at DesignsToDeploy: AI agents write, senior engineers review, and every shipped line is owned by a human. AI writes the code. We make sure it ships right: www.designstodeploy.dev
1 / 6Keep reading

Top 5 Web Hosting Providers for 2026
The right hosting makes your website faster, safer, and more reliable. Here are five popular providers worth comparing in 2026 — plus what to look for before you buy.
Read article
AI Agents Now Write Half the Code: What the JetBrains 2026 Survey Means for Your Business
JetBrains surveyed 15,000+ professional developers and found 47% of code is now fully generated by AI agents. Here is what the agent-coding shift means for teams, tools, and your next project.
Read article
Vinext 1.0: Next.js Apps Can Now Run on Vite. What It Means for Your Team
Cloudflare shipped Vinext 1.0, a production-ready reimplementation of the Next.js API on Vite, freeing Next.js apps to deploy to Workers, Node, Vercel, Netlify, AWS, or Deno. What it supports, the honest fine print, and what we recommend.
Read article