Global Information Lookup Global Information

Cython information


Cython
DeveloperRobert Bradshaw, Stefan Behnel, et al.
First appeared28 July 2007; 16 years ago (2007-07-28)[1]
Stable release3.0.10[2] Edit this on Wikidata (30 March 2024; 38 days ago (30 March 2024)) [±]
Preview release3.0.0 beta 2 (27 March 2023; 13 months ago (2023-03-27)[3]) [±]
Implementation languagePython
OSWindows, macOS, Linux
LicenseApache License 2.0
Filename extensions.pyx, .pxd, .pxi [4]
Websitecython.org Edit this at Wikidata
Influenced by
C, Python

Cython (/ˈsθɒn/) is a superset of the programming language Python, which allows developers to write Python code (with optional, C-inspired syntax extensions) that yields performance comparable to that of C.[5][6]

Cython is a compiled language that is typically used to generate CPython extension modules. Annotated Python-like code is compiled to C (also usable from e.g. C++) and then automatically 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. Cython also facilitates wrapping independent C or C++ code into python-importable modules.

Cython is written in Python and C and works on Windows, macOS, and Linux, producing C source files compatible with CPython 2.6, 2.7, and 3.3 and later versions. The Cython source code that Cython compiles (to C) can use both Python 2 and Python 3 syntax, defaulting to Python 2 syntax in Cython 0.x (and Python 3 syntax in Cython 3.x). The default can be overridden (e.g. in source code comment) to Python 3 (or 2) syntax. Since Python 3 syntax has changed in recent versions, Cython may not be up to date with latest addition. Cython has "native support for most of the C++ language" and "compiles almost all existing Python code".[7]

Cython 3.0.0 was released on 17 July 2023.[8]

  1. ^ Behnel, Stefan (2008). "The Cython Compiler for C-Extensions in Python". EuroPython (28 July 2007: official Cython launch). Vilnius/Lietuva.
  2. ^ "Release 3.0.10". 30 March 2024. Retrieved 22 April 2024.
  3. ^ Cython Changelog, cython, 15 May 2023, retrieved 19 May 2023
  4. ^ "Language Basics — Cython 3.0.0a9 documentation". cython.readthedocs.io. Retrieved 9 September 2021.
  5. ^ "Cython - an overview — Cython 0.19.1 documentation". Docs.cython.org. Retrieved 21 July 2013.
  6. ^ Smith, Kurt (2015). Cython: A Guide for Python Programmers. O'Reilly Media. ISBN 978-1-4919-0155-7.
  7. ^ "FAQ · cython/cython Wiki". GitHub. Retrieved 11 January 2023.
  8. ^ "Cython Changelog". cython.org. Retrieved 21 July 2023.

and 19 Related for: Cython information

Request time (Page generated in 0.542 seconds.)

Cython

Last Update:

Cython (/ˈsaɪθɒn/) is a superset of the programming language Python, which allows developers to write Python code (with optional, C-inspired syntax extensions)...

Word Count : 1797

SageMath

Last Update:

than reinventing the wheel, Sage (which is written mostly in Python and Cython) integrates many specialized CAS software packages into a common interface...

Word Count : 891

SpaCy

Last Update:

natural language processing, written in the programming languages Python and Cython. The library is published under the MIT license and its main developers...

Word Count : 638

List of programming languages

Last Update:

Crystal Csound Cuneiform Curl Curry Cybil Cyclone Cypher Query Language Cython CEEMAC D (also known as dlang) Dart Darwin DataFlex Datalog DATATRIEVE dBase...

Word Count : 1324

Numba

Last Update:

alternative approaches for fast numeric computing with Python exist, such as Cython, Pythran, and PyPy. "Release 0.59.1". 19 March 2024. Retrieved 22 March...

Word Count : 319

Gensim

Last Update:

modern statistical machine learning. Gensim is implemented in Python and Cython for performance. Gensim is designed to handle large text collections using...

Word Count : 346

NumPy

Last Update:

source solutions that interoperate with NumPy include numexpr and Numba. Cython and Pythran are static-compiling alternatives to these. Many modern large-scale...

Word Count : 2454

List of statistical software

Last Update:

(HPC) data structures and data analysis tools for Python in Python and Cython (statsmodels, scikit-learn) Perl Data Language – Scientific computing with...

Word Count : 1485

Open reading frame

Last Update:

technologies for justification of ORFs. orfipy is a tool written in Python / Cython to extract ORFs in an extremely and fast and flexible manner. orfipy can...

Word Count : 1898

Pygame

Last Update:

ago (2023-09-18) Repository github.com/pygame/pygame/ Written in Python, C, Cython, and Assembly Operating system Cross-platform Type API License GNU Lesser...

Word Count : 662

Intermediate representation

Last Update:

dialects of Lisp (Lush, Gambit), Squeak's Smalltalk-subset Slang, Nim, Cython, Seed7, SystemTap, Vala, V, and others make use of C as an intermediate...

Word Count : 962

SciPy

Last Update:

writing C/C++ code as Python multiline strings (now deprecated in favor of Cython) The basic data structure used by SciPy is a multidimensional array provided...

Word Count : 771

List of Python software

Last Update:

– Reference distribution that includes only selected standard libraries Cython – programming language to simplify writing C and C++ extension modules for...

Word Count : 3530

PyPy

Last Update:

Free software portal Computer programming portal Bootstrapping (compilers) Cython GraalVM Partial evaluation Psyco Self-hosting Self-interpreter Unladen Swallow...

Word Count : 1677

Local regression

Last Update:

implementation C implementation (from the R project) Lowess implementation in Cython by Carl Vogel Python implementation (in Statsmodels) LOESS Smoothing in...

Word Count : 2557

Psyco

Last Update:

existing program. Free and open-source software portal PyPy Unladen Swallow Cython YARV (Yet another Ruby VM) "psyco / Commits". Bitbucket. Armin Rigo. Tismer...

Word Count : 405

Shed Skin

Last Update:

generated extension module. For examples of this, see the Shed Skin examples. Cython PyPy first Shed Skin release Learning Python Book section on Shed Skin Shed...

Word Count : 620

IronPython

Last Update:

IronScheme Jython – an implementation of Python for the Java Virtual Machine Cython PyPy – a self-hosting interpreter for the Python programming language Tao...

Word Count : 1824

Type system

Last Update:

types respectively. Certain languages, for example Clojure, Common Lisp, or Cython are dynamically type checked by default, but allow programs to opt into...

Word Count : 7252

PDF Search Engine © AllGlobal.net