As far as I can see there is still no way on the W...
# webassembly
m
As far as I can see there is still no way on the Wasm platforms to make direct Kotlin to Wasm calls. The only way to call into a Wasm function provided by Rust for example is via the JavaScript interoperability. 1. Is that correct? 2. Isn’t there some (documented) low-level API to do this in a way similar to how you would do it with Chasm or Chicory or GraalWasm? 3. The way to go in the future is the Wasm component model but how far away are we still from this?
o
AFAIK there is WasmImport which doesn't involve JavaScript It can be used to call wasi declarations or directly from wasm modules. In last example it calls into openssl bindings compiled by emscripten skiko also uses it AFAIR But with Component Model it should be better 🙂
🙏 1