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

C Programming Language

1150 readers
2 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

top 7 comments
sorted by: hot top controversial new old
[โ€“] stm@lemmy.dbzer0.com 1 points 5 days ago

Damn I'm polluting with my python apps

[โ€“] brisk@aussie.zone 15 points 1 week ago (1 children)

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

[โ€“] brisk@aussie.zone 13 points 1 week ago (2 children)

it's crazy how efficient javascript has gotten

[โ€“] Colloidal@programming.dev 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.

[โ€“] 18107@aussie.zone 13 points 1 week ago* (last edited 1 week ago)
while(1);

Not if I'm writing it.

[โ€“] StopSpazzing@lemmy.world 3 points 1 week ago

No assembly?