Ranking programming languages by energy efficiency

dc.contributor.author Couto,M en
dc.contributor.author João Alexandre Saraiva en
dc.contributor.author Fernandes,JP en
dc.contributor.author Jácome Costa Cunha en
dc.contributor.author Rua,R en
dc.contributor.author Pereira,R en
dc.contributor.author Ribeiro,F en
dc.contributor.other 5633 en
dc.contributor.other 5597 en
dc.date.accessioned 2021-03-24T10:48:22Z
dc.date.available 2021-03-24T10:48:22Z
dc.date.issued 2021 en
dc.description.abstract This paper compares a large set of programming languages regarding their efficiency, including from an energetic point-of-view. Indeed, we seek to establish and analyze different rankings for programming languages based on their energy efficiency. The goal of being able to rank programming languages based on their energy efficiency is both recent, and certainly deserves further studies. We have taken rigorous and strict solutions to 10 well defined programming problems, expressed in (up to) 27 programming languages, from the well known Computer Language Benchmark Game repository. This repository aims to compare programming languages based on a strict set of implementation rules and configurations for each benchmarking problem. We have also built a framework to automatically, and systematically, run, measure and compare the energy, time, and memory efficiency of such solutions. Ultimately, it is based on such comparisons that we propose a series of efficiency rankings, based on single and multiple criteria. Our results show interesting findings, such as how slower/faster languages can consume less/more energy, and how memory usage influences energy consumption. We also present a simple way to use our results to provide software engineers and practitioners support in deciding which language to use when energy efficiency is a concern. In addition, we further validate our results and rankings against implementations from a chrestomathy program repository, Rosetta Code., by reproducing our methodology and benchmarking system. This allows us to understand how the results and conclusions from our rigorously and well defined benchmarked programs compare to those based on more representative and real-world implementations. Indeed our results show that the rankings do not change apart from one programming language. © 2021 Elsevier B.V. en
dc.identifier.uri http://repositorio.inesctec.pt/handle/123456789/12117
dc.identifier.uri http://dx.doi.org/10.1016/j.scico.2021.102609 en
dc.language eng en
dc.rights info:eu-repo/semantics/openAccess en
dc.title Ranking programming languages by energy efficiency en
dc.type article en
dc.type Publication en
Files
Original bundle
Now showing 1 - 1 of 1
Thumbnail Image
Name:
P-00T-A19.pdf
Size:
994.8 KB
Format:
Adobe Portable Document Format
Description: