Fear and Awaiting in Async: A Savage Journey to the Heart of the Coroutine Dream
summary
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
chapters (10)
- 0:00Introduction to async
- 2:58Concurrency approaches
- 6:12Modern async programming
- 10:52Understanding co-routines
- 18:01Await and syntax rules
- 23:34Advanced async patterns
- 29:10Context and iteration
- 34:20The problem with blocking
- 38:35The bridge to concurrency
- 45:07Curio and future directions








