Stream: general

Topic: No optimizations question


view this post on Zulip Elast0ny (May 05 2021 at 17:53):

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).

view this post on Zulip Elast0ny (May 05 2021 at 18:01):

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 ?

view this post on Zulip Chris Fallin (May 05 2021 at 18:05):

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)

view this post on Zulip Elast0ny (May 05 2021 at 18:06):

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 !

view this post on Zulip Peter Huene (May 05 2021 at 18:53):

Other options to consider are WAMR (https://github.com/bytecodealliance/wasm-micro-runtime) and Wasm3 (https://github.com/wasm3/wasm3)

WebAssembly Micro Runtime (WAMR). Contribute to bytecodealliance/wasm-micro-runtime development by creating an account on GitHub.
🚀 The fastest WebAssembly interpreter, and the most universal runtime - wasm3/wasm3

view this post on Zulip Peter Huene (May 05 2021 at 18:54):

erm apparently iwasm and wasmi aren't the same thing? "what a country!" - Dr. Nick.


Last updated: Nov 22 2024 at 17:03 UTC