this post was submitted on 11 Jun 2025
84 points (86.2% liked)

Programming

20885 readers
76 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
 

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
[โ€“] frezik@midwest.social 16 points 3 days ago (1 children)

For raw computation, yes. Most programs aren't raw computation. They run in and out of memory a lot, or are tapping their feet while waiting 2ms for the SSD to get back to them. When we do have raw computation, it tends to be passed off to a C library, anyway, or else something that runs on a GPU.

We're not going to significantly reduce datacenter energy use just by rewriting everything in C.

[โ€“] BlackLaZoR@fedia.io 12 points 3 days ago

We're not going to significantly reduce datacenter energy use just by rewriting everything in C.

We would however introduce a lot of bugs in the critical systems