Title
What are your programming language's energy-delay implications?
Abstract
Motivation: Even though many studies examine the energy efficiency of hardware and embedded systems, those that investigate the energy consumption of software applications are still limited, and mostly focused on mobile applications. As modern applications become even more complex and heterogeneous a need arises for methods that can accurately assess their energy consumption. Goal: Measure the energy consumption and run-time performance of commonly used programming tasks implemented in different programming languages and executed on a variety of platforms to help developers to choose appropriate implementation platforms. Method: Obtain measurements to calculate the Energy Delay Product, a weighted function that takes into account a task's energy consumption and run-time performance. We perform our tests by calculating the Energy Delay Product of 25 programming tasks, found in the Rosetta Code Repository, which are implemented in 14 programming languages and run on three different computer platforms, a server, a laptop, and an embedded system. Results: Compiled programming languages are outperforming the interpreted ones for most, but not for all tasks. C, C#, and JavaScript are on average the best performing compiled, semi-compiled, and interpreted programming languages for the Energy Delay Product, and Rust appears to be well-placed for i/o-intensive operations, such as file handling. We also find that a good behaviour, energy-wise, can be the result of clever optimizations and design choices in seemingly unexpected programming languages.
Year
DOI
Venue
2018
10.1145/3196398.3196414
MSR
Keywords
Field
DocType
Programming Languages, Energy-Delay-Product, Energy-Efficiency
Programming language,Laptop,Task analysis,Efficient energy use,Computer science,Server,Rosetta Code,Software,Energy consumption,JavaScript
Conference
Volume
ISSN
ISBN
2
2160-1852
978-1-4503-5716-6
Citations 
PageRank 
References 
5
0.47
15
Authors
4
Name
Order
Citations
PageRank
Stefanos Georgiou150.47
Maria Kechagia2748.36
Panagiotis Louridas334823.77
Diomidis Spinellis42023178.89