4 ms·
> How large are the compiled binaries? > The executable itself is 2.2M [...] Bundle 95MB [...] > https://www.reddit.com/r/golang/comments/53tw4p/a/d7x2a91 htt
by guessmyname 10y ago
> How large are the compiled binaries?
> The executable itself is 2.2M [...] Bundle 95MB [...]
> https://www.reddit.com/r/golang/comments/53tw4p/a/d7x2a91 https://www.reddit.com/r/golang/comments/53tw4p/a/d7x2a91
People feared when many former Node.JS developers migrated to Go because they would probably migrate the same principles from the JavaScript community (NPM and the dependency hell). Now people will fear the migration of Electron-like applications to the Go ecosystem. I am glad that more and more web developer are stepping forward and contributing their skills to create desktop applications, but I still cannot wrap my head around the idea that embedding a giant non-efficient webview in every project is a good idea. At this point, a computer with +16GB RAM will feel like using one with only ~6GB because of the amount of Chromium instances open in the background.
Someone reported yesterday a problem in the SublimeText3 issue tracker [1][2] stating that after the automatic update to the latest version the software started to consume a lot of RAM and CPU, but then he explained that (while using a Mac) he had ST open for several months, WTF!!! He should be graceful that you could keep ST open for more than a week, try that with an Electron-based application like Atom and you will cry. Now imagine this scenario with the future Go+Electron-like applications in the following months.
[1] https://github.com/SublimeTextIssues/Core/issues/1387 https://github.com/SublimeTextIssues/Core/issues/1387
[2] https://forum.sublimetext.com/t/sublime-3124-eat-up-my-cpus/23016/4 https://forum.sublimetext.com/t/sublime-3124-eat-up-my-cpus/...
- bryanlarsen 10y agoI've had my web browser open for many weeks without issue. Individual tabs may crash, but the browser stays up and memory usage doesn't get out of hand. Initial memory usage may be heavy on an Electron app, but there's no particular reason to expect unbounded growth.
- FLUX-YOU 10y agoHow many Chromium instances does Gallium create? Why would it ever need more than one unless you need to spawn a new window? We're way beyond the old WinForms days of making new windows that often.
- brightball 10y agoThe main reason is user expectations. People expect applications to be portable between web, desktop OS, tablet/phone OS. Developers only have so much time and budget so currently HTML provides the best option to port interfaces between all platforms in the shortest period of time. It's not ideal, but everything generally comes down to cost benefit analysis with time being a major contributor to cost. That's the entire reason that so many startups have been using Ruby despite it's non-ideal performance. Soon as you get a steady revenue stream from users taking the time to optimize to something else makes sense. Granted, Elixir is shifting that formula quite a bit now since you can get those Ruby-like levels of productivity and time savings without the long term expectation of refactoring headaches.