Skip to content
NewA calmer, faster ZeroHour
Otherinfo

Cloudflare and VoidZero incubate tsrs, a Rust port of TypeScript

Original title: Introducing tsrs: a Port of TypeScript to Rust

Cloudflare Blogby Boshen Chen ()5 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

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.

Key facts
  • 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.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

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.

Cloudflare Blog

By Boshen Chen · blog.cloudflare.com

Read the full article at Cloudflare Blog

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.