Re:Pallene: A statically compiled companion language for Lua
by sitkack on Monday July 29, 2024 @03:26PM
(#41103004)
Afaik there was a prototype Ruby JIT that used the C compiler this way and loaded the resulting code as a shared library. I did this with a Python decorator and ctypes so I could inline and hot reload my C extensions using
I haven't touched this space in years, I think there are a couple Python libraries that do this now. I did not generate C code at runtime tho.
[ Parent
| on HN ]