4 ms·
No, You might have the best developers around but using electron will always make your app worse. It bundles all of chromium which is an outrageous waste of sp
by Kibranoz 5y ago
No,
You might have the best developers around but using electron will always make your app worse. It bundles all of chromium which is an outrageous waste of space. Chromium in itself is really ram intensive and the new contributions of Microsoft edge to chromium aren’t even added there anyway.
If you need a web front end make a progressive web app and use web assembly technology. Or use a lighter framework like neutralino or tauri JS. You do not need to bundle chromium in every single application.
- rayiner 5y agoDon’t understand the down votes for this. There are no good electron apps. Zero. None. Just less bad ones.
- horsawlarway 5y agoLook - bitch all you like, but... An electron app is now the most popular editor on the planet. Further - because of Electron I can use every required work app on linux. I literally give almost no fucks how bad electron apps are, because I'm painfully aware of what it was like to try to run a linux box as a daily driver as an employed software developer before Electron - Hint, it involved booting a windows VM. You want to guess what's more of a resource hog? So, you can go poopooing "that damned new app on my block" all you want, but you don't matter. Between an electron app, and no app... I will pick electron. if that means I need to spend an extra 15 bucks on ram or hdd... oh the horror! Would I be happy to see linux native ports? Sure. But as someone who's not an a blind foolish zealot, I can do some quick math to understand exactly what the cost/benefit of native linux ports are, and I don't really blame companies for skipping them, and I'm thrilled they pick stacks like electron so I get first party support. Would I like to have more PWAs? Absolutely - go take it up with Apple, who's been a stick in the mud on this front for literally decades now. Do I think Neutralino or Tauri actually solves this problem? Nope - because it depends on the native webview implementation, system support is a nightmare (it's a modern take on DLL hell from windows - just this time it's missing browser features. You want to guess how many times I still see enterprise machines running ie8/11 as the default webview? It's a fuck load more than you might expect) Otherwise... take a deep breath. You will survive this "hugely trying ordeal" of having someone ship a slightly larger binary in this day and age of multi-terabyte drives.
- digisign 5y agoI've had a linux desktop/laptop for twenty years now and never used an Electon app to my knowledge, so don't care either way. Just curious why both of you seem to think they are required? The "apps" mentioned so far work fine in a browser, or have native alternatives.
- horsawlarway 5y agoFor the most part - I agree that electron apps are also usable in the browser, a few of them struggle with the sandboxing that browsers place around file system access. Ex: Yes, you can run vscode in a browser, but it has a lot of caveats, and behaves much more like a remote client. For others - Just having Electron to target is the reason they work in the browser at all. Skype used to require either a windows vm, or a crappy 3rd party linux client - now it's electron native and also works in the browser, and Teams targeted electron out of the gate, making it browser compatible early (although I wouldn't call teams a shining example of a decent app unless you held me hostage) Etcher is another example - Yes, with WebUSB, you can flash usb devices in a normal tab, but there's just really no reason to have a server to hit at all - the whole process is client local, and having you download it as a local application just makes more sense all the way around (not to mention, gets offline access for free, rather than having to implement it with a service worker). Another reason to keep them local is that you get a new chromium profile by default. I run discord on a few work machines, but I don't want it to run in the browser profile I use for work, and I'm already juggling 3 other work profiles (dev, staging, qa) and my personal chrome profile - they have a specific set of extensions and settings. It's easier to just treat it like an app if I want it running most of the day - happy to load it in a tab when I'm out and about on other computers, though.
- bogantech 5y ago> I literally give almost no fucks how bad electron apps are, because I'm painfully aware of what it was like to try to run a linux box as a daily driver as an employed software developer before Electron - Hint, it involved booting a windows VM. You want to guess what's more of a resource hog? Yeah it's totally cool that we all get to suffer so some masochist linux desktop users get some apps