by reactordev · 3y ago · 0 comments
Personally, go’s ability to serve content from its own binary using the `embed` package is one of the most killer features. I can ship a single binary and have my entire client packed inside. All at 28mb.
There's atleast https://wails.io/ for Go, and https://tauri.app/ for rust ofc.
So yeah, it’s not an electron alternative, but another arrow in the quiver to get Golang to be taken seriously outside of microservice/system-land. It deserves more. It’s not Rust, but it should be easier to build apps with Go for distribution.
This package though can help some folks bridge the gap between WebGL/WebGPU in Go WASM and their HTMX UI. I could be entirely mistaken having not used the package before but from what I’ve seen on their docs it should be possible to do full client wasm.
Most people doing Electron probably never went through the XUL and MSHTML hype cycles.
Electron will eventually join them.
By the way, Electron also requires C++.
That is how VSCode is actually usable.