5 ms·
> Why can't existing garbage collectors be compiled to WA? Yes I think that's the idea.
by chrisseaton 10y ago
> Why can't existing garbage collectors be compiled to WA?
Yes I think that's the idea.
- sspiff 10y agoExactly. From what I've seen of WebAsm, you can request pages of memory using grow_memory. Upon this, you could implement a memory pool system to handle malloc and free. Using this, it is trivial to port existing GC's. I don't understand why people moan about GC in WebAsm. WebAsm is a compiler target for lower level languages, not the JVM.