WASM gc is already available in Firefox behind a flag in case you want to move forward on that, see https://hacks.mozilla.org/2018/10/calls-between-javascript-and-webassembly-are-finally-fast-%f0%9f%8e%89/. We also discussed with @bashor at Kotlinconf about using a better Web IDL to generate a truly statically typed Kotlin API. That would be a great use case for sharing a multiplatform Web API and perhaps the effort between Kotlin/Native and Kotlin/JS.
👍 4
n
napperley
10/09/2018, 6:49 AM
Another good use case is to provide a standard path for porting some Kotlin JS libs/apps to Kotlin Native via the WASM target.