Benjamin Peterson

Number of videos:
3
Garbage Collection in Python
PyCon US 2014
Benjamin Peterson
Recorded: April 13, 2014Language: English

This talk will explore how garbage collection is implemented in CPython and PyPy. See how CPython deals reference counting's shortcomings with a special GC for cycle collection. Then dive into PyPy's sophisticated and high-performing GC implementations. The particularly thorny issue of finalizers in reference cycles will also be addressed.

The Guts of Unicode in Python
PyCon US 2013
Benjamin Peterson
Recorded: March 15, 2013Language: English

This talk will examine how Python's internal Unicode representation has changed from its introduction through the latest major changes in Python 3.3. I'll present properties of the current Unicode implementation like algorithmic complexity and standard compliance. The talk will also compare Unicode in Python with some other languages. Finally, I'll look into the future of Python's Unicode.

How the PyPy JIT works
PyCon US 2012
Benjamin Peterson
Recorded: March 10, 2012Language: English

The Python community is abuzz about the major speed gains PyPy can offer pure Python code. But how does PyPy JIT actually work? This talk will discuss how the PyPy JIT is implemented. It will include descriptions of the tracing, optimization, and assembly generation phases. I will demonstrate each step with a example loop.