pypy
JIT-compiled Python interpreter for speed
TLDR
Run Python script
SYNOPSIS
pypy [options] [script] [args]
DESCRIPTION
PyPy is an alternative Python interpreter that uses a Just-In-Time (JIT) compiler to achieve significantly faster execution than CPython for many workloads. It is compatible with Python 2.7 and Python 3.x syntax and can run most pure-Python code without modification, offering speedups of 2-10x or more on long-running programs.
The JIT compiler analyzes code at runtime and compiles frequently executed paths to machine code, so programs that loop heavily or perform repetitive computations benefit the most. PyPy also includes optimizations for memory usage through more compact object representations. Some C extension modules may not be compatible, though cffi-based extensions work well.
PARAMETERS
SCRIPT
Python script to run.ARGS
Script arguments.-c CODE
Execute code.-m MODULE
Run module.-i
Interactive after script.-O
Optimize mode.
CAVEATS
Not all packages compatible. JIT warmup time.
HISTORY
PyPy was created as a high-performance Python interpreter with JIT.
