📢 TypeScript 5.7 is here! Now with ✅ Better checks for uninitialized variables ✅ Smarter tsconfig lookup in editors ✅ Improved startup time ✅ Stricter checks for JSON imports ✅ Extension rewrites for relative imports and more! Try it today! devblogs.microsoft.com/typescript/a...
Post
devblogs.microsoft.comAnnouncing TypeScript 5.7 - TypeScriptToday we excited to announce the availability of TypeScript 5.7! If you’re not familiar with TypeScript, it’s a language that builds on JavaScript by adding syntax for type declarations and annotation...
The TDZ (temporal dead zone) created by let/const can have a high runtime cost, so sometimes, yes; used to be some 30% difference in TS, so we manually changed the important ones over to get most of that speedup I think V8 optimized some of it after this discovery but not all
0 reposts5 likes
Shu (V8) also lead a discussion in tc39 about potentially removing tdz from the spec, so runtimes could drop some of the checks while still being spec compliant. docs.google.com/presentation...
docs.google.comTDZ, What Is it Good4TDZ, What Is It Good For? Shu-yu Guo (Google) September 2023