What's the current status of WASM/WASI support?
Sebastiaan Koppe
mail at skoppe.eu
Sun Nov 5 15:05:05 UTC 2023
On Sunday, 5 November 2023 at 13:29:32 UTC, Johan wrote:
> On Friday, 3 November 2023 at 23:36:45 UTC, Sebastiaan Koppe
> wrote:
>> The d runtime port I did years ago used wasi and the
>> wasi-libc. I ported the whole of druntime (aside from things
>> like catching exception, fibers, etc.) but got stuck on the GC.
>
> It is really a pity that you (or someone else) never upstreamed
> this (or related) work. I feel it is good work going to waste :/
> Let's not strive for perfect, strive for improvement. And the
> barrier for improvement is pretty low current with a completely
> non-working druntime with wasm (with or without wasi)...!
>
> The separate minimum druntime work is valuable, but could be
> much more valuable if it became part of the standard druntime.
>
> The WASM work always makes me excited, although I've never used
> it.
> Thanks!
> Johan
The work _is_ on github though
https://github.com/skoppe/druntime/tree/wasm but I agree its
unfortunate it never got finished.
I did notice binaryen added a spillpointers pass which might be a
good way to get over the GC hump,
https://github.com/WebAssembly/binaryen/blob/main/src/passes/SpillPointers.cpp
More information about the Digitalmars-d
mailing list