Cloudflare's tsrs ports the TypeScript 7 type checker to Rust, built for WASM
Cloudflare, VoidZero and Owner.com's Max Schwenk released an experimental Rust port of the TypeScript 7 type checker and language server. Cloudflare says it is up to 8x faster than Microsoft's Go-based TypeScript 7.0. One outside test measured 5.3x.
Frank Chu found byte-identical emit on 400 files, but on type errors tsc exits 1 and tsrs exits 2.
On October 20, 2026, Cloudflare announced tsrs, an experimental Rust port of the TypeScript 7 type checker and language server, meant as a drop-in replacement. Cloudflare and VoidZero work on it with Max Schwenk of Owner.com, and the project is incubated in the Oxc project.
The baseline is not the old JavaScript compiler. Microsoft already ported TypeScript to Go, and Cloudflare's post says that port made TypeScript 10x faster than the version written in TypeScript. tsrs is measured against TypeScript 7.0, the Go port. Cloudflare also says TypeScript 7.1 beta is up to 2.5x faster than 7.0, partly from optimizations upstreamed from tsrs. VoidZero, the company behind Vite and Oxc, joined Cloudflare on June 4.
The reason is WebAssembly, not only speed
Cloudflare's argument is about where a type checker can run. "When you compile a Go program to Wasm, you have to compile Go's garbage collector along with it," the post says. Rust needs no bundled collector. The targets it names are the browser, Cloudflare Workers, and development toolchains running end to end in a fully sandboxed environment on Cloudflare. The npm packages are `tsrs` and `@tsrs/wasm`, the second a `wasm32-wasip1` build.
8x from Cloudflare, 5.3x from an outside test
Source Speed vs TypeScript 7.0 Memory Conditions
Cloudflare up to 8x faster ~70% less same number of
(vendor claim) checker workers
Frank Chu, dev.to 5.3x median 72% less 400 synthetic files,
(independent) peak RSS 2 vCPU VM, 3 runs
Cloudflare's adaptive default is faster still but uses more memory.
Chu compared tsrs 0.18.0 (tracks TS 7.1 dev) with typescript 7.0.2.Frank Chu's test on dev.to is the only outside number so far. He could not reproduce 8x and notes that his comparison is not same-version. His four seeded errors matched in file, line, column, code and message, and `diff -rq` found zero differences across 400 emitted files. One thing did differ: in his seeded-error run, tsc exited 1 and tsrs exited 2. Chu calls it "the one real divergence" he found, ties it to no flag or setting, and notes he tested a dev build, 0.18.0-ts7.1.0-dev.
Agents track upstream every morning
Cloudflare says it will maintain tsrs with the process it uses for Vinext, its Next.js-compatible project: agents review upstream changes each morning and open tracking issues, and a compatibility matrix is regenerated nightly. The post says frontier models "can now do large-scale ports almost independently in a matter of days." It does not say exactly how tsrs itself was written. The repository credits Schwenk for the port and Owner.com for sponsoring the initial work, and it ships an `AGENTS.md`. The New Stack headlines it as a port "written by agents, for agents."
Cloudflare says it works in close collaboration with the TypeScript team, and the repo says it is "not affiliated with or endorsed by Microsoft." It is Apache-2.0, a derivative of Microsoft's TypeScript, with about 1.8k stars and 1,922 commits as of October 22. The README says pull requests "remain closed" because the team does not have the bandwidth to review them, so the repo does not take outside pull requests; the issue tracker is open for bug reports. Cloudflare plans to merge tsrs with Theo Browne's tsc-rs and to contribute speedups back to the Go codebase.
What is missing
The last published release is 0.18.0, and the 0.19.0 candidate targets TypeScript 7.1-beta. `--init` and `--showConfig` are not supported, and diagnostic ordering can differ from upstream. The repo states a goal of 100% conformance against TypeScript 7.1 but publishes no measured conformance percentage.
Why a build studio cares
Our take: our builds are TypeScript, and our own site is a Next.js static export on Cloudflare Pages, so a faster checker would shorten a step we run on every commit. The exit code Chu found is what we would test first. A CI script that treats any non-zero code as failure will not notice the change, but one that checks for exactly 1 will treat a failed type check as some other error. The WASM build matters more for agent builds: a type checker that runs inside a sandbox lets an agent check its own code without a full Node toolchain.
Next step: on a branch, run `tsrs` next to TypeScript 7 on your largest project and compare three things: diagnostics, emitted files and exit codes. The tsrs repository lists the unsupported flags. If your results differ from Cloudflare's, we would like to see them at hello@gattyworks.com.