Cloudflare Launches High-Speed Rust TypeScript Compiler
The experimental tool aims to accelerate development builds by shifting away from Go-based compiler architecture.
Updated on Oct. 21, 2026 in Artificial Intelligence

Live Poll
Would you use an experimental AI-written compiler port to speed up your software development projects?
Cloudflare and VoidZero have announced an experimental Rust-based port of the TypeScript compiler, known as tsrs. This project, which aims to improve developer toolchain performance in sandboxed environments, has achieved 99.97% conformance with TypeScript 7.0 error baselines.
Why it matters
By shifting the compiler from Go to Rust, developers can achieve significant speed and memory efficiency gains, facilitating the execution of complex build toolchains within serverless environments like Cloudflare Workers. This transition addresses critical scaling bottlenecks for large-scale codebases.
Benchmarks demonstrate that tsrs runs up to 8x faster than TypeScript 7.0 while utilizing 70% less memory for type-check workers. The port currently matches 99.97% of TypeScript conformance error baselines across 13,462 test cases.
The players
Cloudflare
A global edge computing and web infrastructure company providing a platform for millions of developers to run code in sandboxed environments.
VoidZero
A developer organization focused on building high-performance JavaScript and TypeScript infrastructure tools.
Max Schwenk
A developer at Owner.com who initiated the tsrs project and leveraged AI agents to translate the compiler codebase into Rust.
Oxc
An open-source JavaScript compiler toolchain project that hosts the tsrs repository and aims for high-speed performance.
The details
The tsrs tool is an experimental Rust port integrated into the Oxc (the Oxc JavaScript compiler toolchain) project, initially authored by Max Schwenk using an AI agent to translate the existing TypeScript Go compiler. By moving the logic to Rust, the tool benefits from enhanced memory safety and performance characteristics suitable for sandboxed execution. Developers can currently integrate these experimental releases via npm, though full parity with native TypeScript tooling remains in development.
Timeline
October 19, 2026: Max Schwenk published the project's origin story.
October 20, 2026: Cloudflare announced the formal partnership for the tsrs project.
The Tech Race
The development of tsrs marks a shift toward optimizing core developer tooling for specialized runtime environments. It follows a wider trend of migrating legacy build tools to Rust to overcome the limitations of standard TypeScript compiler performance in large-scale monoliths.
Developers working with large codebases can now test the experimental tsrs release via npm to evaluate potential performance gains in their build pipelines. Future updates are expected to reach stable status with full TypeScript 7.1 support and integrated type-aware linting.
The takeaway
This project highlights the growing efficacy of AI-assisted code translation in building high-performance systems infrastructure. Developers should track the project's roadmap toward a stable 100% conformance release as a signal for potential toolchain migration.
Further reading
For broader context on current developer tooling performance, visit Artificial Intelligence.
Live Poll
Would you use an experimental AI-written compiler port to speed up your software development projects?





