HackerTube 中文?

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

JSConfYouTube ↗

Further reading 1

Caption notes

Philip Roberts animates the call stack, browser APIs and task queue to explain how asynchronous callbacks return to JavaScript. A timer expiring does not let its callback interrupt current code, and putting work in a queue does not make it run in parallel. The later examples add rendering, showing both a long task blocking the page and too many scroll callbacks delaying feedback. This 2014 teaching model builds intuition about main-thread tasks; it does not cover the full scheduler, including Promise microtasks.

Archived captions (transcription method unspecified) ↗
Original passages · 2
it's a minimum time to execution
What the heck is the event loop anyway? | Philip Roberts | JSConf EU · ▶ 20:02–20:07
you're flooding the queue with queued events.
What the heck is the event loop anyway? | Philip Roberts | JSConf EU · ▶ 25:22–25:29

Hacker News comments

View original on HN ↗