Ranking programming languages by energy efficiency

Bibliographic Details
Main Author: Pereira, Rui Alexandre Afonso
Publication Date: 2020
Other Authors: Couto, Marco, Ribeiro, Francisco José Torres, Rua, Rui António Ramada, Cunha, Jácome, Fernandes, João Paulo Sousa Ferreira, Saraiva, João
Format: Article
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/1822/69044
Summary: 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 languages with energy in mind is a recent one, and certainly deserves further studies. We have taken 19 solutions to well defined programming problems, expressed in (up to) 27 programming languages, from well know repositories such as the Computer Language Benchmark Game and Rosetta Code. We have also built a framework to automatically, and systematically, run, measure and compare the efficiency of such solutions. Ultimately, it is based on such comparison that we propose a serious of efficiency rankings, based on multiple criteria. Our results show interesting findings, such as, slower/faster languages consuming less/more energy, and how memory usage influences energy consumption. We also show how to use our results to provide software engineers support to decide which language to use when energy efficiency is a concern.
id RCAP_e67e9be02fa3f6e17cb3790aaee08d91
oai_identifier_str oai:repositorium.sdum.uminho.pt:1822/69044
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling Ranking programming languages by energy efficiencyEnergy efficiencyProgramming LanguagesLanguage BenchmarkingGreen SoftwareCiências Naturais::Ciências da Computação e da InformaçãoThis 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 languages with energy in mind is a recent one, and certainly deserves further studies. We have taken 19 solutions to well defined programming problems, expressed in (up to) 27 programming languages, from well know repositories such as the Computer Language Benchmark Game and Rosetta Code. We have also built a framework to automatically, and systematically, run, measure and compare the efficiency of such solutions. Ultimately, it is based on such comparison that we propose a serious of efficiency rankings, based on multiple criteria. Our results show interesting findings, such as, slower/faster languages consuming less/more energy, and how memory usage influences energy consumption. We also show how to use our results to provide software engineers support to decide which language to use when energy efficiency is a concern.(University of Porto) for the help that he provided. This work is financed by the ERDF – European Regional Development Fund through the Operational Programme for Competitiveness and Internationalisation - COMPETE 2020 Programme within project POCI-01-0145-FEDER-006961, and by National Funds through the Portuguese funding agency, FCT - Fundação para a Ciência e a Tecnologia within project POCI-01-0145-FEDER-016718 and UID/EEA/50014/2013. The first and second authors are also sponsored by FCT grants SFRH/BD/112733/2015 and SFRH/BD/132485/2017Universidade do MinhoPereira, Rui Alexandre AfonsoCouto, MarcoRibeiro, Francisco José TorresRua, Rui António RamadaCunha, JácomeFernandes, João Paulo Sousa FerreiraSaraiva, João2020-122020-12-01T00:00:00Zinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articleapplication/pdfhttps://hdl.handle.net/1822/69044enginfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-05-11T05:30:03Zoai:repositorium.sdum.uminho.pt:1822/69044Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-28T15:20:38.276338Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv Ranking programming languages by energy efficiency
title Ranking programming languages by energy efficiency
spellingShingle Ranking programming languages by energy efficiency
Pereira, Rui Alexandre Afonso
Energy efficiency
Programming Languages
Language Benchmarking
Green Software
Ciências Naturais::Ciências da Computação e da Informação
title_short Ranking programming languages by energy efficiency
title_full Ranking programming languages by energy efficiency
title_fullStr Ranking programming languages by energy efficiency
title_full_unstemmed Ranking programming languages by energy efficiency
title_sort Ranking programming languages by energy efficiency
author Pereira, Rui Alexandre Afonso
author_facet Pereira, Rui Alexandre Afonso
Couto, Marco
Ribeiro, Francisco José Torres
Rua, Rui António Ramada
Cunha, Jácome
Fernandes, João Paulo Sousa Ferreira
Saraiva, João
author_role author
author2 Couto, Marco
Ribeiro, Francisco José Torres
Rua, Rui António Ramada
Cunha, Jácome
Fernandes, João Paulo Sousa Ferreira
Saraiva, João
author2_role author
author
author
author
author
author
dc.contributor.none.fl_str_mv Universidade do Minho
dc.contributor.author.fl_str_mv Pereira, Rui Alexandre Afonso
Couto, Marco
Ribeiro, Francisco José Torres
Rua, Rui António Ramada
Cunha, Jácome
Fernandes, João Paulo Sousa Ferreira
Saraiva, João
dc.subject.por.fl_str_mv Energy efficiency
Programming Languages
Language Benchmarking
Green Software
Ciências Naturais::Ciências da Computação e da Informação
topic Energy efficiency
Programming Languages
Language Benchmarking
Green Software
Ciências Naturais::Ciências da Computação e da Informação
description 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 languages with energy in mind is a recent one, and certainly deserves further studies. We have taken 19 solutions to well defined programming problems, expressed in (up to) 27 programming languages, from well know repositories such as the Computer Language Benchmark Game and Rosetta Code. We have also built a framework to automatically, and systematically, run, measure and compare the efficiency of such solutions. Ultimately, it is based on such comparison that we propose a serious of efficiency rankings, based on multiple criteria. Our results show interesting findings, such as, slower/faster languages consuming less/more energy, and how memory usage influences energy consumption. We also show how to use our results to provide software engineers support to decide which language to use when energy efficiency is a concern.
publishDate 2020
dc.date.none.fl_str_mv 2020-12
2020-12-01T00:00:00Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/1822/69044
url https://hdl.handle.net/1822/69044
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833595254699196416