Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/90042

TítuloRanking programming languages by energy efficiency
Autor(es)Pereira, Rui Alexandre Afonso
Couto, Marco
Ribeiro, Francisco
Rua, Rui António Ramada
Cunha, Jácome
Fernandes, João Paulo
Saraiva, João
Palavras-chaveEnergy efficiency
Programming languages
Language benchmarking
Green software
Data2021
EditoraElsevier 1
RevistaScience of Computer Programming
CitaçãoPereira, R., Couto, M., Ribeiro, F., Rua, R., Cunha, J., Fernandes, J. P., & Saraiva, J. (2021, May). Ranking programming languages by energy efficiency. Science of Computer Programming. Elsevier BV. http://doi.org/10.1016/j.scico.2021.102609
Resumo(s)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.
TipoArtigo
URIhttps://hdl.handle.net/1822/90042
DOI10.1016/J.SCICO.2021.102609
ISSN0167-6423
e-ISSN1872-7964
Versão da editorahttps://www.sciencedirect.com/science/article/pii/S0167642321000022
Arbitragem científicayes
AcessoAcesso aberto
Aparece nas coleções:HASLab - Artigos em revistas internacionais

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
1-s2.0-S0167642321000022-main.pdf2,73 MBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID