Electron has even worse resource management, since its built on top of Chromium, which doesn't even attempt to make any reasonable decisions about how much resources can be utilized. I find it truly remarkable that 5 years ago I could use an 8GB MBP with no issue, and now with a 16GB MBP I get daily warnings about running out of space, because of RubyMine (I get it), Discord, and Chrome.
Maybe instead of writing all these articles about how JavaScript is great and the new-wave, actually writing apps that can stay bounded to 250MB memory?
Other than that, I’m not familiar with any particular features of the OS that unnecessary spend resources. Do you have examples?
Mail (completely garbage, can't update 300 emails within 5 hours), yet takes up 400mb in the Activity Monitor
Not identifying what exactly is the 1.18gb "java" process thats running right now (maybe elasticsearch? why not surface this info in activity monitor?)
I mean I have a million examples, I try to do lots of novel research and development and my machine is paralyzed by all these insane background processes, despite the fact that I have a 16gb, top of the line MBP as of last year. It's an insane joke.
EDIT: it is really interesting you are telling me that animations and UI graphics processing are important when it takes away from actual serious work/processing. Everyday I have to shut down my conputer to get to a clean slate because I have no visibility into the background processes occurring.
I guess that drop shadow is really worth the extra 100kb memory footprint!
But here are a list of things that Electron does better than any other desktop GUI framework.
1. Skills portability. Just use HTML and CSS to build your layouts. Hundreds nee thousands of web developers become instantly desktop developers, at least when it comes to UI development
2. Non natively cross platform. Your app looks exactly as you designed it across all major platforms. Down to the last branding design element. Without any additional effort.
3. Vast CSS, Node and JavaScript library ecosystem.
4. Flexibility in UI. I have yet to see a traditional UI library have the flexibility of CSS + markup.
5. Good enough native integrations. Users don't lack any of the major native integrations.
I am sure there are downsides of Electron. But unless a pure native library challenges some of the pros of electron, it will continue to grow in popularity.
You can see some web sites can be snappy...