Stream: git-wasmtime

Topic: wasmtime / issue #860 Add ability to stop running `wasmti...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2023 at 04:44):

zeroexcuses commented on issue #860:

Sorry, is there a way to pause + resume wasmtime instances right now?

Context: imagine an ant colony simulation, where each ant = tiny wasm vm; we want to run every ant for a bit, then pause it, let other ants run, etc ...

view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2023 at 15:08):

alexcrichton commented on issue #860:

Yes to do that you'd want to use Wasmtime's support for async. Fuel and epochs are the mechanisms to suspend computations. I'd also recommend opening a new issue and/or a thread on Zulip instead of posting on older issues.


Last updated: Nov 22 2024 at 16:03 UTC