Self-hosting Python

29 נובמבר, 2010 -

  • English

PyPy is a very interesting project for making a Python with a compiler and a JITter, written in Python.

Now, with the release of PyPy 1.4, they claim near-full compatibility with CPython 2.5 (they're even working on C API compatibility; it seems that they've almost reached source-level compatibility, and binary compatibility is in the works). They also show a set of benchmarks where they're much faster than CPython. The release message reported that the project members are using PyPy for most of their everyday needs, as a production tool.

For those of you who may be wondering, PyPy also appears to be the third Python implementation to run Django (after CPython and Jython) — with the limitation that they've only tested it with SQLite.

PyPy offers a host of other interesting features: A Stackless version, a selection of "back-ends" including .Net CLR and (unfinished) JVM, and considerable work on "front-ends" — other languages compiled by the same engine, including Prolog, JavaScript, and Smalltalk.

This is a promising project, but it already delivers.

Leave a comment!

  • Language

  • Blogroll

  • פוסטים אחרונים

  • Categories