~/talk

Python async/await unraveled

Talkat WebCamp Zagreb 2019 · 2019-10-11..10-12· [python, concurrency]
links:none on file
slides:none on file

Explains exactly how Python implements async/await by lowering await is sugar over yield from into generator suspension and resume mechanics, builds a minimal event loop and downloader using asyncio + aiohttp (mentions uvloop, curio, trio), and demonstrates live suspends/resumes and the actual state‑machine expansion of coroutines so you see when and how many times a coroutine suspends. Concrete code examples run and match the explanations; useful if you want implementation-level detail rather than just API usage.

AI-written summary · about

  1. 0:00Introduction to async
  2. 1:02Synchronous programming
  3. 4:58Asynchronous concepts
  4. 9:18Callback hell in JS
  5. 15:20JavaScript promises
  6. 18:52Async await syntax
  7. 20:20Async in Python
  8. 24:42Generators as coroutines
  9. 29:13Yield from expression
  10. 36:03D-sugaring yield from
  11. 39:37Implementing coroutines
  12. 47:05Asyncio in practice
  13. 52:29Best practices
  14. 1:00:00Under the hood
  15. 1:17:12Further reading and Q&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.