Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
PyPy/

PyPy

Afast,compliant alternative implementation ofPython

Download PyPy

What is PyPy ?

Documentation (external link)

PyPy logo

On average, PyPy isabout 3 times faster than CPython 3.11. We currently support python 3.11 and 2.7.

PyPy vs. Python speed comparison graph"

PyPy (with JIT) benchmark times normalized to CPython. Smaller isbetter. Based on the geometric average of all benchmarks

"... we are avid fans of PyPy andcommensurately thankful for the great work by the PyPy team over theyears. PyPy has enabled us to use Python for a larger part of ourtoolset than CPython alone would have supported, and its smoothintegration with C/C++ through CFFI has helped us attain a bettertradeoff between performance and programmer productivity in ourprojects"-- Vilhjálmur Þorsteinsson, founder and CEO of Miðeind, Feb 2022

Advantages and distinct Features

  • Speed: thanks to its Just-in-Time compiler, Python programsoften runfaster on PyPy.(What is a JIT compiler?)

  • Memory usage: memory-hungry Python programs (several hundreds ofMBs or more) might end up takingless space than they do in CPython.

  • Compatibility: PyPy ishighly compatible with existing python code.It supportscffi,cppyy, and can run popular python libraries liketwisted, anddjango. It can also run NumPy, Scikit-learn and more via ac-extension compatibility layer.

  • Stackless: PyPy comes by default with support forstackless mode,providing micro-threads for massive concurrency.

  • As well as otherfeatures.


[8]ページ先頭

©2009-2025 Movatter.jp