Skip to content
Read the original: meng shao· shao__meng·Published· 2h agoPickAI score77

Theo open-sources tsc-rs, a Rust port of the TypeScript 7 compiler

T3 Stack 作者 @theo 开源了一个 TypeScript 编译器/类型检查器/LSP 的 Rust 完整移植「tsc-rs」

AISummary

Theo, creator of the T3 Stack, open-sourced tsc-rs, a line-by-line Rust port of Microsoft's Go-native TypeScript 7 compiler, type checker, and language server under MIT, pinned to typescript-go commit 673a5f17. The author reports tsc-rs is about 1.61× faster than tsc 7 and about 2.95× faster than bun check on six real-app benchmarks on an Apple M4 Pro. The port passes all 181,711 ported Go tests, and CLI output matches the Go version on 120 open-source repos except for known edge cases such as monorepo rootDir and tsc -b incremental output.

AIWhy it matters

The post reports a benchmarked, test-verified Rust port of the TypeScript 7 compiler, with pinned upstream and stated edge cases useful for judging its compatibility.

Read the original x.com

Source: meng shao · x.com