3 ms·
It is very disappointing there are no embeddable, performant wasm runtimes. The language is perfect for embedded systems, it's a near asm level sandbox. But the
by stevemk14ebr 4y ago
It is very disappointing there are no embeddable, performant wasm runtimes. The language is perfect for embedded systems, it's a near asm level sandbox. But there's no good no_std or limited dependency runtimes! If wasm is to grow, it should work on this use case.
I should be able to provide platform APIs to allocate memory, maybe do some floating point math, and then that's about it. Additional features would just be giving some additional API implementations the runtime needs to interact with the host machine.
Context: this was a huge barrier for me on my project https://github.com/mandiant/STrace/blob/16859a811e4af7c68259949ef94a4ed3ed41beec/blog/Script.txt#L95 https://github.com/mandiant/STrace/blob/16859a811e4af7c68259...
- CharlesW 4y agoHave you looked at WebAssembly Micro Runtime (WAMR)? https://github.com/bytecodealliance/wasm-micro-runtime https://github.com/bytecodealliance/wasm-micro-runtime
- skyde 4y agoare you talking about something similar to micropython for micro controller?
- jedisct1 4y agowasm3 is super small and easy to embed.