Cython is a programming language that simplifies the writing of C programming language extension modules for Python. The language's syntax is almost identical (a super-set) to Python, but it supports calling C functions directly and declaring C types on variables and class attributes. It is translated into C code, which is ready to be compiled as Extension Module for Python.
| Property | Value |
| dbpedia-owl:Work/genre
| |
| dbpedia-owl:genre
| |
| dbpprop:abstract
|
- Cython is a programming language that simplifies the writing of C programming language extension modules for Python. The language's syntax is almost identical (a super-set) to Python, but it supports calling C functions directly and declaring C types on variables and class attributes. It is translated into C code, which is ready to be compiled as Extension Module for Python. The special advantage of this seamless Python/C intermix approach is, that existing Python code can be tuned to almost the speed of C by just adding a few static type declarations and by making some adaptations in critical loops - without requiring complicated interface code. The coding speed and the readability of the code remains very Pythonic. The typical speed-up for numerical/array computations is about 100x. In comparison, the typical speed-up with Psyco is about 4x. Cython is a derivative of the Pyrex programming language, and supports more features and optimizations than Pyrex. The free software SAGE computer algebra system is partially written in Cython. Cython is written in Python and works on Windows, Linux, and Mac OS X.
- Cython est un langage de programmation qui simplifie l'écriture d'extension en langage C pour Python. La syntaxe du langage est très similaire à Python mais il supporte l'appel à des fonctions en C et la déclaration d'attributs de classes de type C. Il est traduit en langage C qui peut être utilisé avec Python. Cython est un fork du langage de programmation Pyrex, mais il comporte plus de fonctionnalités et d'optimisation que Pyrex. Le logiciel libre d'algèbre informatique SAGE est partiellement écrit en Cython. Cython est disponible dans de nombreuses distributions Linux ainsi que sous Mac OS X via MacPorts.
- Cython は、C言語によるPythonの拡張モジュールの作成の労力を軽減することを目的として開発されたプログラミング言語である。その言語仕様はほとんど Python のものと同じ (上位互換) だが、Cの関数を直接呼び出したり、C言語の変数の型やクラスを宣言できるなどの拡張が行われている。Cython の処理系ではソースファイルを C のコードに変換し、コンパイルすれば Python の拡張モジュールになるようにして出力する。 このように C と Python をシームレスに取り混ぜて扱う Cython の利点の一つは、既にある Python コードを、いくつかの静的な型 を宣言して律速なループをうまく書き直すだけで、コンパイル後のコードの実行速度がC言語並みに高速化されることである。複雑なC言語インターフェイスを使う必要はない。コーディングのしやすさと可読性は Python と変わらない、つまり Pythonic なままである。数値計算/配列操作では、多くの場合実行速度がおおよそ100倍になる。Python の JIT コンパイラである Psyco の場合はおおよそ 4 倍である。 Cython は Pyrex 言語から派生したもので、Pyrex に比べると様々な機能や高度な最適化が加えられている。 フリーの数値計算・数式処理システムであるSAGE の一部は Cythod で書かれている。 Cython の処理系は Python で書かれており、Windows、Linux、Mac OS X で実行できる。
|
| dbpprop:date
| |
| dbpprop:developer
|
- Robert Bradshaw, Stefan Behnel, et al.
|
| dbpprop:discuss
|
- Talk:Pyrex (programming language) Merger proposal
|
| dbpprop:genre
| |
| dbpprop:latestReleaseDate
| |
| dbpprop:latestReleaseVersion
| |
| dbpprop:name
| |
| dbpprop:operatingSystem
| |
| dbpprop:portalProperty
|
- Free Software Portal Logo.svg
- Free software
|
| dbpprop:reference
| |
| dbpprop:website
| |
| dbpprop:wikiPageUsesTemplate
| |
| rdf:type
| |
| rdfs:comment
|
- Cython is a programming language that simplifies the writing of C programming language extension modules for Python. The language's syntax is almost identical (a super-set) to Python, but it supports calling C functions directly and declaring C types on variables and class attributes. It is translated into C code, which is ready to be compiled as Extension Module for Python.
- Cython est un langage de programmation qui simplifie l'écriture d'extension en langage C pour Python. La syntaxe du langage est très similaire à Python mais il supporte l'appel à des fonctions en C et la déclaration d'attributs de classes de type C. Il est traduit en langage C qui peut être utilisé avec Python. Cython est un fork du langage de programmation Pyrex, mais il comporte plus de fonctionnalités et d'optimisation que Pyrex.
|
| rdfs:label
| |
| skos:subject
| |
| foaf:homepage
| |
| foaf:name
| |
| foaf:page
| |
| is dbpprop:programmingLanguage
of | |