link

# Codon: a LLVM-based compiler for Python(-like) code

Codon is a high-performance Python compiler that compiles Python code to native machine code without any runtime overhead. Typical speedups over 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.

Interesting! However:

While Codon supports nearly all of Python’s syntax, it is not a drop-in replacement, and large codebases might require modifications to be run through the Codon compiler.

Here’s a list of differences.

Leave a Reply

Your email address will not be published. Required fields are marked *