c_from_python icon indicating copy to clipboard operation
c_from_python copied to clipboard

Calling C from Python

Calling C from Python

Comparing CFFI, Ctypes, Cython, CPPYY

A comparison of four ways to call from python into a c function. I show the advantages and disadvantages of all 4: boilerplate required, maintenance, speed.

If you read all the way through, there is a suprise at the end. No fair peeking.

An earlier version of this notebook was part of this talk at PyCon Israel 2017