~/talk

Asynchrony: Under the Hood

Talkat JSConf EU 2018 · on Sunday, 2018-06-03· [javascript, frontend-architecture]
slides:none on file

Shows concrete engine-level behavior: event loop diagrams, microtask queue behavior, and why run-to-completion matters. Compares callbacks, Promises, generators and async/await with code that demonstrates sequential vs concurrent awaits and a rewrite using Promise.all to run requests in parallel. Demonstrates error surfaces — swallowed rejections, stack traces, and generator throw semantics — and measures where microtask loops can starve ticks. Useful if wanting actionable tradeoffs, exact pitfalls, and working rewrites rather than vague prose.

AI-written summary · about

  1. 0:00Start
  2. 0:48BASIC ASYNC
  3. 2:22RUN-TO-COMPLETION
  4. 8:18ERRORS
~/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.