It is the greenest programming language

0

Have you ever wondered if there is a correlation between the energy consumption of a computer and the choice of programming languages? Well, a group of Portuguese university researchers did it and set out to quantify it. Their 2017 research paper titled Energy efficiency in programming languages ​​/ How are energy, time and memory related? may have escaped your attention, as well as ours.

Abstract: This paper presents a study of the execution time, memory usage, and power consumption of twenty-seven well-known software languages. We monitor the performance of these languages ​​using ten different programming problems, expressed in each of the languages. Our results show interesting findings, such as slower/faster languages ​​consuming less/more power, and how memory usage influences power consumption. We show how to use our results to help software engineers decide which language to use when energy efficiency is an issue.

Although we may disagree with some of the programming languages ​​selected as “well known”, the project was very thorough and fairly well documented. Most people would take it for granted that a computer program that runs faster will consume less power. But that might not always be true, as other factors go into the power consumption equation besides speed. The team used a collection of ten standard algorithms from the Set of benchmarks in computer language project (formerly known as The Great Computer Language Shootout) as the basis for their assessments.

Last year they updated functional language results, and all configurations, references and collected data can be found here. See the paper for more details. Has your choice of programming language ever been influenced by power consumption?

Share.

About Author

Comments are closed.