High energy efficiency programming language C

International Conference on Software Language Engineering (SLE) 2017 Adopted Paper "[Energy Efficiency across Programming Languages --How Do Energy, Time, and Memory Relate?] Sle".

(Abstract / Abstract translation from Abstract)

This paper presents run-time findings such as memory usage and energy consumption for each of the 27 well-known programming languages. Implement 10 different problems in each programming language and measure their performance. The results were interesting, revealing that slower / faster languages consume less / more energy, and memory usage affects energy consumption. Here's how to use the findings to help software engineers choose a programming language in situations where energy consumption is important.

Simply put, it's (one of) the answer to "Which programming language is run-time efficient?" There are three evaluation points of view:

--Energy: Lower power consumption is desirable. Be kind to the earth. --Time: Shorter time is preferable. "Speed" is justice. --Memory: The lower the usage, the better. Memory is a finite resource.

Let's leave the details to [paper body] paper and [supplementary site] site, and here we will look at the programming languages that took the best 3 from each viewpoint:

Ranking energy time memory
1st C C Pascal
2nd Rust Rust Go
3rd C++ C++ C

After all C language is strong. We have won prizes in all three categories.

? ?? "The strongest C language shouldn't be called too much because other general programmer languages are jealous. The ability to control a machine is great, but I know it because other programmers are kindly following me. C language That's how I always humbly performed it in UB (undefined behavior), so the people's desire was wonderful. "[^ 1]

[^ 1]: Bronto-sama's words and deeds Generally speaking, Knight is the strongest >> 39

Except for the absolute champion C, it's worth noting that [Rust] rustlang and [Go] golang came in second, overtaking the old programming languages (such as C ++). Both are really "hot" programming languages right now! This year's (2017) Advent Calendar is also a big success, so if you are interested, why not take a look.

-Rust-related Advent Calendar -Go-related Advent Calendar (Unbranded Go and Go2-Go4 are applicable)

On the other hand, C language Advent Calendar


** WARNING: ** The programming languages introduced in this post only scored high on the evaluation axis of software run-time efficiency. When selecting an actual programming language, various factors other than run-time efficiency should be taken into consideration, so be careful not to interpret or use this data in a short-circuit manner.

Recommended Posts

High energy efficiency programming language C
Qiita's popular programming language
C language ALDS1_3_B Queue
[C language algorithm] Endianness
[C language algorithm] Block movement
Machine language embedding in C language
C language ALDS1_4_B Binary Search
Heapsort made in C language
Programming language in "Hello World"
[C language] readdir () vs readdir_r ()
C language ALDS1_4_A Linear Search
[2019 latest version] Programming language comparison