3 ms·
Subset of Go + LVVM = 4.1k wasm demo (2.3k gzip'd) Demo: https://richardanaya.github.io/wasm-module/examples/tinygo_canvas/index.html https://richardanaya.gith
by hu3 8y ago
Subset of Go + LVVM = 4.1k wasm demo (2.3k gzip'd)
Demo: https://richardanaya.github.io/wasm-module/examples/tinygo_canvas/index.html https://richardanaya.github.io/wasm-module/examples/tinygo_c...
Article: https://medium.com/@richardanaya/hyper-efficient-front-end-development-with-web-assembly-using-go-and-llvm-8e6a1ccdd2bc https://medium.com/@richardanaya/hyper-efficient-front-end-d...
- bfrydl 8y agoI 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.