How to write fast modern Python code

I gave a talk at PyCon a few weeks ago, and the video has now been posted. There was also an article at LWN if you prefer to read about it.

The idea behind the talk was that the modern Python optimization efforts (such as we’re doing with Pyston) are making Python performance more complicated for programmers. And in particular, features that you didn’t used to “pay for” (because they were expensive whether or not you used them) are now something that can slow your code down. I talked a bit about the optimizations that are happening, and gave some examples of ways that you can help or hinder the optimizer.

Let me know what you think!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: