It's Not Easy Being Green: On the Energy Efficiency of Programming Languages
Nicolas van Kempen, Hyuk-Je Kwon, Dung Tuan Nguyen, Emery D. Berger

TL;DR
This paper investigates whether programming language choice causally affects energy consumption, revealing that when controlling for implementation details and system factors, language choice has negligible impact beyond execution time.
Contribution
It develops a comprehensive causal model that accounts for overlooked factors influencing energy use, clarifying misconceptions from prior correlational studies.
Findings
Programming language implementation does not significantly affect energy consumption beyond execution time.
Controlling for system and implementation factors removes discrepancies in previous studies.
Methodology improvements lead to more accurate energy consumption measurements.
Abstract
Does the choice of programming language affect energy consumption? Previous highly visible studies have established associations between certain programming languages and energy consumption. A causal misinterpretation of this work has led academics and industry leaders to use or support certain languages based on their claimed impact on energy consumption. This paper tackles this causal question directly: it develops a detailed causal model capturing the complex relationship between programming language choice and energy consumption. This model identifies and incorporates several critical but previously overlooked factors that affect energy usage. These factors, such as distinguishing programming languages from their implementations, the impact of the application implementations themselves, the number of active cores, and memory activity, can significantly skew energy consumption…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGreen IT and Sustainability
