If you've ever stared at a loading spinner while waiting for your TypeScript type-checker to finish, you know the pain. TypeScript is the gold standard for type safety, but as projects grow, the compiler can become a bottleneck. Enter tsrs, an experimental effort to bring the power of Rust to the TypeScript ecosystem.
Blazing Speed, Tiny Footprint
Developed through a collaboration between Cloudflare, VoidZero, and Owner.com, tsrs isn't a fork of TypeScript, but a faithful port of the TypeScript 7 type checker. The results are staggering: early benchmarks show it running up to 8x faster than the original compiler while consuming roughly 70% less memory.
By leveraging Rust's efficiency and integrating into the Oxc toolchain, tsrs aims to eliminate the 'compiler lag' that plagues large-scale enterprise codebases.

More Than Just Raw Speed
Beyond the benchmarks, the move to Rust opens new doors for developer experience. Because Rust compiles to WebAssembly (Wasm), tsrs can be executed securely in edge environments like Cloudflare Workers. This means type-checking could potentially happen closer to the deployment pipeline or even directly in the browser.
Interestingly, the project is a port of a Go implementation of the TypeScript compiler, highlighting a broader industry trend of moving critical developer tooling away from JavaScript to systems languages for the sake of performance.
The Road Ahead
While tsrs is currently experimental and incubating within the Oxc project, its existence signals a shift. We are entering an era where the tools we use to write JavaScript are no longer written in JavaScript. Whether tsrs becomes the default for every TS project remains to be seen, but for those craving instant feedback, the future looks incredibly fast.
Sources
Media



