Debian Codegraph @

pypy/doc/release-1.8.0.rst

raw
1 ============================
2 PyPy 1.8 - business as usual
3 ============================
4
5 We're pleased to announce the 1.8 release of PyPy. As habitual this
6 release brings a lot of bugfixes, together with performance and memory
7 improvements over the 1.7 release. The main highlight of the release
8 is the introduction of `list strategies`_ which makes homogeneous lists
9 more efficient both in terms of performance and memory. This release
10 also upgrades us from Python 2.7.1 compatibility to 2.7.2. Otherwise
11 it's "business as usual" in the sense that performance improved
12 roughly 10% on average since the previous release.
13
14 you can download the PyPy 1.8 release here:
15
16 https://pypy.org/download.html
17
18 .. _`list strategies`: https://morepypy.blogspot.com/2011/10/more-compact-lists-with-list-strategies.html
19
20 What is PyPy?
21 =============
22
23 PyPy is a very compliant Python interpreter, almost a drop-in replacement for
24 CPython 2.7. It's fast (`pypy 1.8 and cpython 2.7.1`_ performance comparison)
25 due to its integrated tracing JIT compiler.
26
27 This release supports x86 machines running Linux 32/64, Mac OS X 32/64 or
28 Windows 32. Windows 64 work has been stalled, we would welcome a volunteer
29 to handle that.
30
31 .. _`pypy 1.8 and cpython 2.7.1`: https://speed.pypy.org
32
33
34 Highlights
35 ==========
36
37 * List strategies. Now lists that contain only ints or only floats should
38 be as efficient as storing them in a binary-packed array. It also improves
39 the JIT performance in places that use such lists. There are also special
40 strategies for unicode and string lists.
41
42 * As usual, numerous performance improvements. There are many examples
43 of python constructs that now should be faster; too many to list them.
44
45 * Bugfixes and compatibility fixes with CPython.
46
47 * Windows fixes.
48
49 * NumPy effort progress; for the exact list of things that have been done,
50 consult the `numpy status page`_. A tentative list of things that has
51 been done:
52
53 * multi dimensional arrays
54
55 * various sizes of dtypes
56
57 * a lot of ufuncs
58
59 * a lot of other minor changes
60
61 Right now the `numpy` module is available under both `numpy` and `numpypy`
62 names. However, because it's incomplete, you have to `import numpypy` first
63 before doing any imports from `numpy`.
64
65 * New JIT hooks that allow you to hook into the JIT process from your python
66 program. There is a `brief overview`_ of what they offer.
67
68 * Standard library upgrade from 2.7.1 to 2.7.2.
69
70 Ongoing work
71 ============
72
73 As usual, there is quite a bit of ongoing work that either didn't make it to
74 the release or is not ready yet. Highlights include:
75
76 * Non-x86 backends for the JIT: ARMv7 (almost ready) and PPC64 (in progress)
77
78 * Specialized type instances - allocate instances as efficient as C structs,
79 including type specialization
80
81 * More numpy work
82
83 * Since the last release there was a significant breakthrough in PyPy's
84 fundraising. We now have enough funds to work on first stages of `numpypy`_
85 and `py3k`_. We would like to thank again to everyone who donated.
86
87 * It's also probably worth noting, we're considering donations for the
88 Software Transactional Memory project. You can read more about `our plans`_
89
90 Cheers,
91 The PyPy Team
92
93 .. _`brief overview`: https://doc.pypy.org/jit-hooks.html
94 .. _`numpy status page`: https://buildbot.pypy.org/numpy-status/latest.html
95 .. _`numpy status update blog report`: https://morepypy.blogspot.com/2012/01/numpypy-status-update.html
96 .. _`numpypy`: https://pypy.org/numpydonate.html
97 .. _`py3k`: https://pypy.org/py3donate.html
98 .. _`our plans`: https://morepypy.blogspot.com/2012/01/transactional-memory-ii.html