Go to content

Stefan Behnel - Get native with Cython

Stefan Behnel - Get native with Cython [EuroPython 2015] [21 July 2015] [Bilbao, Euskadi, Spain] [Cython][1] is not only an excellent and widely used tool to speed up computational Python code, it's also a very comfortable way to talk to native code and libraries. The Cython compiler translates Python code to C or C++ code, and supports static type annotations to allow direct use of C/C++ data types and functions. The tight integration of all three languages makes it possible to freely mix Python features like generators and comprehensions with C/C++ features like native data types, pointer arithmetic or manually tuned memory management in the same code. This talk by a core developer introduces the Cython compiler by interactive code examples and presents recent enhancements in the language that continue to make Cython the best choice for the development of fast and portable Python extensions. **Update:** Examples used in presentation as **[IPython/Jupyter][3]** or **[HTML][2]** [1]: http://cython.org/ [2]: http://consulting.behnel.de/ep/2015/ep15-cython.ipynb [3]: http://consulting.behnel.de/ep/2015/ep15-cython.html

July 20, 2015