Raw SignalOct 20, 20261 min read1 source

Introducing tsrs: a Port of TypeScript to Rust

In one minute

Cloudflare, VoidZero, and Max Schwenk of Owner.com are collaborating on tsrs, a Rust port of the TypeScript compiler incubated within the Oxc JavaScript toolchain and developed closely with the TypeScript team.

What changed: Cloudflare is introducing tsrs, a TypeScript-to-Rust port; the prior documents cover Rust tooling and Cloudflare's Rust Workers support, not this project.

Cloudflare says early benchmarks show tsrs up to 8x faster and using about 70% less memory than TypeScript 7.0 when both use the same number of type-checking workers. The post also notes that TypeScript 7.1 beta is already up to 2.5x faster than 7.0, and that some optimizations from tsrs have been upstreamed. The project is not presented as a TypeScript fork: the TypeScript team retains control of language design and direction, while tsrs must track its implementation decisions to remain compatible. These are early benchmark claims, not a guarantee of equivalent gains across projects or configurations.

Evidence / sources

  1. 1blog.cloudflare.com/typescript-rust-port
All Raw Signals

Next reads

Read next

Open the graph
  1. 01archiveRaw SignalsOpen every source-linked raw signal.
  2. 02source ledgerSource LedgerInspect the public source evidence graph.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract