this post was submitted on 28 Oct 2024
25 points (93.1% liked)
Opensource
1403 readers
13 users here now
A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!
⠀
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
WTF? Why would someone invest their time and skills like that? I agree with the premise of the project, though. I'm kind of not really okay with every small piece of software needing 8GB of RAM and fast internet for something that could be done in the 90s...
The tradeoff is extra speed for extra memory use. Things were not fast in the 90s and memory was in short supply.
I don't have a problem with maxing memory usage to make things faster. It's what it's there for. Especially 3d editing software.
Hmmm
I meant more today's technology. Where my chat server uses the better part of a gigabyte of RAM, just to forward text messages. Or like any random news site being like 5-10MB, not for the pictures, but because it sends the whole Bootstrap framework, webfonts and additional megabytes of javascript for the image lightboxes and random stuff. And I can't even realistically use Firefox on my old-old device with 3GB of RAM total. I think a lot of that isn't due to tradeoffs... Things just got more complex. We rely a lot more on ready-made libraries and helpers. And a lot of it is convenience. You just don't need to pay attention or put in effort, if it's available anyways. And I mean people will find some use some ways to fill it up. If there's space left on the Blueray, game developers add dedicated textures for night scenarios, rainy days, ... While their predecessors had to rely on some trickery or it just wasn't possible.
I usually don't complain. I just get annoyed when I have to buy new hardware. Or currently with my self-hosted services, and some of the services just taking up a lot of RAM. Some server software uses 1500MB of RAM, and then you find a different project providing the same features, just that it's written in a different programming language and it's fine with 300MB. And memory on my VPS is limited. So I ether pay attention to resource usage or I cut down on the number of self-hosted services. (Or pay double the monthly rate.)
The speed/memory tradeoff is something people learn while studying computer science. But I seriously doubt it's part of the usual programming job. (Unless you're doing embedded devices or something like that.) It's more that hardware is cheap while developer time is expensive. And the tradeoff is not to pay attention to efficiency or optimization, but just throw more hardware at it.
You're absolutely right that many times they trade resources for ease of development. Particularly websites.
I'm a programmer and guilty of this myself.
As you say it adds up quickly if you have multiple services.
I feel like we've passed the threshold of ram to speed. I feel like way more RAM is being used up for not much speed gains