Cython

A Static Compiler for the Python and Cython Languages

Introduction

Cython is both a language and a static compiler. As a language, it is designed to leverage the speed and power of C while retaining the simplicity and ease of programming provided by Python. The language is targeted towards writing extensions for the Python language and contains the ability to interface with C-language functions. The compiler allows these extensions to be pre-compiled before use which can significantly improve the performance of Python programs.

Using Cython on RCC Resources

Cython is only available on the Spear nodes. No module needs to be loaded in order to work with the language or the compiler. For detailed usage examples and tutorials, please refer to the Cython Documentation.