TL;DR
Cloudflare, VoidZero and Max Schwenk of Owner.com are working on tsrs, an experimental Rust port of the TypeScript compiler, in collaboration with the TypeScript team and within the Oxc toolchain. Cloudflare reports early benchmarks of up to 8x faster performance and about 70% less memory than TypeScript 7.0 under matched worker settings; the project is not a fork and is not yet a stable release.
Cloudflare, VoidZero and Max Schwenk of Owner.com are developing tsrs, an experimental Rust port of the TypeScript compiler, in close collaboration with the TypeScript team. Cloudflare says early tests show up to 8x faster performance and about 70% less memory use than TypeScript 7.0 in a matched configuration, while emphasizing that the project is intended to follow TypeScript’s design rather than replace or fork it.
Get the latest gadgets delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
The project is being incubated within the Oxc JavaScript compiler toolchain. Cloudflare says the aim is to reduce the time developers spend waiting for type checks and make development tools practical in more constrained environments, including browsers. An experimental package can be installed from npm as tsrs; the blog gives the commands npm install tsrs and npx tsrs.
Cloudflare describes the performance figures as early benchmarks, not a general guarantee for every project. The comparison was made against TypeScript 7.0 using the same number of type-check workers, and the company says it worked with the TypeScript team to align configurations. Cloudflare also notes that TypeScript 7.1 beta is already up to 2.5 times faster than TypeScript 7.0 in its comparison, with some optimizations contributed from tsrs. The blog cautions that tsrs’s default adaptive configuration may use more memory in exchange for higher speed.
Cloudflare says it is working with Theo Browne to combine tsc-rs and tsrs into one package intended to support TypeScript features including the Language Server Protocol and content mappers. It also acknowledges current compatibility differences, including the order in which diagnostics are printed, and says those differences should be reduced before a stable release.
Faster Checks in Smaller Environments
Type checking speed affects feedback during everyday coding, but the project’s stated ambition reaches beyond faster local builds. A smaller memory footprint could make it easier to run a development toolchain inside a browser, Cloudflare Worker or other restricted environment. Cloudflare argues that Rust’s WebAssembly support and memory model are well suited to these uses, where bundling a runtime and garbage collector can add constraints.
That could matter for developers using remote or browser-based workspaces, and for agent-driven coding systems that need to inspect, check and build projects in isolated environments. These are potential uses described by Cloudflare, not demonstrated outcomes for every deployment. The benchmark results remain early, and practical value will depend on compatibility, workload, and how the port performs outside the reported test configuration.
The collaboration also has implications for the TypeScript ecosystem. If performance work in tsrs can be adapted upstream, TypeScript users could benefit without adopting a separate compiler. Cloudflare says it intends to contribute relevant improvements to the TypeScript Go codebase, while keeping decisions about language behavior with the TypeScript team.
Products Worth Considering

Bose TV Speaker Compact Soundbar with Bluetooth and HDMI-ARC, Black

Logitech MX Master 4 Ergonomic Wireless Mouse with Haptic Feedback, Graphite

Bose TV Speaker (2nd Gen) Compact Soundbar
As an affiliate, we earn on qualifying purchases.
A Port Tied to TypeScript’s Direction
TypeScript has previously undergone a major implementation change: its own team ported the compiler from JavaScript to Go. Cloudflare’s report says that effort substantially improved speed and memory use, but argues that a Rust implementation could serve additional WebAssembly use cases. The new work follows several recent attempts to reimplement TypeScript, which Cloudflare says have become easier to produce as frontier AI models can assist with large-scale code ports. That observation is the company’s explanation for the timing, not an independent evaluation of those tools.
The developers say tsrs is not a TypeScript fork. Their stated approach is to reproduce the behavior of the original implementation and follow the language team’s decisions, including features that may take time to design. Cloudflare says it plans to monitor upstream changes and test compatibility, drawing on a process it uses to keep its Vinext project aligned with Next.js. The goal is to avoid diverging behavior while identifying optimizations that could be sent back upstream.
“We are not forking TypeScript.”
— Cloudflare, in its blog report
Compatibility and Benchmark Limits
Tsrs remains experimental, and Cloudflare has not provided a stable-release date in the source report. The benchmark summary does not establish how the port performs across different codebases, hardware, or configurations, and the project’s default adaptive settings may trade higher memory use for additional speed. The report also does not provide enough detail here to independently reproduce the tests.
Compatibility is still in progress. Cloudflare acknowledges differences from upstream TypeScript, including diagnostic ordering, and has not said when every TypeScript feature or language-server function will be supported in the combined package. The exact scope of the planned merge with tsc-rs, the timetable for closing behavior gaps, and the degree to which future performance gains will be accepted upstream remain unsettled.
Compatibility Work Before Stability
The immediate work described by Cloudflare is to bring tsc-rs and tsrs together, expand feature support, and keep the port aligned with upstream TypeScript through change tracking and compatibility tests. Cloudflare says performance improvements found during that work may be proposed for TypeScript’s Go implementation. The team also says it intends to reduce known behavior differences before a stable release.
Developers can try the experimental npm package now, but should treat the reported speed and memory figures as early results rather than a promise for their own projects. The next meaningful signals will be clearer compatibility coverage, details on the combined package, and a stable-release plan; the blog report does not give dates for those milestones.
Key Questions
What is tsrs?
Tsrs is an experimental Rust port of the TypeScript compiler, developed by Cloudflare, VoidZero and Max Schwenk of Owner.com, and incubated within the Oxc toolchain.
Is tsrs a replacement or fork of TypeScript?
No. Cloudflare says the project is not a fork and is intended to follow the TypeScript team’s decisions about the language and its behavior.
How much faster is tsrs?
Cloudflare reports early results of up to 8x faster than TypeScript 7.0 and about 70% less memory with the same number of type-check workers. Those results are configuration-specific and are not a guarantee for all workloads.
Can developers try it now?
Yes. Cloudflare says an experimental npm package is available using npm install tsrs, followed by npx tsrs. The project is not described as a stable release.
What remains to be done?
The developers plan to combine tsrs with tsc-rs, expand support for TypeScript features, and reduce differences from upstream behavior. Cloudflare has not announced a stable-release date.
Source: hn
