Cloudflare Launches tsrs: Rust Port of TypeScript

Cloudflare introduces tsrs, a Rust port of TypeScript that runs 8x faster with 70% less memory.

Oct 20, 2026

8 cards · 1m 30s · tap to begin

From · · 1m 30s

Cloudflare Launches tsrs: Rust Port of TypeScript

Cloudflare introduces tsrs, a Rust port of TypeScript that runs 8x faster with 70% less memory.

In brief

Cloudflare introduces tsrs, a Rust port of TypeScript that runs 8x faster with 70% less memory. Cloudflare's tsrs, a Rust port of TypeScript, improves speed and memory efficiency for developers. Originally reported by Cloudflare Blog.

Cloudflare and VoidZero Partner

Cloudflare and VoidZero are now working with Max Schwenk of Owner.com on tsrs, a Rust port of the TypeScript compiler.

Collaboration with TypeScript Team

We are doing this work in close collaboration with the TypeScript team and incubating tsrs as part of the Oxc JavaScript compiler toolchain.

Goal of tsrs

Goal of tsrs

Our goal is to help developers spend less time waiting for code checks and more time building.

Performance Improvements

Early benchmarks show tsrs is up to 8x faster and uses ~70% less memory compared to TypeScript 7.0 with the same number of type check workers.

Why Not Fork TypeScript

We are not forking TypeScript and believe the TypeScript team should remain in full control of the language’s design and direction.

Rust Advantages for WebAssembly

Rust Advantages for WebAssembly

Rust’s memory management enables straightforward memory interactions between WebAssembly guest and host, improving memory efficiency for WebAssembly use cases.

Cloudflare Workers Integration

Cloudflare Workers have supported WebAssembly for a long time and now support native Rust with the new Emscripten target for wasm-bindgen.

Maintenance Strategy

We are merging tsc-rs and tsrs into a single package with LSP support and content mappers for full TypeScript compatibility.

At a glance

Cloudflare's tsrs, a Rust port of TypeScript, improves speed and memory efficiency for developers.

Read the original on Cloudflare Blog

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on typescript and related topics.