Several implementation versions of the "Python" Python interpreter __python

Source: Internet
Author: User
Tags python script in python

Read a table of contents CPython pypy Psyco Jython IronPython clpython PyS60 activepython cython qpython kivy sl4a Other

We all know Python's interpreter has a lot of implementations, there are C, Java, and Python, and so on, corresponding to the Cpython,jython, has been relatively fire pypy, today to take stock of these versions (not necessarily very full) CPython

CPython is the default Python implementation, or the environment or interpreter (which you like to call it). The script runs in most cases in this interpreter. CPython is the official Python interpreter, implemented entirely according to Python specifications and language definitions, so it is used as a reference version of the other version implementations. CPython is written in C, and Pythond code is converted to bytecode (bytecode) when the code is executed. So CPython is a byte code interpreter. When we download the installation package from the Python website, or install it through a similar "Apt-get" or "yum" tool, the CPython version is installed. Back to the top of the pypy

*pypy * is a very similar implementation in many places and CPython, but the interpreter itself is written in Python. That means developers have written a Python interpreter in Python. However, the interpreter's code is first converted to C and then compiled. PyPy is considered to be better than the CPython performance. Because CPython converts code into bytecode, PyPy converts the code into machine code. Back to the top of the Psyco

Psyco is a similar pypy, but a good interpreter. has now been replaced by PyPy, if possible, using PyPy instead of Psyco. Back to the top of the Jython

Jython is an interpreter that is implemented in Java. Jython allows programmers to write Python code, and can also load Java modules into Python modules for use. Jython uses JIT technology, which means that the Run-time Python code is first converted to Java bytecode (not Java source code) and then executed using JRE. Programmers can also use Jython to make Python code jar packs, which can be used directly as jars packaged in Java programs. This allows the Python programmer to write Java programs. However, you must know which Java modules can be used in Jython, and then use the Python syntax to write programs. Jython compatible Python2, you can also use the command line to write interactive programs. Back to the top of the IronPython

IronPython is implemented using the C # language and can be used with interpreters on the. NET and Mono platforms. IronPython is compatible with Silverlight and can be executed directly in the browser with Gestalt. IronPython is also compatible with Python2.

Tip:mono is provided. Open source framework for net-compatible tools. Back to the top of the Clpython

Clpython is an interpreter that is implemented with Common Lisp and is not currently advocated for use. It allows Python and Common Lisp code to be mixed. Compatible with Python2. Back to the top of the PyS60

PyS60 (Python for S60) is an implementation version of the Nokia S60 platform and is not in favor of using it. Back to the top of the ActivePython

ActivePython is an implementation that is based on CPython and then adds a series of extensions. was released by ActiveState. Python2 and Python3 are compatible. Back to the top of the Cython

Cython (not CPython) is an implementation that allows the Python code to be converted into C + + code or to use a variety of C + + modules/files. In other words, Cython is a bridge between C + + and Python. Cython is also a dialect of Python. Developers can also use Cython to execute Python scripts and perform more efficiently than CPython. In addition, developers can write a Python script, using Cython to compile (Linux. So or a. dll on Windows) class library and use it as a Python module. The Cython script uses *.pyx as the extension name. Cython compatible with Python2 and Python3.

Tips:python module modules and Class library libraries is a thing, just a different name. Back to the top of the Qpython

Qpython is an Android interface to the CPython interpreter. Qpython from Python's Android module. You can find Qpython in Google play. Back to the top of the Kivy

Kivy is an open-source framework (using the Python interpreter) that can run on Android, IOS, Windows, Linux, MeeGo, Android SDK, and OS x platforms. Support Python3, developers are developing their compatible cython on Python3. Back to the top of the sl4a

SL4A (scripting Layer for Android) is a compatible layer that allows Android to execute a variety of scripting languages. SL4A has a lot of modules, and we're more concerned with "py4a" (Python for Android). PY4A is a kind of cpython on Androping stage. Back to the top of the other

There are many other different implementations. For example, Wpython,dspython see wikis.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.