CPython - AshokBhat/notes GitHub Wiki

About

  • Reference implementation of the Python programming language
  • Default and most widely-used implementation
  • Interpreter + Compiler - Compiles Python code into bytecode before interpreting it

CPython limitations

  • No performance optimizations by design
    • No native JIT (just-in-time) compiler
    • No accelerated math libraries
    • No third-party additions for the sake of performance
  • Only a baseline set of tools for working with Python
    • pip installs from PyPI
    • Won’t install any dependencies that packages might have outside of PyPI

Alternatives

Other Production-quality Python implementations

  • Jython, written in Java for the Java virtual machine (JVM)
  • PyPy, written in RPython and translated into C
  • IronPython, written in C# for the Common Language Infrastructure