bubagl opened Issue #1979:
Is it possible to use interface types when making calls between "linked modules" (https://bytecodealliance.github.io/wasmtime/examples-rust-linking.html)? I suspect the answer is negative because modules have isolated memory.
tschneidereit commented on Issue #1979:
It's not yet possible, because we don't yet have a real implementation of Interface Types, and the spec itself isn't stable yet.
I suspect the answer is negative because modules have isolated memory.
Once we do support Interface Types, they will work for this use case: Interface Types are specifically intended to enable passing structured data between modules (or from modules to the host and vice versa) without giving up on memory isolation.
Last updated: Dec 23 2024 at 12:05 UTC