I did not know about tinygo and this is pretty impressive. However, it is only a subset of Go missing a few features, most notably the fact that memory is never deallocated.
Also, the equivalent JavaScript is still a fraction of this size. That's actually roughly the size of Preact, which implements nearly all of React.
Comments
Subset of Go + LVVM = 4.1k wasm demo (2.3k gzip'd)
Demo: https://richardanaya.github.io/wasm-module/examples/tinygo_c...
Article: https://medium.com/@richardanaya/hyper-efficient-front-end-d...
I did not know about tinygo and this is pretty impressive. However, it is only a subset of Go missing a few features, most notably the fact that memory is never deallocated.
Also, the equivalent JavaScript is still a fraction of this size. That's actually roughly the size of Preact, which implements nearly all of React.