Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattip/c_from_python
Calling C from Python
https://github.com/mattip/c_from_python
cffi cppyy ctypes cython python
Last synced: 11 days ago
JSON representation
Calling C from Python
- Host: GitHub
- URL: https://github.com/mattip/c_from_python
- Owner: mattip
- License: other
- Created: 2017-06-04T14:07:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-31T20:33:38.000Z (over 3 years ago)
- Last Synced: 2024-05-02T02:12:53.923Z (6 months ago)
- Topics: cffi, cppyy, ctypes, cython, python
- Language: Jupyter Notebook
- Homepage:
- Size: 2.52 MB
- Stars: 83
- Watchers: 8
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calling C from Python
Comparing CFFI, Ctypes, Cython, CPPYYA 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](https://youtu.be/tqx9VW7V3Lc)
at PyCon Israel 2017