Open rockwotj opened 1 year ago
Other Wasm runtimes have support for gas metering or fuel that allow Wasm code to have an upper bound on computation. Wasmtime's implementation even supports yielding. It'd be great to have this support in wamr
https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.consume_fuel
This would be a really nice feature to have.
Other Wasm runtimes have support for gas metering or fuel that allow Wasm code to have an upper bound on computation. Wasmtime's implementation even supports yielding. It'd be great to have this support in wamr
https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.consume_fuel