Re: compile D to asm.js using ldc --betterC and emcc

2017-10-07 Thread cosinus via Digitalmars-d-announce
On Saturday, 7 October 2017 at 18:27:53 UTC, Suliman wrote: could you make it online? you mean build everything and commit? I've just added the binaries, I can't add the whole chain, its to big.

compile D to asm.js using ldc --betterC and emcc

2017-10-07 Thread cosinus via Digitalmars-d-announce
I wrote a little working demo that shows how to use D inside firefox. It uses emscripten(emcc) and ldc. https://github.com/cosinus2/dlang-emscripten-demo