What the heck is the event loop anyway? | Philip Roberts | JSConf EU
16 人推荐 · 跨 14 个月 · 2015–2025

中文导读
Philip Roberts 借助自研的可视化工具,直观拆解了 JavaScript 事件循环、调用栈、回调函数与异步执行模型,彻底扫清“单线程”与“非阻塞”背后的概念迷雾。
为什么 HN 推它
HN 社区公认讲 JS 事件循环最生动直观的视频,写复杂异步代码前必看的启蒙教材。
「他做的那套实时展示事件循环的工具简直太赞了。」HN 网友原话:The tool he created to display the event loop in real time is fantastic.
英文原摘要(HackerTube / Claude 整理)
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.
HN commenters repeatedly name it as the best explanation of the JS event loop and the first thing to watch before tackling async code.
HN 上的提及
a great, very simple explanation.
how async operations are scheduled on a single thread
Listed among favorite tech talks.
Philip Roberts has a great lecture called what the heck is the event loop anyway?
Listed among JavaScript learning resources.