Re:Show HN: Prometeo – a Python-to-C transpiler for high-per...
by zanellia on Wednesday November 17, 2021 @01:06PM
(#29256543)
Personally, I think Julia is great - just don't know it well enough to write a package that takes Julia ASTs and generate C code from them :) There could totally be a Julia implementation of the main idea behind prometeo (Julia per se does not solve the problem that prometeo aims at solving).
[ Parent
| on HN ]
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per...
by adgjlsfhk1 on Wednesday November 17, 2021 @01:32PM
(#29256940)
You can just use `@code_llvm` to generate LLVM code, or `@code_native` to generate assembly. Does that do what you need?
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per...
by zanellia on Wednesday November 17, 2021 @03:40PM
(#29258548)
hmm not sure, the compiled LLVM code would still depend on the runtime library?
Re:Show HN: Prometeo – a Python-to-C transpiler for high-per...
by adgjlsfhk1 on Wednesday November 17, 2021 @04:02PM
(#29258788)
The LLVM code will only call into the runtime for allocation or dynamic dispatch, both of which are avoidable. Lots of real Julia code will never touch it.