AI Weekly Malaysia

Back to items Summaries

Introducing tsrs: a Port of TypeScript to Rust

ID
37416
Status
summarized
Published
20 Oct 2026, 9:00 PM
Fetched
20 Oct 2026, 10:37 PM
Provider
Cloudflare Blog
Category
infrastructure
Original URL
https://blog.cloudflare.com/typescript-rust-port/
Source URL
https://blog.cloudflare.com/rss/

Summary

Score
7.0
Created
20 Oct 2026, 10:37 PM
Tags
Audience
developersvibe_coders

What happened

Cloudflare and VoidZero are collaborating with Max Schwenk of Owner.com on tsrs, a Rust port of the TypeScript compiler incubated inside the Oxc toolchain. Early benchmarks claim up to 8x faster type checking and roughly 70% less memory than TypeScript 7.0 with the same number of check workers, while TypeScript 7.1 beta is itself up to 2.5x faster than 7.0 partly from upstreamed optimizations. It ships as an experimental npm package (`npm install tsrs`, `npx tsrs`), and the authors stress it is a faithful port, not a fork, with the TypeScript team keeping control of language design.

Why it matters

If you run type checks in CI, a pre-commit hook, or an editor on a modest laptop, the claimed 8x speed and ~70% memory reduction versus TypeScript 7.0 is worth a direct A/B test on your own repo rather than trusting the benchmark. Because it is explicitly experimental and tracks TypeScript's own implementation, treat it as a try-it-this-week experiment, not a default switch, and compare against TypeScript 7.1 beta since some of the same optimizations were upstreamed.

Discussion angle

Run tsrs against your own project's type check and compare wall-clock time and peak memory against TypeScript 7.0 and 7.1 beta — then debate whether an experimental port that must chase the reference implementation is safe to adopt for CI, or only for local editor feedback.

Top