Content deleted Content added
m Bot: http → https |
Ascchrvalstr (talk | contribs) m Copyedit |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
{{Distinguish|CPython}}
{{Use dmy dates|date=February 2014}}
{{short description|Programming language}}
{{Infobox programming language | name = Cython
| logo = Cython logo.svg
Line 10 ⟶ 11:
| influenced_by = [[C (programming language)|C]], [[Python (programming language)|Python]]
| operating_system = [[Windows]], [[macOS]], [[Linux]]
| file_ext = .pyx, .pxd, .pxi
| website = {{official URL}}
}}
Line 16 ⟶ 17:
'''Cython''' ({{IPAc-en|ˈ|s|aɪ|θ|ɒ|n}}) is a [[superset]] of the programming language [[Python (programming language)|Python]], which allows developers to write Python code (with optional, C-inspired syntax extensions) that yields performance comparable to that of [[C (programming language)|C]].<ref>{{cite web |url=https://docs.cython.org/src/quickstart/overview.html |title=Cython - an overview — Cython 0.19.1 documentation |publisher=Docs.cython.org |access-date=21 July 2013}}</ref><ref>{{cite book |last1=Smith |first1=Kurt |title=Cython: A Guide for Python Programmers |date=2015 |publisher=[[O'Reilly Media]] |isbn=978-1-4919-0155-7 |url=https://shop.oreilly.com/product/0636920033431.do}}</ref>
Cython is a [[compiled language]] that is typically used to generate [[CPython]] extension modules. Annotated Python-like code is compiled to C and then automatically [[wrapper library|wrapped in interface code]], producing extension modules that can be loaded and used by regular Python code using the import statement, but with significantly less computational overhead at [[Run time (program lifecycle phase)|run time]]. Cython also facilitates wrapping independent C or C++ code into
Cython is written in Python and C and works on [[Microsoft Windows|Windows]], [[macOS]], and [[Linux]],
Cython 3.0.0 was released on 17 July 2023.<ref>{{Cite web |title=Cython Changelog |url=https://cython.readthedocs.io/en/latest/src/changes.html |access-date=21 July 2023 |website=cython.org |language=en}}</ref>
Line 164 ⟶ 165:
* [[PyPy]]
* [[Numba]]
* [[pybind]]
== References ==
|