
Introducing tsrs: a Port of TypeScript to Rust
Cloudflare says it and VoidZero are working with Max Schwenk of Owner.com on tsrs, a Rust port of the TypeScript compiler, incubated in the Oxc JavaScript toolchain and developed in close collaboration with the TypeScript team.
The company says it is not forking TypeScript. The TypeScript team stays in charge of the language, and the port must strictly follow the original implementation to stay compatible.
In early benchmarks with the same number of type-check workers, tsrs was up to 8x faster than TypeScript 7.0 and used about 70% less memory. Cloudflare notes that the TypeScript 7.1 beta is already up to 2.5x faster than 7.0, partly thanks to optimizations upstreamed from tsrs.
Key points
- Up to 8x faster, ~70% less memory than TypeScript 7.0 (early benchmarks)
- Not a fork: the TypeScript team keeps control
Summary written by Readthrough from the original article. The full story, with photos and any updates, is at Cloudflare Blog.



