• ramble81
    link
    fedilink
    arrow-up
    27
    arrow-down
    2
    ·
    1 month ago

    My thoughts on software in general over the past 20 years. So many programs inefficiently written and in 4th level languages just eats up any CPU/memory gain. (Less soap box and more of a curious what if to how fast things would be if we still wrote highly optimized programs)

    • masterspace@lemmy.ca
      link
      fedilink
      English
      arrow-up
      36
      ·
      edit-2
      1 month ago

      Answer: there’d be far less software in the world, it would all be more archaic and less useful, and our phones and laptops would just sit at 2% utilization most of the time.

      There’s an opportunity cost to everything, including fussing over whether that value can be stored as an int instead of a double to save 8 bits of space. High level languages let developers express their feature and business logic faster, with fewer bugs, and much lower ongoing maintenance costs.

    • raspberriesareyummy@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      3
      ·
      1 month ago

      I fully concur. There’s tons of really inefficient software out there that wastes resources just because for a long time, available resources grew fast enough to just keep using more of them without the net speed of an application slowing down. If we didn’t have so many lazy SW devs, I suspect the reduction in needed CPU cycles would have a measurable positive effect on climate change.