Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think transpiling to C is probably the least interesting way to tap into C. FFI is a lot valuable (and doable).


There are surprisingly many languages that support transpiling to C: Python (via Cython), Go (via TinyGo), Lua (via eLua), Nim, Zig, Vlang. The main advantage (in my view) is to support embedded systems, which might not match your use case.


Eiffel, that is how it always worked, a VM based workflow for development (Melt VM), compilation via C or C++ for release builds.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: