Re:WebAssembly Specification Prototype
by pcwalton on Wednesday July 13, 2016 @06:50PM
(#12090336)
Well, the tricky part is not getting the basic FFI to work but getting the memory management right. Making sure that DOM nodes that are not part of the document stay alive and that dead nodes die is the hard part, especially if JS/wasm cycles are involved.
(This is not a criticism of wasm, by the way. It's merely motivating potential future GC extensions to the spec.)
(This is not a criticism of wasm, by the way. It's merely motivating potential future GC extensions to the spec.)