andy27367451 发表于 2015-7-23 12:07:10

PyPy 2.6.0 发布,Python 解释器

腾讯SNG夏日招聘集结号:200个空缺岗位,JAVA、C++、云计算、Android……
  PyPy 2.6.0 发布,此版本更新 cffi 至版本 1.1,使得流行的 ctypes-alternative 更容易使用,支持新的 vmprof 统计分析工具。
  PyPy 2.6.0 现已提供下载:
  http://pypy.org/download.html
  PyPY 包括 3 个子项目:
  

[*]  Py3k(支持 Python 3.x)
[*]  STM(software transactional memory)
[*]  NumPy
  
值得关注的改进

[*]  Python 兼容性:
  

[*]  改进对 TLS 1.1 和 1.2 的支持
[*]  Windows 下载现在是一个 pypyw.exe 加一个 pypy.exe
[*]  支持 PYTHONOPTIMIZE 环境变量 (impacting builtin’s __debug__ property)
[*]  解决了之前版本报告的 issues:https://bitbucket.org/pypy/pypy/issues 或者 IRC at #pypy。

[*]  新特性:
  

[*]  Add preliminary support for a new lightweight statistical profiler vmprof, which has been designed to accomodate profiling JITted code

[*]  Numpy:
  

[*]  Support for object dtype via a garbage collector hook
[*]  Support for .can_cast and .min_scalar_type as well as beginning a refactoring of the internal casting rules
[*]  Better support for subtypes, via the __array_interface__, __array_priority__, and __array_wrap__ methods (still a work-in-progress)
[*]  Better support for ndarray.flags

[*]  性能提升:
  

[*]  Improved IO performance of zlib and bz2 modules
[*]  We continue to improve the JIT’s optimizations. Our benchmark suite is now over 7 times faster than cpython
[*]
  Slight improvement in frame>
[*]  Internal refactoring and cleanups leading to improved JIT performance

  更多改进请看发行说明。
  Cheers
  The PyPy Team

  PyPy 是用Python实现的Python解释器。
  PyPy是,Python开发者为了更好的Hack Python创建的项目。此外,PyPy比CPython是更加灵活,易于使用和试验,以制定具体的功能在不同情况的实现方法,可以很容易实施。 该项目的目标是,让PyPy比C实现的Python更为容易的适应各个项目和方便裁剪。
页: [1]
查看完整版本: PyPy 2.6.0 发布,Python 解释器