The Green Side of the Lua
The paper titled 'The Green Side of the Lua' examines the energy efficiency of the Lua programming language compared to other languages. It highlights the significant performance improvements achieved through just-in-time (JIT) compilation. The study finds that LuaJIT can be substantially more energy-efficient than standard Lua interpreters, approaching the efficiency of C.
- ▪The United Nations' 2030 Agenda emphasizes the need for energy-efficient software to reduce carbon footprints.
- ▪Lua is less energy-efficient than compiled languages like C, despite its popularity.
- ▪LuaJIT compilers significantly outperform standard Lua interpreters in both execution time and energy consumption.
Opening excerpt (first ~120 words) tap to expand
Computer Science > Software Engineering arXiv:2601.16670 (cs) [Submitted on 23 Jan 2026 (v1), last revised 30 Jan 2026 (this version, v2)] Title:The Green Side of the Lua Authors:André Brandão, Diogo Matos, Miguel Guimarães, Simão Cunha, João Saraiva View a PDF of the paper titled The Green Side of the Lua, by Andr\'e Brand\~ao and 4 other authors View PDF HTML (experimental) Abstract:The United Nations' 2030 Agenda for Sustainable Development highlights the importance of energy-efficient software to reduce the global carbon footprint. Programming languages and execution models strongly influence software energy consumption, with interpreted languages generally being less efficient than compiled ones.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at arXiv.org.