aboutsummaryrefslogtreecommitdiff
blob: f7d1502e654e8d5cefed07aff0a98a4fe73a1882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
==========================================
PyPy 1.1: Compatibility & Consolidation
==========================================

Welcome to the PyPy 1.1 release - the first release after the end of EU
funding. This release focuses on making PyPy's Python interpreter more
compatible with CPython (currently CPython 2.5) and on making the
interpreter more stable and bug-free.

Download page:
    
   http://codespeak.net/pypy/dist/pypy/doc/download.html

PyPy's Getting Started lives at:

   http://codespeak.net/pypy/dist/pypy/doc/getting-started.html

Highlights of This Release
==========================

  - More of CPython's standard library extension modules are supported,
    among them ctypes, sqlite3, csv, and many more. Most of these extension 
    modules are fully supported under Windows as well.

    http://codespeak.net/pypy/dist/pypy/doc/cpython_differences.html
    http://morepypy.blogspot.com/2008/06/pypy-improvements.html

  - Through a large number of tweaks, performance has been improved by
    10%-50% since the 1.0 release. The Python interpreter is now between
    0.8-2x (and in some corner case 3-4x) slower than CPython. A large
    part of these speed-ups come from our new generational garbage
    collectors.

    http://codespeak.net/pypy/dist/pypy/doc/garbage_collection.html

  - Our Python interpreter now supports distutils as well as
    easy_install for pure-Python modules.

  - We have tested PyPy with a number of third-party libraries. PyPy can
    run now: Django, Pylons, BitTorrent, Twisted, SymPy, Pyglet, Nevow,
    Pinax:

    http://morepypy.blogspot.com/2008/08/pypy-runs-unmodified-django-10-beta.html
    http://morepypy.blogspot.com/2008/07/pypys-python-runs-pinax-django.html
    http://morepypy.blogspot.com/2008/06/running-nevow-on-top-of-pypy.html

  - A buildbot was set up to run the various tests that PyPy is using
    nightly on Windows and Linux machines:

    http://codespeak.net:8099/

  - Sandboxing support: It is possible to translate the Python
    interpreter in a special way so that the result is fully sandboxed.
    
    http://codespeak.net/pypy/dist/pypy/doc/sandbox.html
    http://blog.sandbox.lt/en/WSGI%20and%20PyPy%20sandbox


Other Changes
=============

  - The ``clr`` module was greatly improved. This module is used to
    interface with .NET libraries when translating the Python
    interpreter to the CLI.

    http://codespeak.net/pypy/dist/pypy/doc/clr-module.html
    http://morepypy.blogspot.com/2008/01/pypynet-goes-windows-forms.html
    http://morepypy.blogspot.com/2008/01/improve-net-integration.html

  - Stackless improvements: PyPy's ``stackless`` module is now more
    complete. We added channel preferences which change details of the
    scheduling semantics. In addition, the pickling of tasklets has been
    improved to work in more cases.

  - Classic classes are enabled by default now. In addition, they have
    been greatly optimized and debugged:

    http://morepypy.blogspot.com/2007/12/faster-implementation-of-classic.html

  - PyPy's Python interpreter can be translated to Java bytecode now to
    produce a pypy-jvm. At the moment there is no integration with
    Java libraries yet, so this is not really useful.

  - We added cross-compilation machinery to our translation toolchain to
    make it possible to cross-compile our Python interpreter to Nokia's
    Maemo platform:

    http://codespeak.net/pypy/dist/pypy/doc/maemo.html

  - Some effort was spent to make the Python interpreter more
    memory-efficient. This includes the implementation of a mark-compact
    GC which uses less memory than other GCs during collection.
    Additionally there were various optimizations that make Python
    objects smaller, e.g. class instances are often only 50% of the size
    of CPython.

    http://morepypy.blogspot.com/2008/10/dsseldorf-sprint-report-days-1-3.html

  - The support for the trace hook in the Python interpreter was
    improved to be able to trace the execution of builtin functions and
    methods. With this, we implemented the ``_lsprof`` module, which is
    the core of the ``cProfile`` module.

  - A number of rarely used features of PyPy were removed since the previous
    release because they were unmaintained and/or buggy. Those are: The
    LLVM and the JS backends, the aspect-oriented programming features,
    the logic object space, the extension compiler and the first
    incarnation of the JIT generator. The new JIT generator is in active
    development, but not included in the release.

    http://codespeak.net/pipermail/pypy-dev/2009q2/005143.html
    http://morepypy.blogspot.com/2009/03/good-news-everyone.html
    http://morepypy.blogspot.com/2009/03/jit-bit-of-look-inside.html


What is PyPy?
=============

Technically, PyPy is both a Python interpreter implementation and an
advanced compiler, or more precisely a framework for implementing dynamic
languages and generating virtual machines for them.

The framework allows for alternative frontends and for alternative
backends, currently C, Java and .NET.  For our main target "C", we can
"mix in" different garbage collectors and threading models,
including micro-threads aka "Stackless".  The inherent complexity that
arises from this ambitious approach is mostly kept away from the Python
interpreter implementation, our main frontend.

Socially, PyPy is a collaborative effort of many individuals working
together in a distributed and sprint-driven way since 2003.  PyPy would
not have gotten as far as it has without the coding, feedback and
general support from numerous people.



Have fun,

    the PyPy release team, [in alphabetical order]
    
    Amaury Forgeot d'Arc, Anders Hammerquist, Antonio Cuni, Armin Rigo,
    Carl Friedrich Bolz, Christian Tismer, Holger Krekel,
    Maciek Fijalkowski, Samuele Pedroni

    and many others:
    http://codespeak.net/pypy/dist/pypy/doc/contributor.html