Aube.Tuesday, 24 November 2026Support us

Aube.

News of progress
Original and translation

Cloudflare takes over tsrs, a Rust port of the TypeScript compiler

Leave comparison

Both versions are aligned block by block, in reading order: title, the essentials, then paragraph by paragraph. Where the translation merged or split a paragraph, the matching cell stays empty — we never pair two passages by guesswork.

Original · German
Cloudflare übernimmt tsrs, Rust-Port des TypeScript-Compilers
Translation · English
Cloudflare takes over tsrs, a Rust port of the TypeScript compiler
Original · German
Der Entwickler Max Schwenk hatte tsrs erst Ende September gestartet; Cloudflare und VoidZero übernehmen das Projekt jetzt.
Translation · English
Developer Max Schwenk only launched tsrs in late September; Cloudflare and VoidZero are now taking over the project.
Original · German
Laut Cloudflare prüft tsrs Typen bis zu achtmal so schnell wie TypeScript 7.0, bei rund 70 Prozent weniger Speicher.
Translation · English
According to Cloudflare, tsrs checks types up to eight times faster than TypeScript 7.0, using about 70% less memory.
Original · German
Die Messungen des Gründers auf 17 Open-Source-Projekten liegen niedriger; Version 0.18 ist experimentell, ohne Windows-Binaries.
Translation · English
The founder's measurements across 17 open-source projects come in lower; version 0.18 is experimental and has no Windows binaries.
Original · German

Rund 37.000 Dateien umfasst das Backend, an dem Max Schwenk bei Owner.com arbeitete, einem Anbieter von Restaurantsoftware. Die Prüfung mit TypeScript 7.0 brauchte dafür in einem einzigen Thread 19 GByte Arbeitsspeicher und 80 Sekunden, und sie ließ kaum Ressourcen für parallel laufende Coding-Agenten übrig. Schwenk verantwortet dort die KI-Entwicklerwerkzeuge. Ende September startete er ein Open-Source-Projekt, das diesen Engpass lösen sollte: tsrs.

Translation · English

Some 37,000 files make up the backend that Max Schwenk worked on at Owner.com, a provider of restaurant software. Checking it with TypeScript 7.0 took 19 GB of memory and 80 seconds in a single thread, and left little room for coding agents running in parallel. Schwenk is responsible for the company's AI developer tools there. In late September he launched an open-source project meant to solve this bottleneck: tsrs.

Original · German

Der TypeScript-Compiler ist das Werkzeug, das den Code prüft. Microsoft hat ihn in Go geschrieben. tsrs überträgt diese Implementierung Funktion für Funktion nach Rust und soll Compiler wie Language Server ersetzen, also auch die Komponente, die Editoren mit Fehlermeldungen und Vorschlägen versorgt. Dass nach dem Go-Port eine Rust-Fassung nötig ist, begründet Cloudflare mit WebAssembly (Wasm). Ein nach Wasm kompiliertes Go-Programm muss seinen Garbage Collector, die automatische Speicherverwaltung, selbst mitbringen. Rust kommt ohne aus und spart laut Cloudflare entsprechend Speicher.

Translation · English

The TypeScript compiler is the tool that checks code. Microsoft wrote it in Go. tsrs translates this implementation function by function into Rust and is meant to replace both the compiler and the language server, that is, the component that supplies editors with error messages and suggestions. Cloudflare justifies the need for a Rust version after the Go port with WebAssembly (Wasm). A Go program compiled to Wasm has to bring its own garbage collector, the automatic memory management. Rust needs none and, according to Cloudflare, saves memory accordingly.

Original · German

