Python 解釋器 PyPy
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 can be configured to run in stackless mode, providing micro-threads for massive concurrency.
本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!