A bit old but still interesting

  • floofloof@lemmy.ca
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    2 days ago

    Their conclusion in section 3.1:

    No, a faster language is not always the most energy efficient.

    That said, they really seem to be pointing out that there are exceptions to this rule, where the languages that solve a problem most quickly are not the ones that use the least energy doing it. If you step back from the detail of individual algorithms, speed and energy efficiency do seem broadly to vary together, as one would expect.

    • atzanteol@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      2 days ago

      That was a fascinating discovery. It seems Pascal and Fortran in particular fit into the “faster but less efficient energy-wise” category. I wonder what’s going on there.

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 days ago

      If your target audience says too lazy didn’t read - I think the bit that applies like a rule of thumb to most cases is more relevant and has a higher practical knowledge value than the intricate details or an “it depends”.

      (Similar how you can just explain gravity with newton instead of einstein, to make it short, even though it is less precise or technically false)