3 ms·
TinyGo (Go for embedded devices - AVR, Cortex, Bluepill, STM32F4, etc) compiles to Wasm as well: https://github.com/tinygo-org/tinygo/ https://github.com/tinyg
by justinclift 8y ago
TinyGo (Go for embedded devices - AVR, Cortex, Bluepill, STM32F4, etc) compiles to Wasm as well:
https://github.com/tinygo-org/tinygo/ https://github.com/tinygo-org/tinygo/
No garbage collector yet, but it's on the ToDo list and probably not too far off. :)
- snarfy 8y agoDo you really want garbage collection when your device has 2KB of ram?
- justinclift 8y agoIt depends. There's no one-size-fits-everything approach for this stuff. :)
- kbumsik 8y agoNo, you can't run GC at all. The minimum size of WASM heap is 64KiB by its spec. Otherwise it should run in stack-only mode. So running GC for microcontroller with less than that size doesn't make much sense.