Implementations of Python¶
Faster Python implementations¶
- PyPy
- AST optimizer of PyPy: astcompiler/optimize.py
- Pyston
- Hotpy and Hotpy 2, based on GVMT (Glasgow Virtual Machine Toolkit)
- Numba: JIT implemented with LLVM, specialized to numeric types (numpy)
- pymothoa uses LLVM (“don’t support classes nor exceptions”)
- WPython: 16-bit word-codes instead of byte-codes
- Cython
Fully Python compliant¶
- PyPy
- Jython based on the JVM
- IronPython based on the .NET VM
- Unladen Swallow, fork of
CPython 2.6, use LLVM. No more maintained
- Project announced in 2009, abandonned in 2011
- ProjectPlan
- Unladen Swallow Retrospective
- PEP 3146
- Pyjion
Other¶
- Replace stack-based bytecode with register-based bytecode: old registervm project
Subset of Python to C++¶
Subset of Python¶
- pymothoa: use LLVM; don’t support classes nor exceptions.
- unpython: Python to C
- Perthon: Python to Perl
- Copperhead: Python to GPU (Nvidia)