Stream: general

Topic: C API of pausing and resuming a webassembly sandbox


view this post on Zulip lyuxiaosu (Sep 07 2023 at 16:58):

Hi wasmtime team, I have a use case to pause and resume a webassembly sandbox, does wasmtime has such C API? I saw a disscussion online for this, but I don't know finally wasmtime provides such api or not? Thank you.

view this post on Zulip Alex Crichton (Sep 07 2023 at 17:06):

More-or-less the answer is "no" with the C API. Wasmtime's Rust API support async Rust which uses a form of suspend-and-resume but the suspended state is not serializable. This async support is not exposed in the C API at this time. Does that answer your question?

view this post on Zulip lyuxiaosu (Sep 07 2023 at 17:10):

Thanks, I see.


Last updated: Nov 22 2024 at 16:03 UTC