Generating Javascript or asm.js from LDC?
Adam D. Ruppe via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri Sep 4 18:32:41 PDT 2015
On Friday, 4 September 2015 at 18:47:06 UTC, Laeeth Isharc wrote:
> Is this by any chance possible?
I'm not entirely sure myself, but my theory is if you can feed
the llvm code out of ldc and into the emscripten backend... the
basics should just work, D can pretend to be C, and we build up
from there. Indeed, the whole D runtime might even build - if
we're really lucky - since some Linux functions are apparently
supported by emscripten.
But I haven't actually tried doing it.
More information about the digitalmars-d-ldc
mailing list