paperbot · PL 论文追踪

全部论文 待读 收藏

P2 It’s Not Easy Being Green: On the Energy Efficiency of Programming Languages

绿色并不容易:论编程语言的能源效率
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 该论文研究编程语言实现选择与能耗之间的因果关系,属于PL/体系结构下的实证测量研究,与用户关注的静态分析、LLM/Agent、浮点程序分析和贝叶斯程序分析均无直接关联;其因果建模与实验控制方法有方法论价值,但不在核心研究方向上。引用 1 inbox
Nicolas van Kempen, Hyuk-Je Kwon, Dung Tuan Nguyen, Emery D. Berger
crossref: 2026-09-12

AI 速览

一句话:通过因果模型与实验控制混杂因素,表明编程语言实现选择除执行时间外对能耗无显著影响。

论文追问编程语言选择是否影响能耗。此前高可见度研究将语言与能耗关联,并被学术界和工业界因果误读,用于支持或采用某些语言。本文建立细粒度因果模型,刻画语言选择与能耗间的复杂关系,并纳入此前被忽视的因素:语言与其实现的区分、应用实现本身、活跃核心数、内存活动等;若不控制这些因素,能耗测量会被显著扭曲。作者通过实证实验、改进的方法学以及对异常值的仔细检查,发现控制上述因素后,先前工作中的显著差异消失。分析表明,编程语言实现的选择除通过执行时间间接影响外,对能耗没有显著影响。

问题
编程语言选择是否因果影响能耗,以及先前研究报告的语言间能耗差异是否由混杂因素造成。
方法
建立因果模型,区分语言与实现、应用实现、活跃核心、内存活动等因素,并通过实证实验、改进测量方法和异常分析加以控制。
评估
审视并重测先前工作;控制混杂因素后,不同语言实现的能耗差异不再显著,说明除执行时间外实现选择影响有限。
原文摘要(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 measurements if not accounted for. We show—via empirical experiments, improved methodology, and careful examination of anomalies—that when these factors are controlled for, notable discrepancies in prior work vanish. Our analysis suggests that the choice of programming language implementation has no significant impact on energy consumption beyond execution time.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9333,
  title = {It’s Not Easy Being Green: On the Energy Efficiency of Programming Languages},
  author = {Nicolas van Kempen and Hyuk-Je Kwon and Dung Tuan Nguyen and Emery D. Berger},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00131}
}