What the heck is the event loop anyway? | Philip Roberts | JSConf EU
推荐理由
The tool he created to display the event loop in real time is fantastic.
强烈推荐keyvin · 原文
说明
这是2014年由JSConf发布的一部演讲,主题归在Web development。它讲的是javascript event loop这一支里的具体问题,而不是把整个领域扫一遍。适合已经能看懂基本术语、想继续往下走的人。内容上可以概括成: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.讲法不绑某一条新闻,过几年仍然可以当材料看。从2015年到2025年,有16位不同的读者在14个不同月份把它推荐出来,其中明确叫别人去看的有5次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把javascript event loop变成能跟着复述的例子。
视频信息
- 频道
- JSConf
- 时长
- 26 分 53 秒
- 发布年份
- 2014
同主题更多
- Rich Harris - Rethinking reactivity
- Crockford on JavaScript - Volume 1: The Early Years
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson
- JavaScript: The Good Parts
- Pete Hunt: React: Rethinking best practices -- JSConf EU
- Dan Abramov - Live React: Hot Reloading with Time Travel at react-europe 2015