talk · intermediate · evergreen

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

JSConf · Oct 9, 2014 · 26m 53s

What this video covers

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 it surfaced in 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.

16.5recommendation score
16
distinct recommenders
14
recommendation months
5
strong recommendations

Recommendation context

Short excerpts from positive mentions. Open the source to read the full Hacker News discussion.

“how async operations are scheduled on a single thread”

“Philip Roberts has a great lecture called what the heck is the event loop anyway?”

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

Watch on YouTube ↗