Wednesday 16 December 2009

WyPY December 2009

Last week I attended the West Yorkshire Python User Group for the second time. There were two talks which I'll give an overview of.

The first, by Wavy (Simon) Davy, was a tour of his experience of Python networking frameworks, specifically Twisted. He contrasted thread-based against non-blocking asynchronous approaches, and demonstrated how the latter afforded significant improvements for a project he was working on.

The second from Peter Russell, was pretty hardcore - he talked about Issue 4753 (I believe) http://bugs.python.org/issue4753. In summary, early versions of Python used a large switch statement to interrogate and dispatch to the correct function to process various opcodes in Python bytecode. He then showed how a recent reworking of the code allowed CPUs to do more clever branch prediction in the execution pipeline!

I promised to provide a talk to the guys next week regarding Zope components, via Grok. Looking forward to it! :-)

No comments: