| 1 |
================================== |
| 2 |
PyPy 1.2: Just-in-Time Compilation |
| 3 |
================================== |
| 4 |
|
| 5 |
Welcome to the PyPy 1.2 release. The highlight of this release is |
| 6 |
to be the first that ships with a Just-in-Time compiler that is |
| 7 |
known to be faster than CPython (and unladen swallow) on some |
| 8 |
real-world applications (or the best benchmarks we could get for |
| 9 |
them). The main theme for the 1.2 release is speed. |
| 10 |
|
| 11 |
Main site: |
| 12 |
|
| 13 |
https://pypy.org/ |
| 14 |
|
| 15 |
The JIT is stable and we don't observe crashes. Nevertheless we |
| 16 |
would recommend you to treat it as beta software and as a way to try |
| 17 |
out the JIT to see how it works for you. |
| 18 |
|
| 19 |
|
| 20 |
Highlights of This Release |
| 21 |
========================== |
| 22 |
|
| 23 |
* The JIT compiler. |
| 24 |
|
| 25 |
* Various interpreter optimizations that improve performance |
| 26 |
as well as help save memory. |
| 27 |
|
| 28 |
* Introducing a new PyPy website at https://pypy.org/ , made by |
| 29 |
tav and improved by the PyPy team. |
| 30 |
|
| 31 |
* Introducing https://speed.pypy.org/ , a new service that |
| 32 |
monitors our performance nightly, made by Miquel Torres. |
| 33 |
|
| 34 |
* There will be ubuntu packages on "PyPy's PPA" made by |
| 35 |
Bartosz Skowron; however various troubles prevented us from |
| 36 |
having them as of now. |
| 37 |
|
| 38 |
|
| 39 |
Known JIT problems (or why you should consider this beta software): |
| 40 |
|
| 41 |
* The only supported platform is 32bit x86 for now, we're |
| 42 |
looking for help with other platforms. |
| 43 |
|
| 44 |
* It is still memory-hungry. There is no limit on the amount |
| 45 |
of RAM that the assembler can consume; it is thus possible |
| 46 |
(although unlikely) that the assembler ends up using |
| 47 |
unreasonable amounts of memory. |
| 48 |
|
| 49 |
|
| 50 |
If you want to try PyPy, go to the "download page" on our excellent |
| 51 |
new site at https://pypy.org/download.html and find the binary for |
| 52 |
your platform. If the binary does not work (e.g. on Linux, because |
| 53 |
of different versions of external .so dependencies), or if your |
| 54 |
platform is not supported, you can try building from the source. |
| 55 |
|
| 56 |
|
| 57 |
What is PyPy? |
| 58 |
============= |
| 59 |
|
| 60 |
Technically, PyPy is both a Python interpreter implementation and an |
| 61 |
advanced compiler, or more precisely a framework for implementing |
| 62 |
dynamic languages and generating virtual machines for them. The |
| 63 |
focus of this release is the introduction of a new transformation, |
| 64 |
the JIT Compiler Generator, and its application to the Python |
| 65 |
interpreter. |
| 66 |
|
| 67 |
Socially, PyPy is a collaborative effort of many individuals working |
| 68 |
together in a distributed and sprint-driven way since 2003. PyPy |
| 69 |
would not have gotten as far as it has without the coding, feedback |
| 70 |
and general support from numerous people. |
| 71 |
|
| 72 |
|
| 73 |
The PyPy release team, |
| 74 |
Armin Rigo, Maciej Fijalkowski and Amaury Forgeot d'Arc |
| 75 |
|
| 76 |
Together with |
| 77 |
Antonio Cuni, Carl Friedrich Bolz, Holger Krekel and |
| 78 |
Samuele Pedroni |
| 79 |
|
| 80 |
and many others: |
| 81 |
https://codespeak.net/pypy/dist/pypy/doc/contributor.html |