Debian Codegraph @

pypy/doc/release-0.8.0.rst

raw
1 pypy-0.8.0: Translatable compiler/parser and some more speed
2 ==============================================================
3
4 The PyPy development team has been busy working and we've now packaged
5 our latest improvements, completed work and new experiments as
6 version 0.8.0, our third public release.
7
8 The highlights of this third release of PyPy are:
9
10 - Translatable parser and AST compiler. PyPy now integrates its own
11 compiler based on Python own 'compiler' package but with a number
12 of fixes and code simplifications in order to get it translated
13 with the rest of PyPy. This makes using the translated pypy
14 interactively much more pleasant, as compilation is considerably
15 faster than in 0.7.0.
16
17 - Some Speed enhancements. Translated PyPy is now about 10 times
18 faster than 0.7 but still 10-20 times slower than
19 CPython on pystones and other benchmarks. At the same time,
20 language compliance has been slightly increased compared to 0.7
21 which had already reached major CPython compliance goals.
22
23 - Some experimental features are now translatable. Since 0.6.0, PyPy
24 shipped with an experimental Object Space (the part of PyPy
25 implementing Python object operations and manipulation) implementing
26 lazily computed objects, the "Thunk" object space. With 0.8.0 this
27 object space can also be translated preserving its feature
28 additions.
29
30 What is PyPy (about)?
31 ------------------------------------------------
32
33 PyPy is a MIT-licensed research-oriented reimplementation of
34 Python written in Python itself, flexible and easy to
35 experiment with. It translates itself to lower level
36 languages. Our goals are to target a large variety of
37 platforms, small and large, by providing a compilation toolsuite
38 that can produce custom Python versions. Platform, Memory and
39 Threading models are to become aspects of the translation
40 process - as opposed to encoding low level details into a
41 language implementation itself. Eventually, dynamic
42 optimization techniques - implemented as another translation
43 aspect - should become robust against language changes.
44
45 Note that PyPy is mainly a research and development project
46 and does not by itself focus on getting a production-ready
47 Python implementation although we do hope and expect it to
48 become a viable contender in that area sometime next year.
49
50 PyPy is partially funded as a research project under the
51 European Union's IST programme.
52
53 Where to start?
54 -----------------------------
55
56 Getting started: https://codespeak.net/pypy/dist/pypy/doc/getting-started.html
57
58 PyPy Documentation: https://codespeak.net/pypy/dist/pypy/doc/
59
60 PyPy Homepage: https://codespeak.net/pypy/
61
62 The interpreter and object model implementations shipped with
63 the 0.8 version can run on their own and implement the core
64 language features of Python as of CPython 2.4. However, we still
65 do not recommend using PyPy for anything else than for education,
66 playing or research purposes.
67
68 Ongoing work and near term goals
69 ---------------------------------
70
71 At the last sprint in Paris we started exploring the new directions of
72 our work, in terms of extending and optimizing PyPy further. We
73 started to scratch the surface of Just-In-Time compiler related work,
74 which we still expect will be the major source of our future speed
75 improvements and some successful amount of work has been done on the
76 support needed for stackless-like features.
77
78 This release also includes the snapshots in preliminary or embryonic
79 form of the following interesting but yet not completed sub projects:
80
81 - The OOtyper, a RTyper variation for higher-level backends
82 (Squeak, ...)
83 - A JavaScript backend
84 - A limited (PPC) assembler backend (this related to the JIT)
85 - some bits for a socket module
86
87 PyPy has been developed during approximately 16 coding sprints across
88 Europe and the US. It continues to be a very dynamically and
89 incrementally evolving project with many of these one-week workshops
90 to follow.
91
92 PyPy has been a community effort from the start and it would
93 not have got that far without the coding and feedback support
94 from numerous people. Please feel free to give feedback and
95 raise questions.
96
97 contact points: https://codespeak.net/pypy/dist/pypy/doc/contact.html
98
99
100 have fun,
101
102 the pypy team, (Armin Rigo, Samuele Pedroni,
103 Holger Krekel, Christian Tismer,
104 Carl Friedrich Bolz, Michael Hudson,
105 and many others: https://codespeak.net/pypy/dist/pypy/doc/contributor.html)
106
107 PyPy development and activities happen as an open source project
108 and with the support of a consortium partially funded by a two
109 year European Union IST research grant. The full partners of that
110 consortium are:
111
112 Heinrich-Heine University (Germany), AB Strakt (Sweden)
113 merlinux GmbH (Germany), tismerysoft GmbH (Germany)
114 Logilab Paris (France), DFKI GmbH (Germany)
115 ChangeMaker (Sweden), Impara (Germany)