Hacker GitHub

← All repos

exaloop/codon

View on GitHub ↗ ★ 16,866 Python

A high-performance, zero-overhead, extensible Python compiler with built-in NumPy support

21 mentions on Hacker News by 20 people: 3 stories, 18 comments · first 2022-12-08 · latest 2026-06-23

Mentions per year 21 mentions · busiest year 2023 (8)
20082026
  1. …be statically compilable while retaining a lot of the "useful" dynamic parts of Python. - Codon ( https://github.com/exaloop/codon ) is a high-performance Python implementation that compiles to native machine code without any runtime…
  2. Did you look into Codon? https://github.com/exaloop/codon
  3. …rest of the article that well. Anyway, yes theoretically you can. Recently folks creating Codon ( https://github.com/exaloop/codon ) did it for Python using a cool form of type inference. That said, I don't think any mainstream JS VMs do…
    comment by baziotis · 2024-12-10 · in Common misconceptions about compilers
  4. [1]: https://github.com/exaloop/codon , https://news.ycombinator.com/item?id=41580326 [2]: https://www.graalvm.org/python/ , https://news.ycombinator.com/item?id=41570708
  5. I hope one day the compiler itself will be optimized even more: https://github.com/exaloop/codon/issues/137
  6. Biggest problem at the moment is async support, I guess https://github.com/exaloop/codon/issues/71
  7. …of 2028. Until then, I guess you need to make a deal with Exaloop to use codon in production. [1] https://github.com/exaloop/codon?tab=License-1-ov-file#readm...
  8. ▲ 241
    A high-performance, zero-overhead, extensible Python compiler using LLVM
    story by wspeirs · 2024-09-18 · 93 comments
  9. ▲ 19
    Codon: A high-performance Python implementation that compiles to native
    story by peutetre · 2024-08-25 · 2 comments
  10. …appear to allow production usage: https://github.com/fingerprintjs/fingerprintjs/blob/master/L... https://github.com/exaloop/codon/blob/develop/LICENSE Here are some others: https://github.com/search?q=%22Business+Source+License%22+%2...
    comment by sea-gold · 2024-01-22 · in Should I open source my company? (2022)
  11. …but fannkuch uses factorial a lot and they define factorial with a very small (n=20) table: https://github.com/exaloop/codon/blob/fb461371613049539654c1... Disclaimer: I've worked on several Python runtimes and compilers, but I'm not by…
    comment by tekknolagi · 2023-05-09 · in Codon: Python Compiler
  12. Repo for more details: https://github.com/exaloop/codon > What is Codon? > 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…
    comment by nighthawk454 · 2023-05-08 · in Codon: Python Compiler
  13. Another "Python with high-performance compiled builds" would be https://github.com/exaloop/codon .
  14. …would imply to me that it's written in Python, but it looks like it's mostly C++ & LLVM: https://github.com/exaloop/codon/tree/develop/codon
  15. Source: https://github.com/exaloop/codon Docs: https://docs.exaloop.io/codon/
  16. …reading the definition of the unknown method that gets called. Personally, I have my eyes peeled for github.com/exaloop/codon for higher performance stuff with Python. It's already an order of magnitude faster than pypy for most cases, and…
    comment by adenozine · 2023-02-01 · in My Journey from R to Julia
  17. By that argument, Python is "native" too then, with e.g. https://github.com/exaloop/codon The reason why it doesn't quite work out is that typically such a thing, AOT-compiled into native code, still carries with it its limitations and…
  18. …there are interpreted C++ ( http://www.artificialworlds.net/wiki/IGCC/IGCC ) and AOT Python ( https://github.com/exaloop/codon ) implementations.
  19. …by the Codon project, which aims to be a JIT compiler for Python with Numba/JAX decorator syntax: https://github.com/exaloop/codon
    comment by baggiponte · 2022-12-27 · in Numba: A High Performance Python Compiler
  20. We do have a benchmark suite at https://github.com/exaloop/codon/tree/develop/bench and results on a couple different architectures at https://exaloop.io/benchmarks
  21. ▲ 317
    Codon: A high-performance Python-like compiler using LLVM
    story by arshajii · 2022-12-08 · 179 comments