This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Cython: The Best of Both Worlds
March/April 2011 (vol. 13 no. 2)
pp. 31-39
Stefan Behnel, TU Darmstadt
Craig Citro, Google
Lisandro Dalcin, National University of the Litoral, Santa Fe
Dag Sverre Seljebotn, University of Oslo
Kurt Smith, University of Wisconsin-Madison

Cython is a Python language extension that allows explicit type declarations and is compiled directly to C. As such, it addresses Python's large overhead for numerical loops and the difficulty of efficiently using existing C and Fortran code, which Cython can interact with natively.

1. S. van der Walt, S.C. Colbert, and G. Varoquaux, "The NumPy Array: A Structure for Efficient Numerical Computation," Computing in Science & Eng., vol. 13, no. 2, 2011, pp. 22–30.
2. F. Alted, "Why Modern CPUs are Starving and What Can Be Done About It," Computing in Science & Eng., vol. 12, no. 2, 2010, pp. 68–71.
3. J. Bergstra et al., "Optimized Symbolic Expressions and GPU Metaprogramming with Theano," Proc. 9th Python in Science Conf., SciPy Community, 2010; www.iro.umontreal.ca/~lisa/publications2/ index.php/publications/show461.
4. S. Behnel, R.W. Bradshaw, and D.S. Seljebotn, "Cython Tutorial," Proc. 8th Python in Science Conf., SciPy Community, 2009, http://conference.scipy.org/proceedings/ SciPy2009paper.1.
5. D.S. Seljebotn, "Fast Numerical Computations with Cython," Proc. 8th Python in Science Conf., SciPy Community, 2009; http://conference.scipy.org/proceedings/ SciPy2009paper.2.

Index Terms:
Python, Cython, numerics, scientific computing
Citation:
Stefan Behnel, Robert Bradshaw, Craig Citro, Lisandro Dalcin, Dag Sverre Seljebotn, Kurt Smith, "Cython: The Best of Both Worlds," Computing in Science and Engineering, vol. 13, no. 2, pp. 31-39, March-April 2011, doi:10.1109/MCSE.2010.118
Usage of this product signifies your acceptance of the Terms of Use.