TypeScript has released a native version of its compiler, known as 'TypeScript Native Previews', which significantly enhances performance. This involves porting the TypeScript toolset to native code written in Go, aiming for a 10x to 12x speed increase compared to the original implementation.
The native version brings increased speed and improved memory management, achieved through the use of shared memory parallelism and concurrency. For installation, developers can access the native compiler via npm with the command 'npm install -D @typescript/native-preview'. A VS Code extension is also available for enhanced editor functionality.
Eventually, the native 'tsgo' executable will replace 'tsc' in the main TypeScript package, streamlining the usage without the need for separate testing.
This development is part of 'Project Corsa', associated with the future TypeScript 7.0 release. The project focuses on refining the native toolset for better performance and reliability, marking a substantial milestone in the TypeScript evolution.
The updates not only enhance raw performance and memory use but also bolster editor support through easily accessible language service improvements.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
TypeScript 7 has been released, featuring a native port in Go that increases performance by 8x to 12x. This significant speed enhancement impacts the TypeScript development process, improving editor support and multithreading capabilities for modern development tools.
The TypeScript team has made significant progress on its native code porting project, codenamed Project Corsa. The updated language service and compiler features improved performance and reliability, marking essential milestones for upcoming TypeScript 7.0.
TypeScript has launched Native Previews with a new compiler achieving a 10x speed increase. Developers can now test the native version through npm and a dedicated VS Code extension is also available.