It's Critical: Concurrent programming as a sane programming model
summary
Builds a toy async-await framework from generators, non-blocking sockets and the OS selector, implementing futures and tasks and a simple event loop that drives generators with selector events. Shows the code sending about 200 concurrent requests on a single-threaded event loop with no extra OS threads, demonstrating cooperative multitasking, fewer locking needs, and that network I/O interleaves correctly; the handcrafted framework runs and completes the requests.
AI-written summary · about
chapters (5)
- 0:00Introduction to async await
- 2:13Why async await matters
- 8:12Coding async examples
- 16:55Takeaways and summary
- 19:06Q&A session
related talks
25mLet me sleep on it improving concurrency in unexpected ways
01h 31mHistory of Time: Asynchronous C++
01h 08mBetter Code: Concurrency
18mA better way of doing Async Rust
48mCooperative multitasking with generators
46mTour d’horizon de la gestion de la concurrence dans différents langages
32mLet's build an async runtime together
33mArtisanal Async Adventures
