I've been doing some work on how to integrate #WebAssembly into an #embedded system. Including how to optimize getting data into and out of the #Wasm sandbox. In this blog post I share some of the tips and tricks on how to do this:

https://withbighair.com/webassembly/2025/11/16/4-Things-to-Consider-When-Adopting-WebAssembly-for-Embedded-Systems-Part-3-Integration.html

4 Things to Consider When Adopting WebAssembly for Embedded Systems - Part 3 Integration.

The issue of getting data into and out of a WebAssembly sandbox as fast as possible is something which doesn’t just impact embedded systems, it’s applicable to many. So, how do you do it? - Well, the answer is surprisingly easy, direct access to Linear memory from the host. To do this we have to share data structures between the host OS and the Wasm application. This too is also surprisingly easy.

With Big Hair