1 min read

Cython 3.0

Cython 3.0
Photo by Emile Perron / Unsplash

The Cython 3.0 project, a compiler for Python and Cython languages, has been released. The compiler translates Python code into C/C++ representation and provides additional features for Python and C code interaction.

Cython is most needed to create Python bindings around C libraries and to create C modules that speed up the execution of Python code.

Cython extends Python with facilities for direct invocation of C functions, supports the definition of variables with C types, and allows the resulting Cython code to be compiled into a C representation, which is then assembled by the standard system compiler.

The use of advanced Cython language features allows you to significantly increase the efficiency of the code produced by the compiler.