Skip to content

mattip/c_from_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

49e480a · Jul 31, 2021

History

36 Commits
May 29, 2019
Jun 2, 2019
Jul 31, 2021
Aug 26, 2019
Aug 26, 2019
May 29, 2019
Aug 26, 2019
Jun 13, 2017
Jun 5, 2019
Jun 5, 2019
Jun 13, 2017
Aug 26, 2019
Aug 26, 2019
Jun 5, 2019
Jun 7, 2017

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