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

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

JSConf · 16 recommenders · 14 months

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.

Why Hacker News readers recommend it: HN commenters repeatedly name it as the best explanation of the JS event loop and the first thing to watch before tackling async code.

16 recommenders5 strong recommendations2015–2025
Web developmentPython, Ruby & scripting languages#event loop#async javascript#call stack#callbacks#visualization

“The tool he created to display the event loop in real time is fantastic.”

View the original HN discussion