News for hackers. Stuff that matters.
Re:Wazero: The zero dependency WebAssembly runtime for Go de... by pbronez on Tuesday May 17, 2022 @08:09AM (#31409287)
Could this be used to deploy Go CLI programs as web apps?

I haven’t worked with WASM before, but it seems like you should be able to sniff the CLI definition and expose the arguments and flags as basic web components / widgets.

Re:Wazero: The zero dependency WebAssembly runtime for Go de... by adrianfcole on Tuesday May 17, 2022 @11:05AM (#31411789)
(wazero maintainer) no this doesn't really help with that. This runs wasm in Go, regardless of which language compiled to wasm. TinyGo [1] is the most popular option to compile Go into wasm, and they have some instructions for web browser embedding.

[1] https://tinygo.org/docs/guides/webassembly/

Re:Wazero: The zero dependency WebAssembly runtime for Go de... by pbronez on Tuesday May 17, 2022 @02:03PM (#31414311)
Ah, thanks for the clarification!
Re:Wazero: The zero dependency WebAssembly runtime for Go de... by shantnutiwari on Tuesday May 17, 2022 @08:38AM (#31409628)
Gotty can already do that