quiet-js icon indicating copy to clipboard operation
quiet-js copied to clipboard

Fully investigate GC issues

Open brian-armstrong opened this issue 8 years ago • 3 comments

It seems that right now Firefox GC is likely collecting the receiver some short time after it is created. This is a regression. I'd like to fully solve these sorts of issues once and for all.

brian-armstrong avatar Mar 11 '16 22:03 brian-armstrong

I imagine compiling to wasm might fix this and all other gc issues, since the wasm VM doesn't even support GC yet.

lastmjs avatar Oct 28 '17 18:10 lastmjs

And wasm has it's own VM designed for non-GC languages like C/C++, so your compiled code isn't running in a GC VM at all once compiled to wasm.

lastmjs avatar Oct 28 '17 18:10 lastmjs

wasm would definitely be a better fit. I'm not sure it was really an option when I put this together.

It's worth noting that the GC pause issue I'm seeing here may just be WebAudio pausing and not quiet.js, not sure

brian-armstrong avatar Oct 28 '17 19:10 brian-armstrong