Tuesday
Mar312009
A Curious Course on Coroutines and Concurrency (Python)
20090331 at 08:23 A Curious Course on Coroutines and Concurrency - www.dabeaz.com
| Shameless Plug I teach Python courses for programmers of all levels. If you like this tutorial, consider coming to one of my public classes. -Dave.Introduction to Python, May 11-13, 2009. Python Concurrency Workshop, May 14-15, 2009. |
Copyright (C) 2009, All Rights Reserved David Beazley http://www.dabeaz.com Presented at PyCon 2009, March 25, 2009.Introduction
This tutorial is a practical exploration of using Python coroutines (extended generators) for solving problems in data processing, event handling, and concurrent programming. The material starts off with generators and builds to writing a complete multitasking environment that can run thousands of concurrent tasks without using threads or using code based on event-driven callbacks (i.e., the “reactor” model).
- Presentation Slides (PDF)
in
note | tagged
concurrency,
coroutine,
programming,
python,
tutorial
note | tagged
concurrency,
coroutine,
programming,
python,
tutorial 