Skip to content

mattip/c_from_python

Repository files navigation

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