---
url: "https://www.xcademia.com/news/cloudflare-and-voidzero-introduce-tsrs-a-rust-port-of-typescript"
title: "Cloudflare and VoidZero Introduce tsrs, a Rust Port of TypeScript"
description: "Cloudflare, VoidZero, and Owner.com introduce tsrs, an experimental Rust port of TypeScript reporting up to 8x faster performance in early benchmarks."
publishedAt: "2026-10-21T11:22:15.544+00:00"
updatedAt: "2026-10-23T04:04:54.933045+00:00"
type: news
category: devops
source_name: Cloudflare Blog
source_url: "https://blog.cloudflare.com/typescript-rust-port"
tags:
  - "#TypeScript"
  - "#Rust"
  - "#Cloudflare"
  - "#OpenSource"
  - "#WebAssembly"
  - "#JavaScript"
  - "#DeveloperTools"
  - "#Oxc"
---

# Cloudflare and VoidZero Introduce tsrs, a Rust Port of TypeScript

> Cloudflare, VoidZero, and Owner.com are collaborating on tsrs, an experimental Rust port of the TypeScript compiler. Early benchmarks report up to 8x faster performance and around 70% lower memory use than TypeScript 7.0 under the same type-checking worker configuration.

Source: **Cloudflare Blog** · 21 October 2026

