{
  "id": 16723755,
  "title": "Cloudflare and VoidZero Introduce tsrs: An AI-Generated Rust Port of TypeScript",
  "url": "https://urgent.news/2026/10/27/cloudflare-and-voidzero-introduce-tsrs-an-ai-generated-rust-port-of",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-27T07:34:00.000Z",
  "source": {
    "name": "InfoQ",
    "slug": "infoq",
    "url": "https://www.infoq.com/news/2026/10/cloudflare-tsrs-ai-typescript/"
  },
  "original_language": "en",
  "account": "Cloudflare and VoidZero have unveiled tsrs, an AI-generated Rust port of TypeScript, designed to deliver faster type checking and reduced memory usage. The project is being incubated within the Oxc toolchain and collaborates closely with the TypeScript team, maintaining their full control over the language's design. Benchmarks indicate that tsrs can be up to 8 times faster than TypeScript 7.0 in type checking and approximately 70% more memory-efficient at the same checker worker level.\n\nTo utilize tsrs, developers can simply point it at an existing tsconfig and run it. Schwenk developed tsrs by directing agents led by Claude Opus 5.5 to produce a faithful port, leveraging TypeScript's 15,197 conformance cases as the specification. On Owner.com's 37,000-file monolith, a check that previously required 19 GiB and 80 seconds with TypeScript 7.0 now takes just 7 seconds.\n\nHowever, some developers have noted that tsrs exits with code 2 on type errors, while tsc exits with code 1, which could potentially disrupt CI scripts. When compared to TypeScript 7.1 beta, tsrs shows a smaller 2.7x gain, highlighting that the 8x headline figure is measured against the older baseline. TypeScript's Daniel Rosenwasser acknowledged that tsrs' speed enhancements are not solely due to the language choice and mentioned that some optimizations are being incorporated into a leaner TypeScript 7.1.\n\nThe TypeScript team responded to the release by stating that much of the speed gains are not solely attributed to the language choice, and some optimizations found in tsrs are now being integrated into TypeScript 7.1. Peter Steinberger reported on X that he moved to tsrs over the weekend, noting a drop-in replacement and around 5x faster performance on his local machine. Despite the enthusiasm, some have raised concerns about the arena-based, never-freed memory model used by tsrs.\n\ntsrs coexists with Microsoft's Go-based compiler, tsgo, and Theo Browne's Rust port, tsc-rs. Cloudflare plans to merge tsc-rs and tsrs into a single package, incorporating language server and content mapper support. Currently, tsrs remains experimental, lacking watch mode, language server capabilities, unsupported --init and --showConfig flags, and differing diagnostic orders. The compatibility notes offer further details. Since tsrs is aligned with TypeScript 7, teams currently using TypeScript 5 or 6 should first adopt Microsoft's native Go port before transitioning to tsrs, after which migrating can be accomplished by reusing the existing tsconfig. tsrs is released under the Apache-2.0 license and is available on GitHub.",
  "summary": "Cloudflare, VoidZero and Max Schwenk announced tsrs, an experimental Rust port of the TypeScript compiler, built with the TypeScript team's involvement. Cloudflare claims up to 8x faster checking and 70% less memory than TypeScript 7.0, though one test against 7.1 beta showed 2.7x. It lacks watch mode and a language server, and exits with code 2 on type errors. By Daniel Curtis",
  "key_points": [],
  "editors_take": "Leveraging AI to port core language logic to Rust signals a shift toward using automated agents to overcome performance bottlenecks that traditional compiler development struggles to address.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}