DMD Frontend working in WebAssembly

Imperatorn johan_forsberg_86 at hotmail.com
Fri Oct 15 15:19:26 UTC 2021


On Friday, 15 October 2021 at 11:52:24 UTC, hatf0 wrote:
> On Friday, 15 October 2021 at 07:28:55 UTC, Sebastiaan Koppe 
> wrote:
>> [...]
>
> Very cool! This all would not be possible with your wasm forks 
> -- they are the saving grace here.
>
> Regarding upstreaming the patch... that will be rather 
> challenging, but I would not mind contributing. I definitely 
> think the WASI bindings (if not all of the files in 
> `core.sys.wasi.*`) should be upstreamed first, as they're the 
> simplest to implement, and then the various druntime patches 
> should follow.
>
> GC also needs some investigation (or malloc), as I keep get 
> spurious OOM errors. Could be because dmd is one hell of a 
> memory hog, but who knows.

Btw, why is dmd a memory hog?


More information about the Digitalmars-d-announce mailing list