/c_from_python

Calling C from Python

Primary LanguageJupyter NotebookOtherNOASSERTION

Calling C from Python

Comparing CFFI, Ctypes, Cython, CPPYY: the Good, the Bad the Powerful and the Unknown

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.