事件循环到底是个什么东西
原名:What the heck is the event loop anyway
关于这个视频
Philip Roberts 使用他构建的工具通过实时可视化解释了 JavaScript 事件循环、调用堆栈、回调和异步行为。它揭开了非阻塞和单线程等术语的神秘面纱。
HN 为什么推荐它:HN 评论者反复将其称为 JS 事件循环的最佳解释,也是处理异步代码之前要注意的第一件事。
“他创建的实时显示事件循环的工具非常棒。”— HN 评论 · 2018 · 原文
查看英文原文
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 HN likes 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.
“The tool he created to display the event loop in real time is fantastic.”
HN 提及 20 次推荐者 16 人首次 2015最近 2025质量分 16.5
原视频频道:JSConf · YouTube 380.1 万次观看
演讲进阶常青事件循环异步 JavaScript调用栈回调可视化













