TubeWords

What the heck is the event loop anyway? | Philip Roberts | JSConf EU

JSConf · 26 min

Thumbnail of the video What the heck is the event loop anyway? | Philip Roberts | JSConf EU

In this JSConf EU talk, Philip Roberts demystifies the JavaScript event loop, explaining how the language’s single‑threaded, non‑blocking model relies on callbacks, promises, and async functions to manage concurrency. He walks through common pitfalls like blocking the event loop or assuming 60‑fps rendering, and illustrates how timers such as setTimeout and setInterval, as well as micro‑tasks like process.nextTick, fit into the event‑loop cycle. With clear visualisations and playful hacks, Roberts gives developers an intuitive grasp of what actually happens when JavaScript code runs.

Source: Watch the original video on YouTube

This summary was generated by AI from the video's public metadata and description. It is not a transcript and may omit details. For anything that matters, watch the original.

Summarize another video