PyPy 是用Python实现的Python解释器。
PyPy是,Python开发者为了更好的Hack Python创建的项目。此外,PyPy比CPython是更加灵活,易于使用和试验,以制定具体的功能在不同情况的实现方法,可以很容易实施。 该项目的目标是,让PyPy比C实现的Python更为容易的适应各个项目和方便裁剪。
PyPy 2.4 发布,Python 解释器。PyPy 2.4 发布,此版本现已提供下载,跟往常一样,提升了系统性能。此版本改进了 Bencmarks,改进了字符串和字节数组的处理;重写了 GIL 处理。这都提升了外部调用的速度,特别是 CFFI。同时还包括了许多 Python 2.7.8 标准库的 bug 修复和更新。
值得关注的改进:
Reduced internal copying of bytearray operations
Tweak the internal structure of StringBuilder to speed up large string handling, which becomes advantageous on large programs at the cost of slightly slower small benchmark type programs.
Boost performance of thread-local variables in both unjitted and jitted code, this mostly affects errno handling on linux, which makes external calls faster.
Move to a mixed polling and mutex GIL model that make mutlithreaded jitted code run much faster
Optimize errno handling in linux (x86 and x86-64 only)
Remove ctypes pythonapi and ctypes.PyDLL, which never worked on PyPy
Fix performance regression on ufunc(<scalar>, <scalar>) in numpy
Classes in the ast module are now distinct from structures used by the compiler, which simplifies and speeds up translation of our source code to the PyPy binary interpreter
Upgrade stdlib from 2.7.5 to 2.7.8
Win32 now links statically to zlib, expat, bzip, and openssl-1.0.1i. No more missing DLLs
Many issues were resolved since the 2.3.1 release on June 8