New Wiki page: Generating WebAssembly with LDC

Radu void at null.pt
Mon Jul 16 07:53:06 UTC 2018


On Sunday, 15 July 2018 at 19:33:33 UTC, kinke wrote:
> The new page [1] shows
>
> * how simple it is to generate WebAssembly from D code starting 
> with just-released LDC v1.11-beta2 [2],
> * how to load & invoke the generated .wasm with JavaScript, and
> * how to call an external JavaScript function from D.
>
> I'll let *you* discover the limits :) - be sure to let us know 
> by reporting encountered issues. [3]
>
> [1] https://wiki.dlang.org/Generating_WebAssembly_with_LDC
> [2] 
> https://github.com/ldc-developers/ldc/releases/tag/v1.11.0-beta2
> [3] https://github.com/ldc-developers/ldc/issues

Very cool stuff!

This is a welcoming addition not only for web browser usage but 
also other potential embedding usage [1]

[1] 
http://words.steveklabnik.com/webassembly-is-more-than-just-the-web


More information about the digitalmars-d-ldc mailing list