tsrs explained: can a Rust port make TypeScript checks 8x faster?
tsrs is an experimental Rust port of the TypeScript compiler from Cloudflare and VoidZero. What the 8x speed and 70% memory claims mean, and how to test it.
Updated 3 min read

In this article
tsrs is an experimental Rust port of the TypeScript compiler, announced by Cloudflare on 20 October 2026. Cloudflare and VoidZero are building it with Max Schwenk of Owner.com, in collaboration with the TypeScript team, and it is incubated in the Oxc toolchain.
Early benchmarks show it up to 8× faster, with about 70% less memory, than TypeScript 7.0 using the same number of type-check workers. These are the authors' benchmarks, and the hardware is not listed.
Sources checked on 26 October 2026. Features, prices and availability can change; confirm the linked primary sources before acting.

What tsrs is, and what it is not
It is a faithful port, not a new language or a fork. The authors say the TypeScript team keeps full control of language design.
The goals are shorter waits for type checks and lower memory use, so full development environments can run in more places, including browsers. A WebAssembly package, @tsrs/wasm, is available. The authors argue Rust suits WebAssembly better than Go because Go's Wasm builds must include its garbage collector.
How tsrs compares with TypeScript 7
TypeScript 7 is Microsoft's official Go port; tsrs is an independent Rust port. The table compares what each project claims.
| TypeScript 7 (Go) | tsrs (Rust) | |
|---|---|---|
| Status | Official compiler | Experimental, no stable release |
| Speed claim | 7.1 beta up to 2.5× faster than 7.0 | Up to 8× faster than 7.0 at equal workers |
| Memory claim | Not stated | About 70% less than 7.0 |
| Output parity | Reference | Known differences, such as diagnostic order |
Some tsrs optimisations have already been contributed back to TypeScript 7.1, so the gap may narrow. By default tsrs uses an adaptive configuration that uses more memory and runs faster still, so match settings when you compare.

Test tsrs against a real monorepo
Run it beside your current checker; do not replace it yet. A side-by-side run shows speed and correctness together.
- On a branch, install the
tsrspackage from npm and runnpx tsrsat the project root, following the repository README for options. - Time cold and warm runs of your current check and of tsrs with the same worker count.
- Record peak memory with
/usr/bin/time -von Linux or/usr/bin/time -lon macOS. - Diff the diagnostics after sorting them, because print order differs.
- Repeat on your largest package, not a small example.

Where tsrs could matter: browser and AI coding environments
Memory, not only speed, decides whether a type checker fits in a sandbox. Browser-based and AI coding environments run many isolated workspaces at once.
A smaller footprint could let an agent type-check its own changes inside a sandbox before proposing them. That depends on output parity, though. Until a stable release, keep the official compiler as the gate in CI.
Our verdict: tsrs is worth a benchmark afternoon for large monorepos, not a CI replacement. Related: upgrading to TypeScript 7. If slow builds are hurting your team, our React and Next.js frontend team can audit them.
Sources and further reading
- A Rust port of TypeScript — Cloudflare
- tsrs repository — Oxc on GitHub
Image credits
Explanatory diagrams: Cloudsoft Zone, CC BY-SA 4.0. Featured photograph: HaeB, CC BY-SA 4.0, via Wikimedia Commons. RustCodeOnScreen: Slashme, CC0, via Wikimedia Commons.
Frequently asked questions
Is tsrs ready for production builds?
No. It is an experimental release with known output differences. Keep the official TypeScript compiler as your CI gate.
Is tsrs a fork of TypeScript?
No. It is a port of the compiler; the authors say the TypeScript team keeps full control of language design.
Can tsrs run in a browser?
A WebAssembly package, @tsrs/wasm, is available, and running toolchains in browsers is one of the project’s goals.
Sources
- A Rust port of TypeScript — Cloudflare, 2026-10-20
- tsrs repository — Oxc on GitHub
Written with substantial AI assistance. Facts checked against cited sources. Editorial policy.
Read next

TutorialDevOps5 min read
Prometheus and Grafana monitoring for Laravel and Node.js applications
Use Prometheus and Grafana to connect private application metrics, host observations and actionable dashboards for Laravel and Node.js production workloads.
New tools, once a week
One short email listing what joined the directory.
Comments
No comments yet. Be the first to join the conversation.
Leave a comment
Every comment is read by a moderator before it appears. Your email address is never published; it is used only to contact you about this comment.
More from Cloudsoft Zone

TutorialDevOps5 min read
Production stack monitoring: nginx, PHP-FPM, MySQL, Redis and queue workers
Build production stack monitoring with private nginx and PHP-FPM status, MySQL connection signals, Redis memory context and queue progress instead of process-only checks.
By Nilesh Kushvaha

TutorialDevOps5 min read
Deployment approval gates: when a production release needs a human decision
Use deployment approval gates for concrete production decisions with artifact identity, migration risk, acceptance evidence and a clear recovery plan before credentials are released.
By Nilesh Kushvaha

TutorialDevOps5 min read
CI/CD secrets: protect production credentials without exposing them to builds or logs
Manage CI/CD secrets with separate verification and deployment authority, short-lived identity where supported, narrow provider permissions and explicit exposure recovery.
By Nilesh Kushvaha