4 ms·
Exactly. 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
by sspiff 10y ago
Exactly. 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.