definition of Wikipedia
|Stable release||1.9 / 8 June 2012|
|Programming language used||Python|
|Type||Python interpreter and compiler toolchain|
|This article relies on references to primary sources or sources affiliated with the subject. (October 2011)|
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. The fact that PyPy is implemented in a high level language makes it 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, emphasizing 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.
PyPy consists of a standard interpreter and a translator.
The interpreter implements the full Python language. The interpreter itself is written in a restricted subset of Python, called RPython (Restricted Python). Unlike standard Python, RPython is statically typed, to allow efficient compilation.
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. It also allows for pluggable garbage collectors as well as optionally enabling Stackless. Finally it includes a JIT generator which builds a just-in-time compiler into the interpreter, given a few annotations in the interpreter source code. The generated JIT compiler is a tracing JIT.
The latest PyPy release, PyPy 1.9, is CPython 2.7.2 compatible. It runs on 32- and 64-bit Intel x86 architecture and includes a JIT compiler. It's tested nightly on Windows, Linux and Mac OS X. PyPy is able to run pure Python software that does not rely on implementation-specific features. A translation for CPython C API extensions exists, but is incomplete and experimental. Interfacing with shared libraries is recommended via the ctypes infrastructure.
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. Reaching a mature state of development and an official 1.0 release in mid-2007, its next focus was on releasing a production-ready version with more CPython compatibility. Version 1.1 was released on April 28, 2009. Many of PyPy's changes have been made during coding sprints.
In March 2010, PyPy 1.2 was released, focusing on speed. It included a just-in-time compiler, which works, but was not advised to be run in production environments. Along with the 1.2 release, the website was redesigned and a new PyPy speed center for tracking progress was brought up.
In December 2010, PyPy 1.4, the first PyPy suitable for production use was released. PyPy 1.4 is compatible with Python 2.5.
On April 30, 2011, PyPy 1.5 was released. PyPy 1.5 is compatible with Python 2.7.1.
On August 18, 2011, PyPy 1.6 was released.
On November 21, 2011, PyPy 1.7 was released.
On February 10, 2012, PyPy 1.8 was released, compatible with Python 2.7.2.
On June 8, 2012, PyPy 1.9 was released.
PyPy was funded by the European Union as a Specific Targeted Research Project 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. In 2009 Eurostars, a European Union funding agency specially focused on SMEs, accepted a proposal from PyPy project members entitled: "PYJIT - a fast and flexible toolkit for dynamic programming languages based on PyPy". Eurostars funding lasted until August 2011. At PyCon US 2011, the Python Software Foundation provided a $10,000 grant for PyPy to continue work on performance and compatibility with newer versions of the language. The PyPy project also accepts donations through its status blog pages.
Dictionary and translator for handheld
New : sensagent is now available on your handheld
A windows (pop-into) of information (full-content of Sensagent) triggered by double-clicking any word on your webpage. Give contextual explanation and translation from your sites !
With a SensagentBox, visitors to your site can access reliable information on over 5 million pages provided by Sensagent.com. Choose the design that fits your site.
Improve your site content
Add new content to your site from Sensagent by XML.
Crawl products or adds
Get XML access to reach the best products.
Index images and define metadata
Get XML access to fix the meaning of your metadata.
Please, email us to describe your idea.
Lettris is a curious tetris-clone game where all the bricks have the same square shape but different content. Each square carries a letter. To make squares disappear and save space for other squares you have to assemble English words (left, right, up, down) from the falling squares.
Boggle gives you 3 minutes to find as many words (3 letters or more) as you can in a grid of 16 letters. You can also try the grid of 16 letters. Letters must be adjacent and longer words score better. See if you can get into the grid Hall of Fame !
Change the target language to find translations.
Tips: browse the semantic fields (see From ideas to words) in two languages to learn more.