Python Previous Work¶
There a several available tools to creating a Python interface to a C or C++ library.
Cython¶
http://blog.kevmod.com/2020/05/python-performance-its-not-just-the-interpreter/
I ran Cython (a Python->C converter) on the previous benchmark, and it runs in exactly the same amount of time: 2.11s. I wrote a simplified C extension in 36 lines compared to Cython’s 3600, and it too runs in 2.11s.
Shiboken¶
Shiboken was developed to create PySide.