[–] jay_kyburz 4y ago ↗ 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? [–] capableweb 4y ago ↗ 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. [–] viebel 4y ago ↗ Miguel Liezun used yaegi https://github.com/traefik/yaegi compiled to WASM to let Klipse evaluate Go code snippets in the browserhttps://github.com/viebel/klipse/pull/393 [–] bsaul 4y ago ↗ How does it work with the std lib ? System calls surely don’t work in a wasm VM ?
[–] capableweb 4y ago ↗ 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.
[–] viebel 4y ago ↗ Miguel Liezun used yaegi https://github.com/traefik/yaegi compiled to WASM to let Klipse evaluate Go code snippets in the browserhttps://github.com/viebel/klipse/pull/393 [–] bsaul 4y ago ↗ How does it work with the std lib ? System calls surely don’t work in a wasm VM ?
[–] ArchieMaclean 4y ago ↗ On mobile, if I put the cursor on any word and press any key (even backspace), the word gets repeated at the current cursor position.Something to do with touch events not being handled properly maybe? [–] brundolf 4y ago ↗ Doesn't work at all for me on mobile Safari. I just see a block of uncolored preformatted text, and tapping on it has no effect (not even a cursor) [–] viebel 4y ago ↗ It used to work but I broke it on my own blog. You know, the shoemaker goes barefoot!
[–] brundolf 4y ago ↗ Doesn't work at all for me on mobile Safari. I just see a block of uncolored preformatted text, and tapping on it has no effect (not even a cursor)
[–] viebel 4y ago ↗ It used to work but I broke it on my own blog. You know, the shoemaker goes barefoot!
7 comments
[ 3.5 ms ] story [ 30.5 ms ] threadSo 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?
https://github.com/viebel/klipse/pull/393
Something to do with touch events not being handled properly maybe?