• bidenicecream [none/use name]@hexbear.net
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Computer hardware has been getting faster and faster for decades at this point, but my computer still slows down. Like WTF. The dumbass programmers take the extra power given to them and squander it instead of optimizing their code. Microsoft word could run pretty well on a windows 98 PC, but the new Word can slow down PCs that are 5-10 years old. Programmers are complete idiots sometimes…

      • NBJack@reddthat.com
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        1 year ago

        Linux can be just as much of a slow-ass OS. The real issue is all of the crap everyone wants to do in the browser now.

        • 257m@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          With linux you have the option of debloating your system by using a minimalist distro with Windows you have no choice

    • Evilsandwichman [none/use name]@hexbear.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      As someone who only learned a few things about programming, is optimizing code an easy thing? I’ve read about that many times but the only thing I could imagine (and I had to imagine it as I’m not really a programmer) is that perhaps their codes could be more efficient (so rewriting their code so that ten lines do the job of thirty for example) but I feel like if they lack the logic skills or math skills to do it then perhaps that’s why the code contains large functions and such.

      But again, I’m not a coder, so I’ve no idea how in practice code can be optimized.

      • 257m@lemmy.mlOP
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Shorter is usually faster so your right on that account but not always. There are few things like optimizing for cache hits that can vastly speed up programs but are hard to do. Most slow programs are due to technical debt, high dependencies usage, mixed with laziness and lack of interest in developers with speeding up their program.