~/talk

Ivan Tulup. Async mess in JS under the hood

TalkinRussianat FrontTalks 2018 · 2018-09-14..09-15· [javascript, nodejs]
slides:none on file

The talk explains JavaScript’s single-threaded but deeply asynchronous model by unpacking the event loop, including the difference between tasks and microtasks, browser task prioritization, and the relevant specification details. It also compares how the event loop works in Node.js versus browsers and gives practical guidance on using async behavior safely.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03What is Event Loop
  3. 2:27How heartbeat works
  4. 4:13Macrotasks and microtasks
  5. 6:44Queues and execution order
  6. 8:32Splitting long tasks
  7. 10:58Event Loop in Node.js
  8. 12:22Event Loop phases in Node.js
  9. 14:50Task splitting issues
  10. 17:20What are microtasks
  11. 19:07Recursive microtasks danger
  12. 20:53Call stack and microtasks
  13. 23:22Sync vs async execution
  14. 26:15When microtasks run
  15. 27:00Why process.nextTick
  16. 29:28Node.js async APIs
  17. 30:11Learning resources
  18. 30:52Q&A
~/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.