~/talk

Fear and Awaiting in Async: A Savage Journey to the Heart of the Coroutine Dream

Talkat PyOhio 2016 · 2016-07-30..07-31· [python, concurrency]
slides:none on file

Talk rewrites overnight after a YouTube takedown of kids’ artwork; content focuses on Python 3.5 coroutines and practical pitfalls of async/await. Explains that async functions cannot run themselves, details where await is legal (not in REPL, list comprehensions or lambdas), shows frame‑hacking to detect sync vs async callers, and debates whether methods like close must be async. Introduces an experiment curio library that wraps sockets/files as coroutines, reports microbenchmarks around 50,000 messages/sec beating several frameworks, and notes recursion is ~2.5× slower than plain functions.

AI-written summary · about

  1. 0:00Introduction to async
  2. 2:58Concurrency approaches
  3. 6:12Modern async programming
  4. 10:52Understanding co-routines
  5. 18:01Await and syntax rules
  6. 23:34Advanced async patterns
  7. 29:10Context and iteration
  8. 34:20The problem with blocking
  9. 38:35The bridge to concurrency
  10. 45:07Curio and future directions
~/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.