this post was submitted on 29 Jul 2025
56 points (88.9% liked)

Programming

21948 readers
755 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

A bit old but still interesting

you are viewing a single comment's thread
view the rest of the comments
[–] HelloRoot@lemy.lol 22 points 5 days ago* (last edited 5 days ago) (5 children)

tldr:

  • faster lang consumes less energy (more or less)

opinionated tldr:

  • Java surprisingly good lets goooooooo Javaaaaaaa!
  • python so low, ew
[–] floofloof@lemmy.ca 8 points 5 days ago* (last edited 5 days ago) (3 children)

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 3 points 5 days ago (1 children)

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.

[–] PokerChips@programming.dev 1 points 3 days ago

What they do have in common is that they are both O.G. languages.

load more comments (1 replies)
load more comments (2 replies)