Cython: The best of both worlds

Stefan Behnel*, Robert Bradshaw, Craig Citro, Lisandro Dalcin, Dag Sverre Seljebotn, Kurt Smith

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

424 Scopus citations

Abstract

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.

Original languageEnglish (US)
Article number5582062
Pages (from-to)31-39
Number of pages9
JournalComputing in Science and Engineering
Volume13
Issue number2
DOIs
StatePublished - Mar 1 2011

Keywords

  • Cython
  • Python
  • numerics
  • scientific computing

ASJC Scopus subject areas

  • Computer Science(all)
  • Engineering(all)

Cite this