mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
5ec7bed73e
- Update WWW and clean up pkg-descr Changes: https://github.com/cython/cython/blob/master/CHANGES.rst
15 lines
675 B
Plaintext
15 lines
675 B
Plaintext
The Cython language makes writing C extensions for the Python language
|
|
as easy as Python itself. Cython is a source code translator based on
|
|
the well-known Pyrex, but supports more cutting edge functionality and
|
|
optimizations.
|
|
|
|
The Cython language is very close to the Python language (and most
|
|
Python code is also valid Cython code), 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.
|
|
|
|
This makes Cython the ideal language for writing glue code for external
|
|
C libraries, and for fast C modules that speed up the execution of
|
|
Python code.
|