Cloudflare, VoidZero, and Max Schwenk of [Owner.com](http://Owner.com) are working together on tsrs, a Rust port of the TypeScript compiler designed to make type checking faster and more memory-efficient. Announced on October 20, 2026, the project is being developed in close collaboration with the TypeScript team and incubated within the Oxc JavaScript compiler toolchain.

According to Cloudflare, early benchmarks show that tsrs can run up to eight times faster and use approximately 70% less memory than TypeScript 7.0 when both use the same number of type-checking workers. These are early results, and the comparison is made against TypeScript 7.0, not the newer TypeScript 7.1 beta.

The project aims to reduce the time developers spend waiting for code checks while making complete development environments possible in more settings, including browsers and sandboxed environments.

Cloudflare emphasizes that tsrs is not a fork intended to take control of TypeScript's direction. The project is designed to follow the official language implementation closely, with the TypeScript team retaining control over the language's design and evolution.

## 
What Is tsrs?

tsrs is an experimental Rust implementation of the TypeScript compiler. It is being developed as part of the Oxc toolchain, which provides open-source tools for the JavaScript ecosystem.

The project is a collaboration involving Cloudflare, VoidZero, and Max Schwenk of [Owner.com](http://Owner.com), with work taking place in close coordination with the TypeScript team.

Its primary goals are to improve compiler performance, reduce memory consumption, and expand where TypeScript development tools can run.

Cloudflare says developers can already try an experimental release through npm:

```
npm install tsrs
npx tsrs
```

The release is experimental, so developers should not assume it is already a complete replacement for the official TypeScript compiler in every workflow.

Official project: [tsrs project on GitHub.](https://github.com/oxc-project/tsrs)

## 
Early Benchmarks Show Performance and Memory Gains

Cloudflare reports promising early results from its Rust port. In tests using the same number of type-checking workers, tsrs was up to 8x faster and used approximately 70% less memory than TypeScript 7.0.

The source also notes that TypeScript itself is improving. TypeScript 7.1 beta is reported to be up to 2.5 times faster than TypeScript 7.0. Cloudflare says some optimizations from tsrs have already been contributed upstream, and the team hopes to contribute further improvements.

Cloudflare says it worked with the TypeScript team to ensure the benchmark comparison used the same configuration. This matters because performance comparisons can be affected by machine sizes and configuration options.

The results should be interpreted in context. The reported figures are early benchmark results, not a guarantee that tsrs will be eight times faster for every project. The announcement also describes an adaptive default configuration for tsrs that uses more memory in exchange for higher speed.

![info-1](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1792581538640-info-1--228-.webp)

## Why Cloudflare Is Porting TypeScript to Rust

Cloudflare explains that the motivation goes beyond raw compiler speed. One of Rust's advantages for this project is its suitability for WebAssembly (Wasm), which can allow software to run in environments beyond conventional servers and desktop installations.

Cloudflare points to a difference in memory management. Go programs compiled to WebAssembly need to include the Go garbage collector, while Rust's memory management model can support more direct memory interactions between a WebAssembly module and its host.

According to the announcement, this makes Rust a strong fit for use cases where memory efficiency matters. A smaller memory footprint can be particularly useful when running build and deployment systems repeatedly within constrained environments.

Cloudflare Workers has supported WebAssembly for some time. The company also recently announced native Rust support in Workers through a new Emscripten target for `wasm-bindgen`. The tsrs project builds on this broader direction by exploring how compiler tooling can run in more environments.

Potential use cases described in the post include fully sandboxed development toolchains on Cloudflare, development environments running directly in browsers, and software running on embedded or IoT devices. These are possibilities enabled by the approach, rather than a claim that every such environment is already supported by tsrs.

![info-2](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1792581560108-info-2--210-.webp)

## Maintaining Compatibility With Official TypeScript

A major challenge for any alternative compiler implementation is keeping pace with the original language as it evolves.

Cloudflare says the TypeScript team should remain responsible for TypeScript's design and direction. The tsrs project intends to preserve the behavior of the original implementation rather than introduce its own language rules.

The teams are also working with Theo Browne to merge tsc-rs and tsrs into a single package that supports TypeScript features, including the Language Server Protocol (LSP) and content mappers.

To maintain compatibility, Cloudflare plans to adapt a process it has used for Vinext, its project that tracks changes in Next.js. The process uses agents to review upstream changes, fetch code differences, open tracking issues, and regenerate a compatibility matrix by running the Next.js test suite against Vinext.

For TypeScript, Cloudflare says it will apply a similar approach. Agents will help identify changes across codebases, create reproductions, port relevant tests, and propose fixes when compatibility gaps are found.

The project will also seek to contribute performance improvements back to the official TypeScript implementation written in Go, allowing the wider ecosystem to benefit.

Cloudflare acknowledges that differences remain. One example is the order in which compiler diagnostics are printed. The team aims to reduce such differences before publishing a stable release.

![info-3](https://0a515t3ure77wbvx.public.blob.vercel-storage.com/articles/1792581582765-info-3--195-.webp)

## What's Next for tsrs?

Cloudflare says it wants tsrs to become a well-maintained open-source project that complements TypeScript rather than competes with its language design.

The Oxc team has already started refactoring the codebase to improve speed, reduce memory use, and make the implementation easier to maintain.

Cloudflare also plans to explore deeper integration with its developer tooling. One example mentioned in the announcement is the potential use of tsrs for type-aware lint rules in Oxlint.

At the same time, the TypeScript team is experimenting with performance and memory improvements to its own compiler. Cloudflare says it welcomes continued collaboration with the TypeScript team and the broader JavaScript community.

The project is still experimental, and the source does not provide a stable-release date.

## 
Conclusion

Cloudflare's tsrs project explores how a Rust implementation of TypeScript could improve compiler speed, reduce memory use, and make development tools practical in more environments.

Its early benchmarks are promising, but the project remains experimental. Long-term success will depend not only on performance, but also on maintaining compatibility with official TypeScript as the language evolves.

The collaboration with the TypeScript team is central to that effort. Rather than creating a separate direction for the language, Cloudflare and its partners aim to improve implementation efficiency while keeping TypeScript's design under the control of its existing team.

If tsrs can maintain that balance, it could provide developers with another way to run TypeScript tooling across servers, browsers, and sandboxed environments.

## Original source

https://blog.cloudflare.com/typescript-rust-port

## Tags

`#TypeScript` · `#Rust` · `#Cloudflare` · `#OpenSource` · `#WebAssembly` · `#JavaScript` · `#DeveloperTools` · `#Oxc`

---

## About this content

This Markdown news article is the citation-grade twin of [Cloudflare and VoidZero Introduce tsrs, a Rust Port of TypeScript](https://www.xcademia.com/news/cloudflare-and-voidzero-introduce-tsrs-a-rust-port-of-typescript). It is published by **Xcademia** (UK Companies House 12322710) and is available for AI search engines and large language models to index, summarise, and cite.

When citing or quoting, please attribute *Xcademia* and link back to the source URL above.

- Source: https://www.xcademia.com/news/cloudflare-and-voidzero-introduce-tsrs-a-rust-port-of-typescript
- Publisher: Xcademia, https://www.xcademia.com
- Catalogue index: https://www.xcademia.com/llms-full.txt
