Re:When the memory allocator works against you
by tedunangst on Sunday March 12, 2017 @01:24PM
(#13851779)
I suppose that works with RAM and CPU waste, but I notice the people building gigabyte consuming irc clients aren't paying for all their users RAM, so the cost tradeoff is rather different.
Re:When the memory allocator works against you
by crististm on Sunday March 12, 2017 @01:44PM
(#13851891)
Look up Hamming's course on "Learning to learn".
An optimal design is not robust. You add a safety factor and this addition is wasteful in some sense (thus not optimal) and necessary in another. Do you design a building so that the toilets are optimally used? Likewise for planes.
But just because you have enough of a cheap resource (RAM) it is not a given that using it in excess is either optimal or robust.
Re:When the memory allocator works against you
by TeMPOraL on Sunday March 12, 2017 @02:22PM
(#13852150)
Also, most users aren't really aware what's using up the resources - only that their computer gets slower with time. I actually wish Windows would start naming & shaming applications - e.g. by showing a balloon when the system slows down, that would say that application X and Y are consuming most of the resources.
As it is now, CPU, RAM and storage usage are perfect externalities for developers. The result of their abuse is user frustration, and reduction of the number of things people can do on their computers. That, and wasting user time. Unfortunately, there's no way that would make the developers suffer costs for wasting user's resources, so the only thing that lets us have lean software is engineering competence and human decency (both of which seem to be in short supply).
The difference is that engineers have codified this and call it "safety factor." Your house is built to carry perhaps ten times the load it truly needs to, because it's cheaper to throw in extra materials than it is to build it to hold precisely what it needs. An airplane is built with much thinner margins, because saving materials is far more valuable, and it's well worth the extra time and attention to.