opendylan icon indicating copy to clipboard operation
opendylan copied to clipboard

WebAssembly support?

Open turbolent opened this issue 3 years ago • 2 comments

Given that OpenDylan now has a LLVM-based code generator, how much work would it be to add WebAssembly target?

turbolent avatar Feb 13 '22 20:02 turbolent

I'm pretty much waiting for https://github.com/WebAssembly/gc to progress further before attempting to pursue this.

housel avatar Feb 14 '22 21:02 housel

Right, the GC proposal would help. In the mean-time, could an implementation require a host-environment that provides memory management functions? The module would import and use those for allocating memory, the module would export its memory, and the host-environment would perform GC.

Are there places in the code base that I could look at?

turbolent avatar Feb 18 '22 03:02 turbolent