4 ms·
On a semi-related point, TinyGo (a subset of Go for embedded devices) recently added a WebAssembly output target: https://github.com/aykevl/tinygo https://gith
by justinclift 8y ago
On a semi-related point, TinyGo (a subset of Go for embedded devices) recently added a WebAssembly output target:
https://github.com/aykevl/tinygo https://github.com/aykevl/tinygo)
Unlike the current mainline Go's WebAssembly output (min ~2MB file size), the Wasm generated from TinyGo is practical in size. eg ~1kb for the toy examples
This is all leading edge dev stuff too, so updates and improvements are happening pretty frequently. :)
- sametmax 8y agoYour comment just made me realized that, while using cPython => webassembly for something else than electron would be overkill, this would be kinda neat for microPython.
- justinclift 8y agoYep. If you want to add it, that would be kinda neat. :)
- fulafel 8y agoThere seems to be some work on it: (1) https://github.com/micropython/micropython/pull/3575#issuecomment-425346070 https://github.com/micropython/micropython/pull/3575#issueco... (2) https://github.com/matthewelse/micropython/tree/emscripten/emscripten https://github.com/matthewelse/micropython/tree/emscripten/e...