PyPy

Initial releasemid 2007; 18 years ago (2007)
Stable release
7.3.19[1] Edit this on Wikidata (26 February 2025; 22 days ago (26 February 2025))
Repository
Written inRPython
Operating systemCross-platform
TypePython interpreter and compiler toolchain
LicenseMIT
Websitepypy.org Edit this on Wikidata

PyPy (/ˈpp/) is an implementation of the Python programming language.[2] PyPy often runs faster than the standard implementation CPython because PyPy uses a just-in-time compiler.[3] Most Python code runs well on PyPy except for code that depends on CPython extensions, which either does not work or incurs some overhead when run in PyPy.

PyPy itself is built using a technique known as meta-tracing, which is a mostly automatic transformation that takes an interpreter as input and produces a tracing just-in-time compiler as output. Since interpreters are usually easier to write than compilers, but run slower, this technique can make it easier to produce efficient implementations of programming languages. PyPy's meta-tracing toolchain is called RPython.

PyPy officially supports Python 2.7 and 3.10[4] and has a few differences in implementations compared to CPython.[5]

  1. ^ "PyPy v7.3.19 release". Retrieved 12 March 2025.
  2. ^ "Interview Maciej Fijalkowski PyPy". 29 November 2015.
  3. ^ "PyPy Speed". speed.pypy.org. Retrieved 2019-12-01.
  4. ^ "PyPy". 30 December 2024.
  5. ^ "Differences between PyPy and CPython — PyPy documentation". 30 December 2024.

From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne