3 ms·
This is a bit of a false dichotomy territory already. It's not Electron or fully native. It's Electron, or Qt QML, or Avalonia, or Swing, or ... There are good
by viraptor 3y ago
This is a bit of a false dichotomy territory already. It's not Electron or fully native. It's Electron, or Qt QML, or Avalonia, or Swing, or ... There are good choices which will not look 100% native, but are massively better in resource usage than Electron. (which is not native looking either) With Avalonia for example you can cover 3 major desktop platforms.
But specifically addressing "Would you rather not have this application exist at all?" - with more apps starting to go that way, it doesn't matter if they exist, because I won't have resources to run them. I've already dropped some electron apps for objectively worse alternatives, because I have actual work to do and 10 different Chrome processes cause swapping which prevents me from doing it.
- qayxc 3y ago> it doesn't matter if they exist, because I won't have resources to run them. Honest question: what kind of hardware are you using? I run Electron apps on a 12 year old dual core laptop with HT disabled and 8GB of RAM and never had any issues. So I'm curious to learn what kind of hardware would prevent one from running an Electron app, while still being able to run the online equivalent (i.e. any modern web browser with scripting enabled).
- viraptor 3y ago16GB recent MBP. With browser, slack, spotify, vscode, terminal, etc. etc. all running on Electron and taking 11GB+, I started swapping when more demanding compilation kicked in. Ended up merging some of those into browser tabs and replacing others with lightweight alternatives - no more swapping. The CPU doesn't really matter here that much and older hardware with 32GB would do better - it's the memory that gets impacted the most. Running "an Electron app" is not a problem. Running the 8th Electron app is.