Cloudflare ports TypeScript to Rust and claims 8x speed with 70% less memory
The experimental tsrs is not a fork, and Cloudflare credits frontier models for making a port like this feasible in days.
Cloudflare's experimental Rust port of the TypeScript compiler claims up to 8x speed and about 70% less memory than TypeScript 7.0, with the code written by frontier models in days.
A TypeScript team member says much of the speed is not language choice, and some of it is already landing in TypeScript 7.1.
What Cloudflare built

tsrs is an experimental Rust port of the TypeScript compiler, built with VoidZero and Max Schwenk of Owner.com, incubated in Oxc, in collaboration with the TypeScript team. The pitch: faster type checks, and Rust compiles to WebAssembly without bundling a garbage collector, unlike Go, which suits browsers and Workers. Install with npm install tsrs.
Diagnostics output order differs from upstream, and Cloudflare plans to merge with tsc-rs. Maintenance will mirror its Vinext approach: agents review upstream changes, run test suites and propose fixes. Benchmarks are Cloudflare's own.
The TypeScript team says the speed is not all Rust
A TypeScript program manager on the team that owns the compiler said the 8x headline hides where the gains came from:
"a lot of the speed does not just come down to language choice, and some of what is going to make TS 7.1 faster and leaner… actually comes from optimizations discovered in tsrs."
An outside check came from a commenter who benchmarked tsgo, ts-rust, tsrs and bun on their monorepo: tsrs "is very memory efficient when bumping up the number of threads", and unlike bun it has incremental checks. The soundness question is sharper. A commenter who read the project's porting notes objected to the arena design:
"It's unsound, the LLM/human is doing the proving. They've hidden unsafe in an abstraction without removing the unsafeness."
If you run tsc in CI, the near-term gain is probably TypeScript 7.1 rather than switching to an experimental, agent-maintained port whose memory model is disputed.
Get breakdowns like this every day
The top Hacker News stories, unpacked — by email, Telegram, or RSS.
Mistral's Voxtral 3 prices speech-to-text at $0.0035 a minute
Four speech models and a voice-agent SDK, with 50+ transcription languages.