| 1 |
======================== |
| 2 |
PyPy 2.6.0 - Cameo Charm |
| 3 |
======================== |
| 4 |
|
| 5 |
We're pleased to announce PyPy 2.6.0, only two months after PyPy 2.5.1. |
| 6 |
We are particularly happy to update `cffi`_ to version 1.1, which makes the |
| 7 |
popular ctypes-alternative even easier to use, and to support the new vmprof_ |
| 8 |
statistical profiler. |
| 9 |
|
| 10 |
You can download the PyPy 2.6.0 release here: |
| 11 |
|
| 12 |
https://pypy.org/download.html |
| 13 |
|
| 14 |
We would like to thank our donors for the continued support of the PyPy |
| 15 |
project, and for those who donate to our three sub-projects, as well as our |
| 16 |
volunteers and contributors. |
| 17 |
|
| 18 |
Thanks also to Yury V. Zaytsev and David Wilson who recently started |
| 19 |
running nightly builds on Windows and MacOSX buildbots. |
| 20 |
|
| 21 |
We've shown quite a bit of progress, but we're slowly running out of funds. |
| 22 |
Please consider donating more, or even better convince your employer to donate, |
| 23 |
so we can finish those projects! The three sub-projects are: |
| 24 |
|
| 25 |
* `Py3k`_ (supporting Python 3.x): We have released a Python 3.2.5 compatible version |
| 26 |
we call PyPy3 2.4.0, and are working toward a Python 3.3 compatible version |
| 27 |
|
| 28 |
* `STM`_ (software transactional memory): We have released a first working version, |
| 29 |
and continue to try out new promising paths of achieving a fast multithreaded Python |
| 30 |
|
| 31 |
* `NumPy`_ which requires installation of our fork of upstream numpy, |
| 32 |
available `on bitbucket`_ |
| 33 |
|
| 34 |
.. _`cffi`: https://cffi.readthedocs.org |
| 35 |
.. _`Py3k`: https://pypy.org/py3donate.html |
| 36 |
.. _`STM`: https://pypy.org/tmdonate2.html |
| 37 |
.. _`NumPy`: https://pypy.org/numpydonate.html |
| 38 |
.. _`on bitbucket`: https://www.bitbucket.org/pypy/numpy |
| 39 |
|
| 40 |
We would also like to encourage new people to join the project. PyPy has many |
| 41 |
layers and we need help with all of them: `PyPy`_ and `RPython`_ documentation |
| 42 |
improvements, tweaking popular `modules`_ to run on pypy, or general `help`_ with making |
| 43 |
RPython's JIT even better. Nine new people contributed since the last release, |
| 44 |
you too could be one of them. |
| 45 |
|
| 46 |
.. _`PyPy`: https://doc.pypy.org |
| 47 |
.. _`RPython`: https://rpython.readthedocs.org |
| 48 |
.. _`modules`: https://doc.pypy.org/project-ideas.html#make-more-python-modules-pypy-friendly |
| 49 |
.. _`help`: https://doc.pypy.org/project-ideas.html |
| 50 |
|
| 51 |
What is PyPy? |
| 52 |
============= |
| 53 |
|
| 54 |
PyPy is a very compliant Python interpreter, almost a drop-in replacement for |
| 55 |
CPython 2.7. It's fast (`pypy and cpython 2.7.x`_ performance comparison) |
| 56 |
due to its integrated tracing JIT compiler. |
| 57 |
|
| 58 |
This release supports **x86** machines on most common operating systems |
| 59 |
(Linux 32/64, Mac OS X 64, Windows, OpenBSD_, freebsd_), |
| 60 |
as well as newer **ARM** hardware (ARMv6 or ARMv7, with VFPv3) running Linux. |
| 61 |
|
| 62 |
While we support 32 bit python on Windows, work on the native Windows 64 |
| 63 |
bit python is still stalling, we would welcome a volunteer |
| 64 |
to `handle that`_. We also welcome developers with other operating systems or |
| 65 |
`dynamic languages`_ to see what RPython can do for them. |
| 66 |
|
| 67 |
.. _`pypy and cpython 2.7.x`: https://speed.pypy.org |
| 68 |
.. _OpenBSD: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/pypy |
| 69 |
.. _freebsd: https://svnweb.freebsd.org/ports/head/lang/pypy/ |
| 70 |
.. _`handle that`: https://doc.pypy.org/windows.html#what-is-missing-for-a-full-64-bit-translation |
| 71 |
.. _`dynamic languages`: https://pypyjs.org |
| 72 |
|
| 73 |
Highlights |
| 74 |
=========== |
| 75 |
|
| 76 |
* Python compatibility: |
| 77 |
|
| 78 |
* Improve support for TLS 1.1 and 1.2 |
| 79 |
|
| 80 |
* Windows downloads now package a pypyw.exe in addition to pypy.exe |
| 81 |
|
| 82 |
* Support for the PYTHONOPTIMIZE environment variable (impacting builtin's |
| 83 |
__debug__ property) |
| 84 |
|
| 85 |
* Issues reported with our previous release were resolved_ after reports from users on |
| 86 |
our issue tracker at https://bitbucket.org/pypy/pypy/issues or on IRC at |
| 87 |
#pypy. |
| 88 |
|
| 89 |
* New features: |
| 90 |
|
| 91 |
* Add preliminary support for a new lightweight statistical profiler |
| 92 |
`vmprof`_, which has been designed to accommodate profiling JITted code |
| 93 |
|
| 94 |
* Numpy: |
| 95 |
|
| 96 |
* Support for ``object`` dtype via a garbage collector hook |
| 97 |
|
| 98 |
* Support for .can_cast and .min_scalar_type as well as beginning |
| 99 |
a refactoring of the internal casting rules |
| 100 |
|
| 101 |
* Better support for subtypes, via the __array_interface__, |
| 102 |
__array_priority__, and __array_wrap__ methods (still a work-in-progress) |
| 103 |
|
| 104 |
* Better support for ndarray.flags |
| 105 |
|
| 106 |
* Performance improvements: |
| 107 |
|
| 108 |
* Slight improvement in frame sizes, improving some benchmarks |
| 109 |
|
| 110 |
* Internal refactoring and cleanups leading to improved JIT performance |
| 111 |
|
| 112 |
* Improved IO performance of ``zlib`` and ``bz2`` modules |
| 113 |
|
| 114 |
* We continue to improve the JIT's optimizations. Our benchmark suite is now |
| 115 |
over 7 times faster than cpython |
| 116 |
|
| 117 |
.. _`vmprof`: https://vmprof.readthedocs.org |
| 118 |
.. _resolved: https://doc.pypy.org/whatsnew-2.6.0.html |
| 119 |
|
| 120 |
Please try it out and let us know what you think. We welcome |
| 121 |
success stories, `experiments`_, or `benchmarks`_, we know you are using PyPy, please tell us about it! |
| 122 |
|
| 123 |
Cheers |
| 124 |
|
| 125 |
The PyPy Team |
| 126 |
|
| 127 |
.. _`experiments`: https://morepypy.blogspot.com/2015/02/experiments-in-pyrlang-with-rpython.html |
| 128 |
.. _`benchmarks`: https://mithrandi.net/blog/2015/03/axiom-benchmark-results-on-pypy-2-5-0 |