TypeScript 7.0 launches with Go-based compiler and up to 12x faster performance

Microsoft has introduced TypeScript 7.0, a major release centered on a full compiler rewrite in Go. The update replaces the previous JavaScript and TypeScript based implementation, allowing TypeScript to run natively and better use modern hardware through native code execution, shared memory multithreading, and new compiler optimizations. Microsoft says the new version delivers compile time improvements between 8x and 12x compared to TypeScript 6.0, with gains also visible in project loading, code completion, find all references, and diagnostics. Type checker parallelization and a parallelized project reference builder help improve performance in larger codebases, while Visual Studio Code already offers a TypeScript 7 extension with native multithreading for faster concurrent requests. Visual Studio, WebStorm, and other major editors are also expected to support TypeScript 7.0 by default. The release also adds a single threaded mode, an improved watch mode for incremental builds, updat...

Read Original

Related

Product Hunt tool 2h ago

Tiptap AI Toolkit

Empower your AI to directly edit documents in real time. Discussion | Link