Hacker News new | ask | show | jobs
by mananvaghasiya 3683 days ago
This is good and all but anyone else see a problem with electron apps for everything? all these apps built with electron really clogging my ram.
4 comments

If Electron means that people actually make cross platform apps, I'm all for it. Slightly suboptimal apps are better than no apps or discontinued apps.
Me too, but there should be some way to share resources between them
Shouldn't that be the OS's task? My kernel knowledge is rusty but I remember reading about concepts such as DLL/SO sharing, memory page sharing, etc.
This works for libraries/frameworks installed in a common place, like /usr/lib or /Library/Frameworks.

But, all those apps ship their own copy of Electron, so there is no simple way for OS to share pages.

Well, then this seems more of a packaging problem than an actual tech problem.

In an ideal world that would be the next step if the app reaches a large audience. I'm not sure that from the upstream developer's point of view the investment of limited resources into per-OS packaging is a good idea at this stage...

It only uses slightly more memory than Eye Of Gnome. If that's the price I have to pay for desktop apps with a better UI, I'll pay it.
slight you say? eog 8.1MB vs lightgallery 60MB for same image file.
Even when opening EoG without any image, it uses 25MB here. Are you using the values from the system monitor? Pretty sure those are not very accurate.
yup 6.1MB confirmed with top, without image
Javascript is the new Flash Player
JavaScript is becoming what Java set out to do, but in a way that works for users.
And not in a way for engineers that want to host applications, or people who care about single threaded web-frame apps chewing up their laptops battery and RAM.
I wouldn't blame JavaScript.
Lots of people didn't blame Adobe either...
It solves the problem of people not upgrading their PCs. /s
for sure