A new way of blogging about Golang(blog.klipse.tech)
blog.klipse.tech
A new way of blogging about Golang
https://blog.klipse.tech/golang/2021/08/29/blog-go.html
2 comments
This is cool.
So can anybody tell me if I can write a go app and run it in the browser yet.
Years ago people were talking about WASM, but did it every take off?
So can anybody tell me if I can write a go app and run it in the browser yet.
Years ago people were talking about WASM, but did it every take off?
Miguel Liezun used yaegi https://github.com/traefik/yaegi compiled to WASM to let Klipse evaluate Go code snippets in the browser
https://github.com/viebel/klipse/pull/393
https://github.com/viebel/klipse/pull/393
How does it work with the std lib ? System calls surely don’t work in a wasm VM ?
You could compile Go to JS via GopherJS but doing so hardly makes sense outside of experiments as the size of the JS output is way too big.
Something to do with touch events not being handled properly maybe?