TypeScript 7

679 points · 272 comments on HN · read original →

Points and comments are a snapshot, not live.

TypeScript 7 delivers a 10x faster native Go port, now generally available.

TypeScript 7 is a native port to Go, yielding 8-12x faster builds and reduced memory usage, as demonstrated on large codebases like VS Code (11.9x faster, 18% less memory). It introduces parallelized type-checking with `--checkers` and project building with `--builders` flags, a rebuilt `--watch` mode using a Go port of Parcel's watcher, and support for side-by-side installation with TypeScript 6 via a compatibility package. The new language server reduced failing commands by over 80% and server crashes by over 60%.

What commenters are saying

The thread celebrates the release and the team's achievement in maintaining two codebases for a complex type system. A top comment praises it as "the most advanced type system known to mankind," sparking debate: others counter that proof assistants like Lean or Idris hold that title, and that HM-based systems are simpler but sound.

Commenters discuss the Go-vs-Rust rewrite choice. Some note Go was easier for a bug-for-bug port, while Rust might offer an API surface more easily. One queries Wasm builds for playgrounds; a team member responds they hope to start work soon, noting ambiguity in what "Wasm" means.