100

cross-posted from: https://lemmy.world/post/31184706

C is one of the top languages in terms of speed, memory and energy

https://www.threads.com/@engineerscodex/post/C9_R-uhvGbv?hl=en

you are viewing a single comment's thread
view the rest of the comments
[-] mbirth@lemmy.ml 7 points 6 days ago

Does the paper take into account the energy required to compile the code, the complexity of debugging and thus the required re-compilations after making small changes? Because IMHO that should all be part of the equation.

[-] atzanteol@sh.itjust.works 11 points 6 days ago

It's a good question, but I think the amount of time spent compiling a language is going to be pretty tiny compared to the amount of time the application is running.

Still - "energy efficiency" may be the worst metric to use when choosing a language.

[-] pHr34kY@lemmy.world 5 points 6 days ago

Energy efficiency strongly correlates to datacentre costs.

[-] syklemil@discuss.tchncs.de 5 points 6 days ago

And battery costs, including charging time, for a lot of devices. Users generally aren't happy with devices that run out of juice all the time.

[-] HelloRoot@lemy.lol 6 points 6 days ago

They compile each benchmark solution as needed, following the CLBG guidelines, but they do not measure or report the energy consumed during the compilation step.

Time to write our own paper with regex and compiler flags.

this post was submitted on 11 Jun 2025
100 points (100.0% liked)

Programming

20943 readers
23 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