JS Party: JavaScript, CSS, Web Development cover image

What's next in JavaScript (a TC39 update)

JS Party: JavaScript, CSS, Web Development

NOTE

Generational Garbage Collection and the Nursery

Modern JavaScript engines utilize generational garbage collection, which includes a 'nursery' where new objects are allocated. The hypothesis is that most objects die young while in the nursery, leading to efficient garbage collection. This approach eliminates the need for operations like interning or hash conzing, where duplicate objects would be identified and reused for optimization, which was a common practice in the past but is now unnecessary due to the efficiency of modern generational garbage collectors.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner