• GetOffMyLan@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    25 days ago

    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.

    The ability to model, render, animate, and more is in development

    Hmmm

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      25 days ago

      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 software or something like that. It’s more that hardware is cheap and developer time is expensive. And the tradeoff is not to pay attention to efficiency, but throw more hardware at it.

      • GetOffMyLan@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        25 days ago

        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.

    • secret300@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      23 days ago

      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