Cython: CExtensions for Python

Cython: CExtensions for Python,第1张

Cython: C-Extensions for Python

About Cython

Cython is a language that makes writing C extensions for the
Python language as easy as Python itself.
Cython is based on the well-known Pyrex, but supports more
cutting edge functionality and optimizations.

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.
The generated C code compiles with Python 2.4 and later (including Python 3).

This makes Cython the ideal language for wrapping external C libraries,
and for fast C modules that speed up the execution of Python code.

Documentation

  • Cython Documentation
  • The Cython Wiki.
  • Pyrex FAQ
    and Cython FAQ
  • SciPy 2009 proceedings (pdf):
    Cython Tutorial;
    Fast Numerical Computations with Cython

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2090509.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存