Brussels / 1 & 2 February 2014

schedule

Integrating Python and C using CFFI


One of Python's early and lasting strengths has been how easy it is to call into or wrap existing C libraries using extension modules. However, there are still many subtle details to take care off and it is all to easy to leak references or memory.

Over time additional mechanisms have been created, like SWIG, ctypes and Cython, all with their own barriers to entry, strong points and limitations. The most recent addition is the CFFI project from PyPy. This talk will try to cover what the limitations of various approaches are and how CFFI tries to address them. Also noting some possible stumbling blocks when chosing CFFI and pointing out where it falls short of it's promises.

Speakers

Floris Bruynooghe