Explore WASM/WAMR for plugins
https://github.com/bytecodealliance/wasm-micro-runtime
What we want to know:
- Is wasm-micro-runtime a useful target for acceleration plugins?
- Is it a viable alternative to converting the firmware to Linux?
- I.e. can people write a C program, compile it to WASM, and can we relatively easily port/run WAMR on ZZ9000OS to load such binaries?
Boils down to:
- How complicated is it to write a small C application targeting WAMR?
- What do we need to expose in terms of operating system interface to WAMR from ZZ9000OS to make it work? For example:
-
timer -
interrupt -
memory allocator -
filesystem - https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/embed_wamr.md
-
Edited by minute