3 ms·
Ok, but I'm worried about the garbage collector, and if it can run concurrently without interrupting the program (as a native JVM would do it).
by amelius 8y ago
Ok, but I'm worried about the garbage collector, and if it can run concurrently without interrupting the program (as a native JVM would do it).
- bloomthrowaway 8y agoIt should be able to... Hopefully Go and Java will be some of the first GC languages to target WASM, and we'll find out :) . Personally I'm more worried about the size of the GC getting added to the binaries than how fast it is.
- pjmlp 8y agoAssemblyScript already does it, if I am not mistaken.
- jackpeterfletch 8y agoIf the Javascript garbage collecter can do it then I don't see why not.
- amelius 8y agoThe JS GC can run in native code, in a separate native thread with shared memory access, and it can use things like memory barrier instructions, which have no equivalent in WASM yet.