PochiVM
codon
PochiVM | codon | |
---|---|---|
2 | 34 | |
83 | 13,840 | |
- | 0.5% | |
0.0 | 7.9 | |
over 2 years ago | 11 days ago | |
C++ | C++ | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PochiVM
-
The Onyx Programming Language
There are methods to generate an interpreter but AFAICT there are no real implementations. Seems to be one of those pure research fields.
https://github.com/sillycross/PochiVM is the closest I've seen to an actual implementation but it looks mostly abandoned.
And I'm talking about generators on the same level as flex/bison and not something like pypy where they (used to?) use abstract interpretation/partial evaluation as you're really just transforming a handwritten interpreter with all the hard work that entails.
-
Copy-and-Patch Compilation: A fast compilation algorithm for high-level languages and bytecode
https://github.com/sillycross/PochiVM A fast template JIT, looking good
codon
-
Should I Open Source my Company?
https://github.com/exaloop/codon/blob/develop/LICENSE
Here are some others: https://github.com/search?q=%22Business+Source+License%22+%2...
-
Python running on the Dart VM?
I found at least one project that managed to compile python AOT to LLVM https://github.com/exaloop/codon. Even if LLVM is more expressive than Dart Kernel, that should at least be some evidence that this might not be too impractical.
-
Codon: Python Compiler
Their fannkuch benchmark seems to be a bit dishonest. They claim an enormous perf delta on https://exaloop.io/benchmarks.html 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 any means out to get Codon. Just happened across this by accident while looking at their inline LLVM, which is neat.
-
The father of Swift made another baby: Mojo: looks to be based on Python using MLIR
If you literally want Python, but compiled ... Look at Codon: https://github.com/exaloop/codon
-
Mojo – a new programming language for all AI developers
Another "Python with high-performance compiled builds" would be https://github.com/exaloop/codon.
-
MIT Turbocharges Python’s Notoriously Slow Compiler
This is the project being discussed: https://github.com/exaloop/codon
-
Is there a way to use turn a project into a single executable file that doesn't require anyone to do anything like install Python before using it?
Try Codon? https://github.com/exaloop/codon
- Since when did Python haters spread out everywhere? Maybe DNF5 would be faster because of ditched it, maybe.
-
Budget HomeLab converted to endless money-pit
https://github.com/exaloop/codon might save you from the rewrite.
- What are your thoughts on Codon compiler having a paid licence?
What are some alternatives?
wyvern - Automatic conversion of call by value into call by need in the LLVM IR.
Nuitka - Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, and 3.11. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module.
Numba - NumPy aware dynamic Python compiler using LLVM
Cython - The most widely used Python to C compiler
taichi - Productive, portable, and performant GPU programming in Python.
julia - The Julia Programming Language
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Django - The Web framework for perfectionists with deadlines.
pure_numba_alias_sampling - Pure numba version of Alias sampling algorithm from L. Devroye's, "Non-Uniform Random Random Variate Generation"
Coconut - Simple, elegant, Pythonic functional programming.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
mypyc - Compile type annotated Python to fast C extensions