Python解釋器,PyPy 1.9 發布

openkk 12年前發布 | 15K 次閱讀 Python

Python解釋器,PyPy 1.9 發布

PyPy 是用Python實現的Python解釋器。

PyPy是,Python開發者為了更好的Hack Python創建的項目。此外,PyPy比CPython是更加靈活,易于使用和試驗,以制定具體的功能在不同情況的實現方法,可以很容易實施。 該項目的目標是,讓PyPy比C實現的Python更為容易的適應各個項目和方便裁剪。

  • Speed: thanks to its Just-in-Time compiler, Python programs often run faster on PyPy. (What is a JIT compiler?)
  • Memory usage: large, memory-hungry Python programs might end up taking less space than they do in CPython.
  • Compatibility: PyPy is highly compatible with existing python code. It supports ctypes and can run popular python libraries like twisted and django.
  • Sandboxing: PyPy provides the ability to run untrusted code in a fully secure way.
  • Stackless: PyPy comes by default with support for stackless mode, providing micro-threads for massive concurrency.

  • PyPy 1.9 非常兼容 Python 解釋器,集成了 JIT 即時編譯器,該版本代號為 "Yard Wolf". PyPy 目前還是實現的 Python 2.7.2 ,不過該版本包含很多 32 位 Windows 平臺上的 bug,改進了 CPython 擴展模擬器以及更快速的集合操作。

    PyPy 1.9 with JIT compiler 可通過這里 下載

    你也從 源碼中編譯

     本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!