Stream: git-wasmtime

Topic: wasmtime / Issue #1979 Use interface for calls between mo...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 05 2020 at 03:07):

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.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 05 2020 at 09:16):

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