3 ms·
This is somewhat related, although embedded here means embedding interpreted WASM into a CLI application. Similar method might be doable on an MCU. https://fo
by vardump 9y ago
This is somewhat related, although embedded here means embedding interpreted WASM into a CLI application.
Similar method might be doable on an MCU.
https://fosdem.org/2018/schedule/event/rust_embedding_wasm/ https://fosdem.org/2018/schedule/event/rust_embedding_wasm/
Then there's "WebAssembly interpreter in C":
https://github.com/kanaka/wac https://github.com/kanaka/wac
Looks like it might be good enough for implementing WASM "scripting" support in smallish environments.
- steveklabnik 9y agohttps://crates.io/crates/parity-wasm https://crates.io/crates/parity-wasm is an interpreter in Rust; there's some really interesting stuff happening with it in various forms. One of the most... extreme is https://www.reddit.com/r/rust/comments/88sxah/nebulet_can_now_call_external_functions_from_wasm/ https://www.reddit.com/r/rust/comments/88sxah/nebulet_can_no... (There are some more production-aimed things as well.) I think this idea has a lot of merit, overall, exactly as you say: kind of like a Lua.