WebAssembly API for Embedded Systems (Microcontrollers)

Dear WA Community,

I am interesting in using WebAssembly to develop firmware for
microcontrollers as a three step process: `prototyping -> debugging ->
deploying`.

On first step you can write application logic without board at all in
WebAssembly using only hardware simulation. On second step instead of
hardware simulation you can start to use real boards via similar to firmata
protocol [1]. Finally at the end, you can generate low level code with some
sort of dependency injections and compile and flash it directly to target
microcontroller.

So, it can be a new platform for quick prototyping embedded systems with
very portable application logic. Moreover, this approach with low level
code generation take a room to use a lot of already existing static and
dynamic code analyzers for safety systems and also avoid performance
penalties rather than using an interpreter.

May be do you have some plans or ideas in this direction? May be something
like WebAssembly API for Embedded systems. Thank you a lot for your
attention.

[1] https://github.com/firmata/protocol

- Dmitry Ulanov (aka dulanov)

Received on Saturday, 3 November 2018 10:18:28 UTC