Early Access Release of "A Web Crawler With asyncio Coroutines"

Michael DiBernardo - Tue 15 September 2015 -

Today we've published the third chapter in our early access release for 500 Lines. The chapter was written by A. Jesse Jiryu Davis and Guido van Rossum.

We hope that this chapter provides Python programmers with a deep introduction to how coroutines work, and why and when we should use them. Coroutines first became a hot topic in Python with the release of the asyncio framework; now, in Python 3.5, they are also built directly into the language itself.

Beyond Python, there has been a longstanding tension between thread-based and event-based systems in computer science. It can be helpful to a practising programmer to understand the nuances in this debate, as anyone building things atop frameworks that use these constructs will eventually have to understand them.

We will have chapters on building thread-based and event-based systems in "500 Lines or Less", and we think that this chapter will serve as an interesting contrast to both of these contributions in the final draft of the book.

If you find errors you think are worth reporting, please open an issue on our GitHub tracker.

Enjoy!


Content © The AOSA Editors.
Proudly powered by bootstrap, pelican, python and Alex!