Re:Mono and WebAssembly – Updates on Static Compilation
by rodrigokumpera on Wednesday January 17, 2018 @01:27PM
(#16170376)
Xamarin.Android begs to differ. It provides full integration and all we use from Dalvik are gc handles and explicit GC control.
Full Disclosure: I work at MS and I am one of the original designers of it.
Re:Mono and WebAssembly – Updates on Static Compilation
by gsnedders on Tuesday January 16, 2018 @10:12PM
(#16165167)
In the WASM case it's trivial to show how this is the case at the moment: WASM just has a large ArrayBuffer, which the JS GC will hold on to all of, regardless of how much the GC in WASM deallocates.
My assumption is that at the moment they are just accepting that some uncollectable memory will happen in the short term and eventually the WebAssembly working group will expose the underlying garbage collector and everything will get better. Early days kind of issue for now.