Cython Tutorial - Bridging between Python and C/C++ for performance gains


Welcome to a Cython tutorial.

Upvotes: DownVotes:
Age: a year     Page Views: 93262
Votes / View: 16    Wilson Score: 0.97

The purpose of Cython is to act as an intermediary between Python and C/C++. At its heart, Cython is a superset of the Python language, which allows you to add typing information and class attributes that can then be translated to C code and to C-Extensions for Python.

Text-based tutorial and sample code: