Do you really want garbage collection when your device has 2KB of ram?
Re:WebAssembly Micro Runtime
by justinclift on Friday May 10, 2019 @09:34AM
(#19877521)
It depends. There's no one-size-fits-everything approach for this stuff. :)
No, 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.
https://github.com/tinygo-org/tinygo/
No garbage collector yet, but it's on the ToDo list and probably not too far off. :)