Hacker News new | ask | show | jobs
by Zababa 1719 days ago
I think you can compile Zig to WASM, and then it's just a matter of finding a WASM interpreter/JIT in C.
1 comments

... That would be terrible on, say, the Sega Genesis or 32X.
I don't see how it's more terrible than using Nim.
Nim is elegant, relatively safe, and not interpreted; its performance is within a stone's throw of C, and roughly on par with Zig; but with better safety guarantees.