extism / extism

The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps.

Home Page:https://extism.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

option for a WASM instr limit per call

walksanatora opened this issue · comments

I am trying to look for a wasm runtime (in java) that supports the ability for me to set an execution limit. eg:
execute 100,000 instructions and then return to java currently all the options I have found have been unofficial, broken, or repository removed

this is currently not supported in our Java SDK, but we maintain a pure-Java WebAssembly runtime which might support this in the future.

If you'd like, please open an issue there to suggest this feature:

https://github.com/dylibso/chicory

Note that chicory does support this now. We decided not to implement this for extism right now because it would be tricky to implement it in a runtime agnostic way that is also performant.