3 ms·
I thought of that solution, but the problem is that when you have 8bit microcontroller and all your operations from webassembly are translated to 32 bit operati
by danielEM 5y ago
I thought of that solution, but the problem is that when you have 8bit microcontroller and all your operations from webassembly are translated to 32 bit operations then you gonna end up doing 8 bit math on 32 bit emulated math operations aligned back to 8 bit. :(
- sitkack 5y agoYou should see how it works in practice. Not try to discount your goals, but chasing 8 bits is anachronistic, an ESP32-C3 is a single core 160Mhz risc-v chip with 400KB of on chip ram for $1 qty 1. Rust can target AVR directly, https://www.avr-rust.com/ https://www.avr-rust.com/ Wasm runtimes also available for embedded platforms, https://github.com/wasm3/wasm3 https://github.com/wasm3/wasm3