3 ms·
> The solution is simple: ship your fucking dependencies. And then you get Electron, and people start complaining about the fact that you ship all your depende
by FooBarWidget 4y ago
> The solution is simple: ship your fucking dependencies.
And then you get Electron, and people start complaining about the fact that you ship all your dependencies instead of using the dependencies that are already there.
- forrestthewoods 4y agoWho is complaining about the install size of Electron? The problem with Electron is it’s laggy and slow. Using a different source for dependencies wouldn’t solve performance. It’d just slightly reduce storage footprint. I mean there’s always someone who complains about something. But if Electron apps had a large folder of binaries but it was super fast and responsive that would eliminate the vast majority of complaints.
- JohnFen 4y agoInstall size matters to me. Not as much as other things such as performance and memory footprint, but it still matters.
- chii 4y ago> The problem with Electron is it’s laggy and slow. electron isn't laggy or slow, the app might be because it's poorly written. There are fast electron apps! The complaint about electron i hear the most are 1) the memory footprint - each instance of electron takes up at least a gig of ram. 2) the browser is duplicated, and cannot be upgraded independently (but i argue that is the point of electron). The third, but irrelevant complaint is from people on high horses talking about wanting native apps, and look down on html based apps.
- pabs3 4y agoMy complaint with electron is they don't keep up with security updates to the browser engine that electron is a fork of. Even electron-nightly is based on an outdated version of chromium.
- llanowarelves 4y agoEnough people where all of Electron's competitors (Tauri, et al) list their smaller install size as one of the main selling points.
- bhedgeoser 4y agoFlutter is as good if not better than electron and requires a minimal set of dependencies (gtk, libc). Everything else can be statically linked using plugins.