Announcing TypeScript 7.0 - TypeScript
a 10x faster native port of TypeScript!While TypeScript 7.0 is here, it does not ship with an API. We expect TypeScript 7.1 to ship with a new (and different) API, but until then we have made it a priority to ensure TypeScript can be run side-by-side with TypeScript 6.0 for utilities that still need some programmatic access to the compiler (such as typescript-eslint).
Key Takeaways & Features
Native Go Port: Moving from a JavaScript runtime to native code eliminates single-thread limitations and V8 engine overhead.
Shared-Memory Concurrency: The compiler now utilizes multi-threading across all available CPU cores, providing speedups ranging from 8× to 12× on full builds.
Real-World Benchmark: A live demonstration showed compiling the 2.3 million line VS Code codebase dropping from ~50 seconds down to under 5 seconds.
New LSP Language Server: Near-instant editor startup, instantaneous error squiggles, and rapid symbol/reference lookups.
99.99% Backward Compatibility: Designed as a drop-in replacement compatible with existing TypeScript 6 codebases and configurations.


No comments:
Post a Comment