1 bookmark for 2024-12-21

1634.

exaloop/codon: A high-performance, zero-overhead, extensible Python compiler using LLVM

github.com/exaloop/codon

Typical speedups over vanilla Python are on the order of 10-100x or more, on a single thread. Codon's performance is typically on par with (and sometimes better than) that of C/C++. Unlike Python, Codon supports native multithreading, which can lead to speedups many times higher still.

Codon is not a drop-in replacement for CPython. There are some aspects of Python that are not suitable for static compilation — we don't support these in Codon.