Dag Sverre Seljebotn will present Cython, of which he is one of the developers.
Cython is a superset of the Python language which, when translated to C and compiled, can be loaded as an extension module into the standard CPython interpreter.
The Cython language is essentially Python with optional typing and a bit of low-level C thrown in. One can use it to:
- Wrap C and C++ libraries. Whereas some other tools (SWIG) offer 1:1 API translation, Cython is more about conveniently writing a high-level Python interface on top of a low-level library.
- Speed. Cython is very popular in scientific Python in order to do number crunching.
I'll provide a general introduction with some examples both from calling a C library and from number crunching, and then we'll be able to dive into the use cases of the group present and see if Cython is a good fit for your particular problems.