top | item 45843469

(no title)

sakompella | 3 months ago

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

discuss

order

thomasmg|3 months ago

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.

pjmlp|3 months ago

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