News for hackers. Stuff that matters.
Re:A new way of blogging about Golang by jay_kyburz on Sunday August 29, 2021 @06:03AM (#28345533)
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?

Re:A new way of blogging about Golang by viebel on Sunday August 29, 2021 @12:21PM (#28348025)
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

Re:A new way of blogging about Golang by bsaul on Monday August 30, 2021 @03:49AM (#28353553)
How does it work with the std lib ? System calls surely don’t work in a wasm VM ?
Re:A new way of blogging about Golang by capableweb on Sunday August 29, 2021 @09:54AM (#28346697)
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.