The LDC D language compiler can now generate WebAssembly
Cool, great that you can now do this with LDC directly.There was a way to compile D to WASM before (using the dscripten package), however that was more akin to a collection of loose pieces strung together.As with Go, a big obstacle for running typical D code in browsers is reliance on a garbage collector, which requires scanning stacks and temporaries for reachable heap object. Though it's possible to overcome in theory with just compiler support, garbage collection in WASM itself seems to be an ongoing discussion.