3 ms·
> 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. Also c
by kodablah 8y ago
> 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.
Also carried the large Emcripten runtime. Sure it gives you a lot of things like posix impls, but the unknown triple is very lightweight (at the cost of sys/OS abstractions of course).
- Ace17 8y ago> Also carried the large Emcripten runtime. Sure it gives you a lot of things like posix impls And also, SDL2 + opengl bindings. Which makes it very adapted to compiling the same project for both targets: native and web. For video games, this is a killer feature (e.g try the game in your browser, and if you like it, download the native app (smoother, less input latency)).