zanellia/prometeo
View on GitHub ↗ ★ 656 Python
An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing
7 mentions on Hacker News by 4 people: 1 story, 6 comments · first 2020-09-23 · latest 2024-04-30
20082026
-
…operations will not be very fast. Or you restrict it to a subset of Python like this project does: https://github.com/zanellia/prometeo You could of course write a bytecode VM in Golang but I guess that defeats the purpose.
comment by cardanome · 2024-04-30 · in Borgo is a statically typed language that compiles to Go -
…some other everyday task in a different language is very legit IMO. I took a cursory look at: https://github.com/zanellia/prometeo/blob/master/prometeo/cg... It seems quite similar in spirit to https://github.com/adsharma/py2many/blob/main/…
comment by adsharma · 2021-11-18 · in Show HN: Prometeo – a Python-to-C transpiler for high-performance computing -
Good point, it should be easy to add Julia to the Fibonacci benchmark. Here is the Python code https://github.com/zanellia/prometeo/blob/master/examples/fi...
comment by zanellia · 2021-11-18 · in Show HN: Prometeo – a Python-to-C transpiler for high-performance computing -
For a matrix size 50 it beats Julia by a factor of 10 wow https://github.com/zanellia/prometeo/blob/master/benchmarks/...
comment by savant_penguin · 2021-11-18 · in Show HN: Prometeo – a Python-to-C transpiler for high-performance computing -
▲ 166
Show HN: Prometeo – a Python-to-C transpiler for high-performance computingstory by zanellia · 2021-11-17 · 140 comments
-
…that uses static analysis and source-to-source (Python-to-C, actually) code transformation: https://github.com/zanellia/prometeo .
comment by zanellia · 2020-10-22 · in Attempts to make Python fast -
…). I have done something similar for (typed) Python-to-C transpilation for fun ( https://github.com/zanellia/prometeo ), but, now that I think about it, it could be used to implement typed polymorphism for Python classes quite easily.
comment by zanellia · 2020-09-23 · in Haskell language features and standard libraries in pure Python