Share on Facebook Share on Twitter Email
Answers.com

PyPy

 
Wikipedia: PyPy
PyPy
Pypy logo.png
Stable release 1.1 / 2009-04-28; 7 months ago
Written in Python
Operating system Cross-platform
Type Python interpreter and compiler toolchain
License MIT License
Website http://codespeak.net/pypy/

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

Contents

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 programming language using the above framework to enable new advanced features without having to encode low level details into it.[1]

Translation

PyPy consists of a standard interpreter and a translator.

The interpreter is a meta-circular evaluator implementing the full Python language in a restricted subset, called RPython (Restricted Python). Unlike standard Python, RPython is statically typed, to allow efficient compilation.[2]

The translator is a tool chain that analyzes RPython code and translates it to a lower-level language, such as C, Java bytecode 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 with more CPython compatibility some time in early 2009.[3] As of June 2008, PyPy is able to run some popular python libraries like Pylons[4], Pyglet[5] and Divmod's Nevow.[6]

PyPy was funded by the European Union as a STReP[7] 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.

See also

Notes

References

External links



Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
RPython
List of software that uses the MIT License
Psyco

Help us answer these
8ugohgg ggog ggoi o pypy p7r 8t82 2t09t?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "PyPy" Read more