Talk Using cython to accelerate Python with compiled code

Presented by Dag Sverre Seljebotn (University of Oslo) in Advanced tutorial track 2010 on 2010/07/08 from 16:00 to 17:30 in room Dussane
Abstract

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. The Cython language is very close to the Python language, but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code. In addition, Cython is tightly integrated with numpy.

This tutorial will teach the attendee:

  • an introduction to the Cython language
  • how to converting numerical Python code to Cython code
  • how to optimize the corresponding Cython