TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
72 stars 7 forks source link

Feat/memory primitive prototype #238

Open tolauwae opened 3 months ago

tolauwae commented 3 months ago

There is an issue with the supervisor and the proxy RFC calls. Because they are synchronous, they hijack the main interpretation loop. The loop does not advance as it waits for the proxy call to finish, this is inline with our "atomic" design of primitives, no debug messages are processed during their execution.

In this case we do want this, since during the proxy call, the proxy device will send back debug messages.

tolauwae commented 3 months ago

There is an issue with the supervisor and the proxy RFC calls. Because they are synchronous, they hijack the main interpretation loop. The loop does not advance as it waits for the proxy call to finish, this is inline with our "atomic" design of primitives, no debug messages are processed during their execution.

In this case we do want this, since during the proxy call, the proxy device will send back debug messages.

Fixed in 34b89fd