Re:WebAssembly Micro Runtime
by snarfy on Friday May 10, 2019 @09:02AM
(#19877297)
Do you really want garbage collection when your device has 2KB of ram?
[ Parent
| on HN ]
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.