Cython: The Best of Both Worlds
Venue
Computing in Science and Engineering, vol. 13.2 (2011), pp. 31-39
Publication Year
2011
Authors
Stefan Behnel, Robert Bradshaw, Craig Citro, Lisandro Dalcin, Dag Sverre Seljebotn, Kurt Smith
BibTeX
Abstract
Cython is an extension to the Python language that allows explicit type
declarations and is compiled directly to C. This addresses Python's large overhead
for numerical loops and the difficulty of efficiently making use of existing C and
Fortran code, which Cython code can interact with natively. The Cython language
combines the speed of C with the power and simplicity of the Python language.
