A new project has successfully ported the TypeScript compiler, checker, and language server protocol (LSP) to Rust. This port, named tsc-rs, was primarily accomplished using large language models (LLMs). Initial attempts with OpenAI's GPT-5.6 Sol and GPT 6 Astra models incurred over $400,000 in token costs and did not achieve full compatibility. However, Claude Opus 5.5 completed a working version in 10 hours, starting from scratch, with a total token spend of approximately $24,047 over two weeks.
The project aimed to test LLM capabilities, create a fast TypeScript type checker, and enable high-performance TypeScript checking in WebAssembly (WASM). The tsc-rs port claims 100% compatibility in all tested real-world projects and functions as a drop-in replacement for the majority of applications. It maintains the algorithms and behavior of the original TypeScript compiler, which is written in Go, and uses the same command-line interface (tsc), language server, and API.
Users can install tsc-rs via npm using `npm install -D tsc-rs` and execute it with `npx tsc-rs -p tsconfig.json`. The `tsc-rs` command accepts the same options as the standard `tsc` command. The npm package is named `tsc-rs` to avoid conflicts with the existing `typescript` package. Standalone archives containing the `tsc` binary and lib files are also available for Linux x64 and macOS arm64 platforms.
tsc-rs includes built-in Effect language service diagnostics (codes 377xxx). This integration means that Effect projects do not require a separate compiler, as these diagnostics originate from the same check as TypeScript diagnostics and are displayed by the language server.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Cloudflare and VoidZero, with Max Schwenk, released tsrs, a Rust port of the TypeScript compiler, developed using AI agents. tsrs offers up to 8x faster type checking and 70% less memory usage compared to TypeScript 7.0, and can compile to WebAssembly.
Cloudflare has taken ownership of tsrs, a Rust port of the TypeScript compiler, which it claims is up to eight times faster and uses 70% less memory than TypeScript 7.0. This initiative aims to reduce computing resource consumption for AI coding agents checking their work, with Cloudflare collaborating with Microsoft's TypeScript team to share optimizations.
Cloudflare, VoidZero, and Owner.com are developing tsrs, a Rust port of the TypeScript compiler, in collaboration with the TypeScript team. This project aims to improve TypeScript's performance and memory efficiency, with early benchmarks showing tsrs is up to 8x faster and uses 70% less memory than TypeScript 7.0.
A new project, tsc-rs, has successfully ported the TypeScript compiler, checker, and language server protocol (LSP) to Rust. This port was achieved using large language models (LLMs), specifically Claude Opus 5.5, and aims to provide a faster TypeScript type checker with high performance, including in WebAssembly environments.