TypeScript has released Native Previews with a newly ported compiler using native code, offering a 10x speed increase. This improved version is accessible through npm and includes a VS Code extension. This development is part of Project Corsa, progressing towards the future release of TypeScript 7.0, aiming for enhanced performance and reliability.
TypeScript has introduced Native Previews for its compiler, promising a significant speed boost of up to 10 times on most projects. This is achieved through a port to native code, utilizing Go for compilation, along with shared memory parallelism and concurrency. The speed increase can be tested by developers via npm.
The Native Previews are part of a broader initiative known as Project Corsa, which sets the foundation for the upcoming TypeScript 7.0 release. This project focuses on optimizing performance, memory usage, and parallel processing efficiency in the TypeScript toolset and compiler.
The implementation demonstrates substantial progress, with improvements in performance and reliability already evident as the team continues to refine the language service that powers editors like Visual Studio Code.
Developers can access the new compiler and language service through npm and the Visual Studio Marketplace. A dedicated VS Code extension is available for testing the preview features, ensuring compatibility and stability in editing environments.
The current preview execution is achieved via a command line interface called 'tsgo', which is expected to eventually become part of the standard TypeScript tooling with the release of TypeScript 7.0.
β¨ 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 β
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.