The Community for Technology Leaders
RSS Icon
Subscribe
Issue No.02 - March/April (2011 vol.13)
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
ABSTRACT
<p>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.</p>
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 & Engineering, vol.13, no. 2, pp. 31-39, March/April 2011, doi:10.1109/MCSE.2010.118
REFERENCES
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.
303 ms
(Ver 2.0)

Marketing Automation Platform Marketing Automation Tool