Codon sounds like an interesting project (even though it will never be able to compile all python code as some python code simply CAN'T be compiled) but the fact that it uses this bullshit stupid license (BSL) makes it completely unusable to me. Answer from AcidicAzide on reddit.com
🌐
GitHub
github.com › exaloop › codon
GitHub - exaloop/codon: A high-performance, zero-overhead, extensible Python compiler with built-in NumPy support · GitHub
Codon is a high-performance Python implementation that compiles to native machine code without any runtime overhead. Typical speedups over vanilla Python are on the order of 10-100x or more, on a single thread.
Starred by 16.8K users
Forked by 604 users
Languages   Python 66.0% | C++ 32.7%
🌐
Exaloop
docs.exaloop.io
Documentation | Codon
Codon is a high-performance Python implementation that compiles to native machine code without any runtime overhead. Typical speedups over vanilla Python are on the order of 10-100x or more, on a single thread.
Discussions

How do you think about Codon?
The following comparison is on the official Codon website: CPython? Codon tries to follow CPython’s syntax, semantics and APIs as closely as possible, aside from a few cases where Codon differs from CPython for performance reasons (one example being Codon’s 64-bit int vs. More on discourse.julialang.org
🌐 discourse.julialang.org
7
2
September 25, 2024
A high-performance, zero-overhead, extensible Python compiler using LLVM
This is targeting a Python subset, not Python itself · For example, something as simple as this will not compile, because lists cannot mix types in Codon (https://docs.exaloop.io/codon/language/collections#strong-ty...): More on news.ycombinator.com
🌐 news.ycombinator.com
93
241
September 29, 2024
Check out Codon: A Python compiler if you have a need for C/C++ speed • The Register Forums
While it can be optimized for better performance, Python is prized for qualities other than speed, such as readability, a manageable learning curve, an expansive ecosystem, and utility in both … ... The @codon.jit decorator sounds like an incredibly useful compromise from the docs. More on forums.theregister.com
🌐 forums.theregister.com
Codon: a high-performance Python compiler using LLVM
This looks cool, but can you call it a Python compiler when it doesn't support all the Python syntax features? Isn't it more like a compiled language that's based on Python? More on reddit.com
🌐 r/programming
30
139
December 8, 2022
🌐
Reddit
reddit.com › r/python › what are your thoughts on codon compiler having a paid licence?
r/Python on Reddit: What are your thoughts on Codon compiler having a paid licence?
March 26, 2023 - Codon makes your program run faster. With mypyc you can reach 4x-5x speedup. With Codon it's 10x-100x. ... Python as a language is ill-suited to high performance.
🌐
USENIX
usenix.org › publications › loginonline › codon-python-compiler
Codon: Python Compiler | USENIX
April 25, 2023 - The article's author, Rachel Gordon, stressed that Codon can compile Python scripts into native code that is as fast, and sometimes faster, than hand-crafted code in C/C++. But quotes from Ariya Shajii, one of Codon’s two developers, mentioned that there were also limitations, in that some of the dynamic features of Python would not work, and that not all of Python 3 was available.
🌐
Julia Programming Language
discourse.julialang.org › offtopic
How do you think about Codon? - Offtopic - Julia Programming Language
September 25, 2024 - The following comparison is on the official Codon website: CPython? Codon tries to follow CPython’s syntax, semantics and APIs as closely as possible, aside from a few cases where Codon differs from CPython for performance reasons (one example being Codon’s 64-bit int vs.
🌐
USENIX
usenix.org › publications › loginonline › codon-python-compiler-update
Codon: Python Compiler Update | USENIX
March 10, 2025 - This time around, Codon had none of the problems I encountered the first time around. I attribute this to work done by Codon committers to improve the compiler's ability to convert Python scripts into the intermediate language they then present to an LLVM backend.
Find elsewhere
🌐
Mit
cap.csail.mit.edu › sites › default › files › research-pdfs › Codon- A Compiler for High-Performance Pythonic Applications and DSLs.pdf pdf
Codon: A Compiler for High-Performance Pythonic Applications and DSLs
Python programs and leverages a novel intermediate repre- sentation to easily incorporate domain-specific optimizations · and analyses. We showcase and evaluate several compiler · extensions and DSLs for Codon targeting various domains,
🌐
SourceForge
sourceforge.net › projects › codon.mirror
Codon download | SourceForge.net
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 100x or more, on a single thread.
🌐
Exaloop
exaloop.io
Exaloop | Python, Turbocharged
Exaloop’s Codon framework compiles Python to native machine code for 10-100x performance gains, multithreading, GPU acceleration & more.
🌐
Hacker News
news.ycombinator.com › item
A high-performance, zero-overhead, extensible Python compiler using LLVM | Hacker News
September 29, 2024 - This is targeting a Python subset, not Python itself · For example, something as simple as this will not compile, because lists cannot mix types in Codon (https://docs.exaloop.io/codon/language/collections#strong-ty...):
🌐
Exaloop
docs.exaloop.io › libraries › api
API Reference | Codon
codon · collections · copy · datetime · functools · getopt · gpu · gzip · heapq · internal · itertools · math · numpy · openmp · operator · os · pickle · python · random · re · simd · sortedlist · statistics · string · sys · threading · time ·
🌐
PyPI
pypi.org › project › codon-harmony
codon-harmony · PyPI
Python :: 3.7 · Topic · Scientific/Engineering · Scientific/Engineering :: Bio-Informatics · Report project as malware · Amino acid reverse translation and DNA optimization tool based on species-specific codon-use distributions. Species-specifc data can be found on the Codon Usage Database using the NCBI Taxonomy database id (e.g.
      » pip install codon-harmony
    
Published   Mar 07, 2019
Version   1.0.0
🌐
GitHub
github.com › exaloop › codon › releases
Releases · exaloop/codon
A high-performance, zero-overhead, extensible Python compiler with built-in NumPy support - Releases · exaloop/codon
Author   exaloop
🌐
The Register
theregister.com › 2023 › 03 › 11 › python_codon_compiler
Codon: Python compiler takes scripts to C/C++ speeds • The Register
March 12, 2023 - MIT computer scientists and their ... They've developed a Python compiler called Codon that turns Python code into native machine code without a runtime performance hit....
🌐
Mind-hive
codon-md.mind-hive.com
Codon Docs: Welcome to Codon
We cannot provide a description for this page right now
🌐
Medium
adityamangal98.medium.com › codon-making-python-100-faster-without-changing-how-you-write-code-7462a08f8d85
CODON: Making Python 100× Faster Without Changing How You Write Code | by Aditya Mangal | Medium
April 3, 2026 - CODON: Making Python 100× Faster Without Changing How You Write Code Let’s start with a confession. I love Python. I also don’t trust it with anything performance-critical. Python is that …
🌐
PyPI
pypi.org › project › codon-bias
codon-bias · PyPI
This package provides codon usage bias (CUB) analysis tools for genomic sequences, focusing on protein coding regions, translation efficiency and synonymous mutations.
      » pip install codon-bias
    
Published   May 16, 2026
Version   0.5.0
🌐
The Register
forums.theregister.com › forum › all › 2023 › 03 › 11 › python_codon_compiler
Check out Codon: A Python compiler if you have a need for C/C++ speed • The Register Forums
The biggest difference is most likely that Cython will only use static typing if it's explicitly written, otherwise you still incur dynamic typing overhead, whereas Codon uses black magic to infer the types from a generic Python file and thus needs no extra work for massive speedups.
🌐
GitHub
github.com › cool-dev-guy › pygame-codon
GitHub - cool-dev-guy/pygame-codon: The pygame port for codon. · GitHub
The pygame port for codon. ... for importing python modules we need to export CODON_PYTHON=python_path.so as mentioned in the website.
Author   cool-dev-guy