Hacker News new | ask | show | jobs
by sakompella 217 days ago
I think transpiling to C is probably the least interesting way to tap into C. FFI is a lot valuable (and doable).
1 comments

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.