Whenever [specially the electron] people talk about "unused ram is wasted ram"

It's already the OS's job to manage system ram, not your program

Stop assuming your program is the only thing running, yes the machine has 16GB of ram, which should let it run many more programs at once, not two or three bloated program

If you are going to use resources, it has to be for something useful like actually intensive work, not just for backing your badly made framework that is idling most of the time

@Waces my OS's response to this whole mess has been "fuck it, we're going to use a stupidly efficient compression algorithm on half your RAM" and it's kinda admirable in its own way

@Waces I do not use progs based on electron, I completly agree with you

@Waces I love when people justify bad practices by ambiguous quotes
the wasted ram thing was for os programmers
there's also "developer time is more expensive than computer time"

@Waces wait who does this like an example program for my noob ass

@Waces I not fully getting what you are saying, but you could use docker to avoid sharing libraries. This improves ram utilization quite a bit /s

@Waces i have all this space in my bedroom, and it's wasteful for any single piece of furniture to not utilize 100% of it

@Waces what absolute buffoon would say something like that. what the hell. i am baffled

@Waces There's no such thing as unused RAM when your OS does disk caching

@izaya @Waces actually, there is. But hopefully it'll soon stop being FREE and start being CACHE.


Whenever I see an overhyped warm take like this I want to say "Ugh everyone knows this. It doesn't need to be said!"

But the problem is there are literally people who DON'T know this and it DOES need to be said, and it makes me sad.

But yes, you are correct.

@Waces YEAHHH my old software house colleagues thought that way

"computers are getting more powerful, THEREFORE we don't need to care about optimisation"

It's as if that entire set of people only care that it runs. Not that it runs *well*. I feel they'd never get their foot in the door for making software that seriously mattered..

@Waces instead, let's make this formal and waste the ram explicitly.

@Waces that saying "unused ram is wasted ram" only really applies on servers where they're doing the same kinds of workloads all day

a desktop computer switches tasks all the time and needs to have capacity for whatever the user feels like doing, and kernels these days are smart enough to use free memory as disk cache to speed up IO anyways

why can't webshits stop being so stupid?

@lunch @Waces
Lower bar for entry into "web dev", so more bad behaviors survive entry and all that jazz
@Waces There's also simply no such thing as unused ram. Unused ram is the disk cache, so literally the more empty it is the better your performance and user experience.
You're degrading my entire experience for nothing.
@Waces web developers needing 2GB of RAM to display a paragraph of text on a screen.
Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!