Anyone knows if its possible to use wasmtime in "barebones" mode where only the bare minimum happens to interpret a WASM module. I'm assessing different wasm interpreters and need to minimize compile size (performance is low on the priority list).
is wasmtime a crate i can use to allow me to do this ? i.e give it a WASM bytecode module and have it interpret the bytecode directly ?
Wasmtime currently doesn't have an interpreter but there are some other Rust crates that implement this -- depending on which features you need, some may work! E.g. wasmi
is a simple Wasm interpreter loop in a crate (we use this as a fuzzing oracle fwiw)
Right, i already made a quick proof of concept with wasmi
but they dont support WASI so i was hoping wasmtime
would have an interpreter hidden somewhere ;)
Thanks anyways !
Other options to consider are WAMR (https://github.com/bytecodealliance/wasm-micro-runtime) and Wasm3 (https://github.com/wasm3/wasm3)
erm apparently iwasm
and wasmi
aren't the same thing? "what a country!" - Dr. Nick.
Last updated: Nov 22 2024 at 17:03 UTC