4 ms·
What benefits does this have over Electron? Why why would I want to use Go on the integration side, and still have to use JS within the webpage? Most Electron
by pitaj 10y ago
What benefits does this have over Electron?
Why why would I want to use Go on the integration side, and still have to use JS within the webpage? Most Electron apps I've seen have a slim wrapper of code in their main file to just initialize native things. Why is it better or easier to do that in Go instead of in JS?
- johnnydoebk 10y ago>> Why would I want to use Go Probably, you wouldn't. But it's not quite surprising if users of GopherJS and Go would prefer Go over JS, is it?
- onion2k 10y agoPicking your technology stack based on "what you prefer working with" rather than "what works best for the application you're building" is piling on technical debt before you've even started your project. That isn't saying Gallium is necessarily the wrong choice over Electron; it's saying you should evaluate them both and use the one best suited to what you're building, even if that means learning a new language. (Obviously this is a ideological argument rather than a practical one because most projects don't have the budget for devs to do that much prep work like learning a new language, but practicality is boring. :) )
- jalfresi 10y agoIsn't Electron the very definition of "Picking your technology stack based on what you prefer working with" rather than "what works best for the application you're building"?
- Eridrus 10y agoI think Electron has proven to be a very powerful model for GUI customization IMO. Some of the plugins people are building are truly amazing and I can't see this happening in a non-web ecosystem.
- bpizzi 10y agoWith Gallium the "outer layer" is compiled whereas with Electron end users can take a look at the scripts (there's some ways to mitigate it, but still, it's not compiled into a binary). This can be useful if, for example, you want to deploy this as a commercial software and do some checking against piracy... Which leads to: there's still no licence attached to this cool project ;)
- kuschku 10y agoSo, you're saying, the only advantage is that instead of every high school student being able to crack your DRM, now only every college student will be able to crack your DRM. Just stop it and give up on DRM.
- S4M 10y agoFor what I know Electron apps take lots of CPU and RAM, so Gallium might be a win over Electron resource-wise.
- eivarv 10y agoThey both embed chromium, though, which will perform much worse than say native GUI widgets.