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

C Programming Language

1153 readers
1 users here now

Welcome to the C community!

C is quirky, flawed, and an enormous success.
... When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn't developed under the advice of a worldwide crowd.
... The only way to learn a new programming language is by writing programs in it.

ยฉ Dennis Ritchie

๐ŸŒ https://en.cppreference.com/w/c

founded 2 years ago
MODERATORS
 

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
[โ€“] [email protected] 17 points 1 week ago (3 children)

For those who don't want to open threads, it's a link to a paper on energy efficiency of programming languages.

[โ€“] [email protected] 13 points 1 week ago (2 children)
[โ€“] [email protected] 9 points 1 week ago

it's crazy how efficient javascript has gotten

[โ€“] [email protected] 6 points 1 week ago

I'm assuming C is for compiled, V for virtual machine, I for interpreted.

Dart for sure is compiled, i think requiring a VM to run. It's a bit weird, but definitely not interpreted, unless you transpile to JavaScript.

Also, couldn't read the whole paper, but the numbers for Python are rather staggering. I remember reading on performance and there were massive differences between CPython, PyPy and a third one I can't recall. And that's surely to impact energy consumption.