2 ms·
"Some people seem to think that unused ram is good, quite the contrary actually." Bubkiss. Using ram is an inherent negative that is justified by saving cpu ti
by michaelmrose 7y ago
"Some people seem to think that unused ram is good, quite the contrary actually."
Bubkiss. Using ram is an inherent negative that is justified by saving cpu time or disk access.
All things being equal if you could do the same job with a fraction of the resources the user would be better of because someone else's bloated app can use that ram or it can be used to cache files. It certainly isn't "wasted"
Now using ram to cache files is unequivocally good because as the file exists on disk we can at any time evict it from memory and read it again later.
"Laptop and battery-driven devices is a whole other matter though." Wherein a whole other matter is the majority of computers.
"If you have 50 of these apps running doing work while playing a game while having a pc from 10 years ago, then I can actually see a problem"
Complete strawman. There are probably more people that are poor or cheap running slow devices than fast, This is by no means limited to a tiny number of very old devices. Likd 80% of computers are constrained in terms of battery or ram.
"electron is just terrific and is a trade-off that is worth it in the end"
What you are actually saying is that you value one developers time over a million users time. The challenge is that it doesn't scale very well. If the user runs 10 apps that use a gb per app a typical 8gb ram machine will be swapping when switching apps and a 4gb which still exists will have stopped working.