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: Dec 23 2024 at 12:05 UTC