Type checking large TypeScript codebases remains one of the slowest bottlenecks in modern development loops. Cloudflare and VoidZero have partnered with the community to incubate tsrs, a complete port of the TypeScript type checker to Rust within the Oxc compiler toolchain.
Early performance benchmarks demonstrate that tsrs runs up to eight times faster while cutting memory consumption by roughly seventy percent compared to TypeScript 7.0. Crucially, the team is deliberately avoiding a permanent language fork. They are working in direct coordination with the official Microsoft TypeScript team, upstreaming architectural optimizations directly into TypeScript 7.1 where applicable.
Writing compilers in Rust is not merely about raw execution speed. Reducing memory footprints by seventy percent fundamentally expands the execution boundary, enabling high fidelity type checking directly inside serverless edge workers and lightweight developer environments.







