Re:WebAssembly Interface Types: Interoperate with All the Th...
by ori_b on Wednesday August 21, 2019 @03:02PM
(#20760432)
So, the solution is to make more or less every foreign call unsafe. That's pretty close to the state of the art without wasm.
I'm not sure how satisfactory that is, especially when it is fairly idiomatic for many calls in garbage collected languages to both keep and return a reference (eg, builder pattern), which may lead to rust calling a destructor where the other language doesn't expect it.
I'm not sure how satisfactory that is, especially when it is fairly idiomatic for many calls in garbage collected languages to both keep and return a reference (eg, builder pattern), which may lead to rust calling a destructor where the other language doesn't expect it.