8000 GitHub - nelyajizi/c_from_python: Calling C from Python
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nelyajizi/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

About

Calling C from Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 81.2%
  • HTML 16.7%
  • Python 1.4%
  • Other 0.7%
0