5 ms·
I think OP means native app. JS based Electron apps are noticeably less responsive and suck a lot more battery+RAM than native apps, easily a 10x difference.
by ceeplusplus 5y ago
I think OP means native app. JS based Electron apps are noticeably less responsive and suck a lot more battery+RAM than native apps, easily a 10x difference.
- fesc 5y agoEh, there have been quite a lot of good Electron apps lately. Where do you draw the line exactly? edit: spelling
- flamwenco 5y agoPlease, name a _single_ good Electron app besides VSCode. I'll wait.
- Turing_Machine 5y agoIn most cases the choice is not between an Electron app and an (imaginary) "good" app. The choice is between an Electron app and no app at all.
- flamwenco 5y agoSure, I understand that. But that's not what the parent was saying. The parent was saying there have been a number of good Electron apps recently. The only Electron app I ever see anyone hold up as good is VSCode, an app that makes a herculean effort to mitigate the latency and performance problems that Electron apps usually have. If the choice is between an Electron app and no app at all? I would rather the Electron app not lie to my face that it's a real application. No one expects a website in your browser to follow system conventions perfectly or behave like any other app on your system would. That expectation instantly and reasonably changes the moment it has its own application icon and windows, and Electron apps don't give a shit. I would rather not need to have Teams and Slack both installed and chewing up my CPU and GPU at work just because they both decided they're special enough to try and claim all of my resources.
- pizza234 5y ago> VSCode, an app that makes a herculean effort to mitigate the latency and performance problems that Electron apps usually have. Can you point to the parts of the program (source) that implement such optimizations? I'm curious, in particular, about how other editors solve the performance problems.
- Jensson 5y agoLarge parts of VSCode is implemented in C++ and running webassembly to avoid the problems with electron. An electron app that doesn't have parts in webassembly can't be as good as VSCode.
- pizza234 5y agoCan you point to such files in the VSC repository? The `src` directory doesn't contain any.
- Macha 5y agoNotion, Obsidian, and the like are getting pretty popular and are all Electron based. Postman was good after the Chrome App -> Electron port, though now they've bloated it to do more upsells.
- coffeeling 5y agoObsidian.md
- criddell 5y agoEven very well written Electron apps consume a lot more battery and memory and are less responsive than very well written native apps. It's the nature of the technology.
- bromuro 5y ago> Where do you draw the line exactly? UI guidelines from Apple.
- lucsky 5y agoThat even Apple regularly does not follow. Yeah. Great example... :>
- jmrm 5y agoNot only Electron apps, also any desktop program made with web technologies. At an example, let's look at Dropbox desktop programs. In Windows is made mixing Qt, Python scripts, and native solutions (just have a look at the installation folder), resulting in both a worse performance an a use of RAM.
- purerandomness 5y agoI'd consider Qt (including PyQt) to be a native app. Qt is not something I'd call a "web technology".
- jmrm 5y agoThat's totally true. I forgot to write that Dropbox uses Qt WebEngine in combination with HTML + CSS + JS to achieve what could be done with just plain Qt with nothing more.