HackerTube.dev

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

JSConf · 3.8M views · 2014-10-09 · 26:53

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

Philip Roberts explains the JavaScript event loop, call stack, callbacks and asynchronous behavior with live visualizations using a tool he built. It demystifies terms like non-blocking and single-threaded.

On Hacker News

HN commenters repeatedly name it as the best explanation of the JS event loop and the first thing to watch before tackling async code.

Recommended by 16 HN people across 14 months · HN mentions 2015–2025

Topics

Search by tags

What people said

krisgenre · 2020-11 · Strong recommendation

This one is my all time favorite - What the heck is the event loop anyway? | Philip Roberts | JSConf EU [VIDEO]

Read the original HN comment ↗
_bxg1 · 2020-02 · Strong recommendation

I got to know the nuances of the language by working with it for years and having to figure out why various things didn't work at different points, but it doesn't sound like that's your style. This isn't comprehensive, but it's probably the most helpful deep-dive I've ever seen about some aspect of JavaScript. It's about the Event Loop, which is one of the biggest differences between JS and comparable languages like Python: [VIDEO] Contrary to what you might think, even though the event loop is in some sense "distinct from the language", it isn't simply an API. You can't really have JavaScript without the event loop; it exists in both the browser and in Node, and is the basis for most of the language's advantages.

Read the original HN comment ↗
keyvin · 2018-10 · Strong recommendation

Another event loop talk from Philip Roberts. The tool he created to display the event loop in real time is fantastic. [VIDEO]

Read the original HN comment ↗

Sources

Video by JSConf, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources