Just discovered this LLVM-to-Javascript translator: http://emscripten.org/ Looks really interesting, they even converted CPython. Might be interesting for D as well. Question is how the low-level stuff in druntime would work out.