My Three Introductions to Open Source

I didn't particularly enjoy my first introductions to open source:

Later I found out I wasn't alone. This tweet ended up in a conference talk about how contributing to open source is a hassle:

So what makes starting out in open source so difficult?

Read more…

CPython vs PyPy Memory Usage

If you have lots of "small" objects in a Python program (objects which have few instance attributes), you may find that the object overhead starts to become considerable. The common wisdom says that to reduce this in CPython you need to re-define the classes to use __slots__, eliminating the attribute dictionary. But this comes with the downsides of limiting flexibility and eliminating the use of class defaults. Would it surprise you to learn that PyPy can significantly, and without any effort by the programmer, reduce that overhead automatically?

Let's take a look.

Read more…