TypeScript 7 (Project Corsa): Native Compiler, 10x Faster Builds
Автор: AutoContent API
Загружено: 2025-12-02
Просмотров: 42
Описание:
TypeScript is getting its biggest change yet, a full native rewrite called Project Corsa that will become TypeScript 7.0. If your builds are slow, your editor lags, or autocomplete takes too long, this update is built to fix that. Here are the essentials you need to know, and how to try it today.
Key takeaways
Project Corsa ports the TypeScript compiler and language service to native code, unlocking parallelism, lower memory use, and huge speed gains.
Real-world benchmarks are staggering. Sentry compiles in 16 seconds instead of over 2 minutes, an 8x speedup. TypeORM sees nearly 10x faster builds. VS Code compiles in under 9 seconds, down from about a minute and a half.
Editor features already work in native previews, completions with auto imports, go to definition, find all references, rename, and more feel much snappier.
Breaking changes and deprecations are coming, prepare your projects now. Strict mode becomes the default. ES2015 becomes the new baseline, dropping ES5. Old flags like baseUrl and node 10 module resolution will be removed.
Current limitations to watch for. JavaScript emit support currently goes back only to ES2021. Watch mode may be less efficient in some cases. The programmatic API is fully rewritten, so linters, formatters, and other tools that rely on the old API will need updates.
This is the end of an era for the old JavaScript based compiler. TypeScript 6.0 is the last major release on that code base. Future development focuses on native Corsa and TypeScript 7.0.
How to try it now
For a faster editor experience install the TypeScript Corsa extension from the VS Code marketplace.
To try the native compiler on the command line run npm install @typescript/native-preview and test it in your projects.
Why this matters
Faster builds and instantaneous feedback change what is possible in development workflows. When type checking and builds are nearly instant, you can iterate faster, experiment more, and build new tools that,
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: