What exciting things happened in the JavaScript language and the V8 engine in 2019? Shu and Leszek take a tour of some new features and improvements. For JavaScript, learn about new syntax, like optional chaining and nullish coalescing, that make expressing common patterns a breeze, as well as the powerful new weak references that may help plug memory leaks. For V8, learn how the engine got faster with streaming parsing and slimmer with pointer compression.
Resources:
- V8 blog post archive → https://goo.gle/2Zd20tp
- Optional chaining → https://goo.gle/2NxDe1B
- Nullish coalescing → https://goo.gle/2BDB9yx
- Weak references and finalizers → https://goo.gle/3dDdj3p
- Pointer Compression in V8 → https://goo.gle/2YGk7ZT
- A lighter V8 → https://goo.gle/387plk4
Watch the Web.dev Live Day 2 playlist
Subscribe to the Chrome Developers.
Speaker: Leszek Swirski, Shu-yu Guo