[KongchangAI]
ProductTypeScript Rust / TSC-RS

TSC-RS

A complete Rust rewrite of the TypeScript compiler, type checker, and Language Server Protocol implementation, ported line-by-line from Microsoft's official TS Go project (TypeScript v7). Its goal is to deliver high-performance TypeScript compilation using the Rust language.

Timeline (last 90 days)

Oct 10

TSC-RS (TypeScript Rust) is a project that completely rewrites the TypeScript compiler, type checker, and LSP in Rust.

Unverified50%
Oct 10

The author completed the TSC-RS project using Opus 5.5 in approximately two weeks at a cost of about $20,000, whereas previously using Codex tokens over five months and spending $400,000 yielded no progress.

Unverified50%
Oct 10

The TSC-RS repository contains a go-std that ports the Go standard library to Rust line-by-line, even including goroutines reimplemented in Rust.

Unverified50%
Oct 10

On the first run, TS Rust was 2 to 3 times slower than the official Go version; after two weeks of optimization, it was at least twice as fast in every respect.

Unverified50%
Oct 10

TS Rust is approximately 12.5 times faster than TSC 6 (the last JS version), reaching up to 20 times faster in some scenarios, and approximately 2 times faster than Microsoft's official Go version TS Go.

Unverified50%
Oct 10

TS Rust builds the effect type-checking plugin directly in, and is approximately 4 times faster than Bun in real-world T3 Chat scenarios.

Unverified50%
Oct 10

In the author's demo, the complete application runs inside a V8 isolate, works normally with the file system set to read-only, with peak memory under 260MB and CPU usage at approximately 4%.

Unverified50%

All Facts (7)

Source Articles