Skip to content
Search

Codon

lastmod 2024-07-26created 2022-12-212 edits

A high-performance, zero-overhead, extensible Python compiler using LLVM

Features

  • A high-performance compiler that compiles Python code to native machine code with no runtime overhead
  • Speedup of 10–100x or more over Python on a single thread
  • Performance is on par with, and sometimes better than, C/C++
  • Unlike Python, supports native multithreading
  • Codon supports almost all of Python's syntax, but it is not a drop-in replacement. Large codebases need modifications

See also

  • Cython
  • Nuitka - converts Python modules into C-level programs, then uses libpython and C files to behave like CPython
  • Numba
  • llvmlite
  • PyPy
  • Pyjion - A drop-in JIT Compiler for Python 3.10

Favorite site

author Zer0 sitemap