~/talk

When JavaScript takes its coffee break?

Talkat Devworld Conference 2025 · 2025-02-27..02-28· [javascript]

Explains exact mechanics: call stack → Web API → queue with demos that show a zero-delay setTimeout taking ≈4ms and promises (microtasks) running before timers. Shows three live animations so microtasks freeze the main thread while requestAnimationFrame runs at screen refresh (requestAnimationFrame 60Hz), and setTimeout fires about 166× per second in the demo versus 60 for RAF (microtask vs task priority). Mentions QMicrotask API, Node process.nextTick and the new scheduler API, and using the performance tab to debug.

AI-written summary · about

  1. 0:00JavaScript event loop intro
  2. 2:45Single-threaded JS basics
  3. 4:51Async tasks in event loop
  4. 8:45Render timing with event loop
  5. 10:07Microtask vs task priority
  6. 13:48Promise order in event loop
  7. 15:59Blocking main thread
  8. 17:23Task vs microtask queues
  9. 18:49Animation frame rate
  10. 19:53Demo: task types in animation
  11. 23:07Microtask function tips
  12. 24:35Event loop in frameworks
  13. 25:39Learning event loop
  14. 26:46JS spec and event loop
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.