Die stärksten Zahlen stammen von Cloudflare: bis zu achtmal so schnelle Typprüfung als TypeScript 7.0 und rund 70 Prozent weniger Arbeitsspeicher, wenn beide mit gleich vielen Threads arbeiten. Der Projektgründer misst zurückhaltender, und zwar gegen den aktuellen Stand von Microsofts Go-Compiler: Auf 17 Open-Source-Projekten sei tsrs zweieinhalb- bis fünfmal so schnell und brauche rund ein Drittel des Speichers. Am selben Dienstag hat Microsoft die Beta von TypeScript 7.1 veröffentlicht, die auf fünf vom Hersteller gemessenen Codebasen 13 bis 47 Prozent weniger Zeit für die Prüfung braucht als TypeScript 7.0. Daniel Rosenwasser aus dem TypeScript-Team bestätigt in einem Kommentar auf Hacker News, dass ein Teil dieser Gewinne auf die Optimierungen in tsrs zurückgeht. Sein Team hat selbst mit Rust experimentiert und vermutet, dass ein großer Teil des Tempos gar nicht so stark auf die Sprache zurückzuführen ist.

Translation · English

The most striking figures come from Cloudflare: type-checking up to eight times as fast as TypeScript 7.0 and about 70% less memory, when both run with the same number of threads. The project founder's measurements are more restrained and are taken against the current state of Microsoft's Go compiler: on 17 open-source projects, tsrs is two and a half to five times as fast and uses roughly a third of the memory. On the same Tuesday, Microsoft released the beta of TypeScript 7.1, which needs 13% to 47% less time for type-checking than TypeScript 7.0 across five codebases measured by the company. Daniel Rosenwasser from the TypeScript team confirms in a comment on Hacker News that part of these gains is due to the optimizations in tsrs. His team has experimented with Rust itself and suspects that much of the speed has far less to do with the language than one might assume.

Original · German

Portiert wurde mit Hilfe von KI, konkret mit Anthropic Claude Opus 5.5. Schwenk selbst, so sagt er, habe keine Zeile Code geschrieben. Die Projektdokumentation meldet, dass tsrs in der Conformance-Testsuite von TypeScript, einer Sammlung von Prüfläufen, die das Verhalten am Original messen, bei fast allen Fehler-Baselines mit dem Original übereinstimmt. Wenige Abweichungen führt das Team auf die Testumgebung zurück. Die Übergabe an das Oxc-Team begründet Schwenk damit, dass er das Projekt in die Hände von Menschen legen wollte, die Rust-Werkzeuge hauptberuflich pflegen.

Translation · English

The port was built with the help of AI, specifically Anthropic's Claude Opus 5.5. Schwenk himself, he says, did not write a single line of code. The project documentation reports that tsrs matches the original on almost all error baselines in TypeScript's conformance test suite, a collection of test runs that measure behavior against the original. The team attributes a few deviations to the test environment. Schwenk explains the handover to the Oxc team by saying he wanted to put the project in the hands of people who maintain Rust tooling professionally.

Original · German

Für Cloudflare hat der Gewinn einen konkreten Adressaten: Die Plattform Workers soll KI-Agenten erlauben, komplette Entwicklungs-Toolchains in abgeschotteten Umgebungen laufen zu lassen, und dafür zählt jedes Gigabyte Arbeitsspeicher. Für Entwicklerteams ist tsrs schon heute ausprobierbar: als npm-Paket unter Apache-Lizenz 2.0, mit nativen Binaries für macOS auf ARM-Prozessoren und für Linux, nicht aber für Windows. Die Version 0.18 gilt als experimentell. Eine stabile Version mit vollständiger Kompatibilität zu TypeScript 7.1 strebt das Team an, einen Termin nennt es nicht. Die Sprache selbst bleibt beim TypeScript-Team bei Microsoft, einen Fork schließt Cloudflare aus. Damit der Port Microsofts Änderungen folgt, sollen KI-Agenten das TypeScript-Repository täglich auswerten und passende Korrekturen vorschlagen.

Translation · English

For Cloudflare, the gain has a concrete target: the Workers platform is meant to let AI agents run complete development toolchains in isolated environments, and in that setting every gigabyte of memory counts. Developer teams can already try tsrs today: as an npm package under the Apache License 2.0, with native binaries for macOS on ARM processors and for Linux, but not for Windows. Version 0.18 is considered experimental. The team aims for a stable version with full compatibility with TypeScript 7.1 but has not named a date. The language itself remains with the TypeScript team at Microsoft; Cloudflare rules out a fork. To keep the port in step with Microsoft's changes, AI agents are to review the TypeScript repository daily and suggest matching fixes.

Back to the article