Cloudflare and VoidZero incubate tsrs, a Rust port of TypeScript
Original title: Introducing tsrs: a Port of TypeScript to Rust
Project benchmarks claim up to 8x speed and about 70% less memory than TypeScript 7.0 with the same worker count.
Cloudflare and VoidZero are working with Max Schwenk of Owner.com on tsrs, a Rust port of the TypeScript compiler incubated in the Oxc toolchain and developed with the TypeScript team. They say it is not a fork and that language design stays with the TypeScript team. An experimental npm package is available, and they plan to merge Theo Browne's tsc-rs with tsrs, including LSP support, while using agents to track upstream changes.
Unconfirmed: Speed and memory figures are the project's own early benchmarks, and a stable release is not yet published.
- They claim TypeScript 7.1 beta is up to 2.5x faster than TypeScript 7.0.
- Some optimizations were upstreamed from tsrs to the TypeScript Go codebase.
- Diagnostic print order still differs from upstream TypeScript.
- A default adaptive configuration uses more memory for higher speed.
- Vendors
- CloudflareVoidZero
- Products
- tsrsTypeScriptOxc
- Organizations
- Owner.com
From the original article
5 min read at blog.cloudflare.com
Cloudflare is collaborating on tsrs, a Rust port of TypeScript that is up to 8x faster and uses 70% less memory.
By Boshen Chen · blog.cloudflare.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.