3: Concurrency – Event Loop & Coroutines




Code Podcast show

Summary: Let's escape the world where the Big Brother constantly interrupts us. Free ourselves from the oppression of consumerism. Let's leave behind preemptive multitasking and enter the world of collaboration! Host: Andrey Salomatin https://twitter.com/flpvsk Dark side: Michael Beschastnov Please send us stories about your awkward tech talks! https://twitter.com/podcastcode andrey@codepodcast.com michael@codepodcast.com ### Guests ### - **A. Jesse Jiryu Davis** * https://emptysqua.re/blog/ * https://github.com/ajdavis - **Saúl Ibarra Corretgé** * https://about.me/saghul * https://github.com/saghul A much smarter way to spend your money The Architecture of Open Source Applications aosabook.org/ ### Sources ### * **Event loop** * What the heck is the event loop anyway? by Philip Roberts https://www.youtube.com/watch?v=8aGhZQkoFbQ * An Introduction to libuv by Nikhil Marathe https://nikhilm.github.io/uvbook/ * Taming the asynchronous beast with ES7 by Nolan Lawson https://pouchdb.com/2015/03/05/taming-the-async-beast-with-es7.html * How the heck does async/await work in Python 3.5? by Brett Cannon http://www.snarky.ca/how-the-heck-does-async-await-work-in-python-3-5 * **Coroutines** * Coroutines Live-Coding Demonstration, at SCALE14x by A. Jesse Jiryu Davis https://emptysqua.re/blog/scale14x-coroutines-talk/ * A Web Crawler With asyncio Coroutines from The Architecture Of Open Source Applications by A. Jesse Jiryu Davis and Guido van Rossum http://aosabook.org/en/500L/a-web-crawler-with-asyncio-coroutines.html * Unyielding by Glyph Lefkowitz https://glyph.twistedmatrix.com/2014/02/unyielding.html * A Curious Course on Coroutines and Concurrency by David Beazley http://www.dabeaz.com/coroutines/ * Generator Tricks for Systems Programmers by David Beazley http://www.dabeaz.com/generators/ ### Projects to check out ### * **Python** * Pyuv https://github.com/saghul/pyuv * Pymongo https://api.mongodb.org/python/current/index.html * Python Async IO Resources http://asyncio.org/ * curio - concurrent I/O https://github.com/dabeaz/curio * Tornado Web Server https://github.com/tornadoweb/tornado * **Node.js** * libuv http://docs.libuv.org/en/v1.x/ ### Music ### Mid-Air! https://soundcloud.com/mid_air