Programming languages ranked by energy efficiency

preview_player
Показать описание
Yes, Rust is slower than C, and takes more Memory. But its not as Bad as Ruby.

Рекомендации по теме
Комментарии
Автор

I’d be really interested in the zig comparison.

ZwartCode
Автор

it'd be cool if they updated this list again but with the other c alternatives out there now. such as zig, odin, hare, c3, etc... but then again i think they're still in a development phase and not release ready.

kenneth_romero
Автор

The fact that rust is only 3% slower while beeing safe is so impressive! I would love to know if they used unsafe in the test.

julikiller
Автор

Duane, what are your thoughts on electrical engineering going forward?

ripsky
Автор

Separating C++ from C is a mistake. I.e., If I want to parse some stuff reach for C++. In this way I keep my tooling and get the STL utils (even though they are s*tty utils)

About the rest of the languages nothing comes close to C++. C is known as the portable assembly language. Sure it does not match any modern hardware but instead think of it as the smallest subset of assembler that is portable. When I need to get close to the hardware I still do it through C APIs or wrap some platform specific assembler ( i.e. CUDA, - tough I wish they would stop in creating all that ridiculous shading languages!! or at least let us run programs directly in the hardware OS userspace - no more f*ing drivers since the hardware is either running a MINIX or a Linux or something else that is still programmed in C! let me handle my interface to your hardware if i like to)

dragosd
Автор

It's sad to see python have such low energy efficiency and runtime efficient. Just sad we wish it was better.

Omeomeom
Автор

I don’t think it makes sense to include Typescript in this list since it will be Javascript at runtime

erice.
Автор

Who wuda thought OCaml is actually efficient?

gerooq
welcome to shbcf.ru