Hacker GitHub

← All repos

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

Mentions per year 7 mentions · busiest year 2021 (4)
20082026
  1. …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.
  2. …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/…
  3. 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...
  4. For a matrix size 50 it beats Julia by a factor of 10 wow https://github.com/zanellia/prometeo/blob/master/benchmarks/...
  5. ▲ 166
    Show HN: Prometeo – a Python-to-C transpiler for high-performance computing
    story by zanellia · 2021-11-17 · 140 comments
  6. …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
  7. …). 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.