PyPy

PyPy

Infobox Software
name = PyPy



caption =
developer =
programming language = Python
latest_release_version = 1.0
latest_release_date = March 27, 2007
operating_system = Cross-platform
genre = Python interpreter and compiler toolchain
license = MIT License
website = http://codespeak.net/pypy/

PyPy is a self-hosting interpreter for the Python programming language.

Details and motivation

PyPy was conceived as an implementation of Python written in Python, which enables Python developers to hack the implementation. This makes it easy to identify areas where it can be improved. PyPy is also more flexible and easier to experiment with than CPython, thus allowing developers to experiment with multiple implementations of specific features.

PyPy aims to provide a common translation and support framework for producing implementations of dynamic languages, emphasising a clean separation between language specification and implementation aspects. It also aims to provide a compliant, flexible and fast implementation of the Python Language using the above framework to enable new advanced features without having to encode low level details into it. . [ cite web | author = Samuele Pedroni | month = March | year = 2007 | title = PyPy - Goals and Architecture Overview | url = http://codespeak.net/pypy/dist/pypy/doc/architecture.html#mission-statement ]

Translation

PyPy consists of the "standard interpreter" and a "translator". The interpreter is written in a restricted subset of the Python language, called RPython (Restricted Python). Unlike standard Python, RPython can be statically compiled. The translator is a tool chain that analyzes RPython code and translates it to a lower-level language, such as C, LLVM or Common Intermediate Language.

Project status

PyPy is a followup to the Psyco project, a just-in-time specializing compiler for Python, developed by Armin Rigo. PyPy's aim is to have a just-in-time specializing compiler with scope which was not available for Psyco.

PyPy began as a research and development-oriented project. But after reaching a mature state of development and an official 1.0 release in mid-2007, its current focus is on releasing a production-ready version some time during 2008. As of June 2008, PyPy is able to run some popular python libraries like Pylons [cite web|title = Running pylons on top of PyPy | url = http://morepypy.blogspot.com/2008/06/running-pylons-on-top-of-pypy.html] , Pyglet [cite web|title = Running Pyglet on top of PyPy | url = http://morepypy.blogspot.com/2008/02/running-pyglet-on-pypy.html] and Divmod's Nevow [cite web| title=Running Nevow on top of PyPy| url = http://morepypy.blogspot.com/2008/06/running-nevow-on-top-of-pypy.html] PyPy was funded by the European Union as a STReP [cite web|title = PyPy EU project page | url = http://pypy.org/ ] between December 2004 and March 2007. In June 2008, PyPy announced funding as part of the Google Open Source programs, and has agreed to focus on making PyPy more compatible with CPython.

References

See also

* Bootstrapping (compilers)
* Self-hosting
* Self-interpreter

External links

* [http://codespeak.net/pypy/dist/pypy/doc/home.html PyPy Homepage]
* [http://morepypy.blogspot.com Official status blog]


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • PyPy — Тип Интерпретатор и компилятор Python Написана на Python Операционная система Кроссплатформенный Последняя версия 1.9 (8 июня 201 …   Википедия

  • PyPy — Entwickler Armin Rigo, Samuele Pedroni, Christian Tismer, Holger Krekel u. a. Aktuelle Version 1.6 (19. August 2011) Betriebssystem Windows, Mac OS X, Linux, u. v. m. Kategorie …   Deutsch Wikipedia

  • PyPy — Saltar a navegación, búsqueda PyPy Desarrollador Proyecto PyPy Sitio Oficial …   Wikipedia Español

  • PyPy — est une mise en œuvre du langage Python écrite elle même en Python, avec une architecture flexible. Sommaire 1 Le projet 1.1 Historique 1.2 PyPy 2 Implémentation de Python …   Wikipédia en Français

  • pypynė — pypỹnė sf. (2), pỹpynė (1) NdŽ, pypìnė (2) [K]; N, pipỹnė (2) BŽ504,605 1. SD251, P, D.Pošk dūdelė, švilpynė: Pypynė (orig. pipine), kurią skersai nasrump pridėtą pučia SD53. Kokia te jo dūdelė: pasdarė pypynę ir birbia Trgn. Turėjo… …   Dictionary of the Lithuanian Language

  • pypytiniai — sm. pl. (1) NdŽ; LBŽ, P.Snar bot. tokia augalų šeima (Cannaceae) …   Dictionary of the Lithuanian Language

  • pypytė — sf. (1) NdŽ; P, EncIV1380 bot. pypytinių šeimos augalas (Canna): Indijinė (indinė NdŽ) pypytė (darželiuose auginamas iš Vidurio Amerikos kilęs dekoratyvinis augalas; C. indica) LBŽ …   Dictionary of the Lithuanian Language

  • Пайтон — Python Класс языка: функциональный, объектно ориентированный, императивный, аспектно ориентированный Тип исполнения: интерпретация байт кода, компиляция в MSIL, компиляция в байт код Java Появился в: 1990 г …   Википедия

  • Python — У этого термина существуют и другие значения, см. Python (значения). Python Класс языка: му …   Википедия

  • Python (programming language) — infobox programming language name = Python paradigm = multi paradigm: object oriented, imperative, functional year = 1991 designer = Guido van Rossum developer = Python Software Foundation latest release version = 2.6 latest release date =… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”