On Monday, 13 September 2021 at 17:19:23 UTC, Ferhat Kurtulmuş wrote:
>You don't need to compile d code to c. You can use d code with emscripten. Sebastiaan Koppe was working on druntime1 to make it possible to use it with webassembly. Dunno its current status. Here is also my d game using wasm. It even links with c libraries compiled with emscripten.
https://aferust.github.io/drawee/
https://github.com/aferust/drawee
Yeah, thanks for answering! Sounds like you guys got it figured out. You can just use the LLVM compiler to compile to LLVM intermediate code and then feed that directly into Emscripten.
I wasn't able to find this info online, specifically. If this is true then D is
100% fully executable on via Emscripten Wasm.