D and WebAssembly (Wasm)
Ferhat Kurtulmuş
aferust at gmail.com
Mon Sep 13 23:45:58 UTC 2021
On Monday, 13 September 2021 at 21:14:16 UTC, Sebastiaan Koppe
wrote:
> On Monday, 13 September 2021 at 17:19:23 UTC, Ferhat Kurtulmuş
> wrote:
>> [...]
>
> Yes, just yesterday I started to get back to that work again. I
> am currently updating to latest ldc and wasi sdk. Couple of
> months ago all druntime/phobos tests were passing and I hope to
> get there again (well, all except thread/fibers/exceptions,
> since they aren't suported).
>
> You can already use the forks to build ldc phobos/druntime libs
> for use in wasm. It is a bit cumbersome to setup but it works.
>
> If that isn't your cup of tea - won't blame you - you'll have
> to stick to adam's custom runtime or plain betterC, which also
> works fine. Especially since spasm has bindings to all web
> api's.
>
> examples:
>
> https://skoppe.github.io/spasm/examples/todo-mvc/
> https://skoppe.github.io/spasm/examples/underrun/
> https://skoppe.github.io/spasm-imgui/
Thank you Sebastiaan. Latest wasi support sounds awesome. If I
remember correctly, the supported version was 8. It is nice to
know you keep working on it.
More information about the Digitalmars-d
mailing list