SANER 2026
Tue 17 - Fri 20 March 2026 Limassol, Cyprus
Tue 17 Mar 2026 10:05 - 10:30 at Megaron Beta - GREENVOLVE - Session 1

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. Lua illustrates this trade-off: despite its popularity, it is less energy-efficient than greener and faster languages such as C.

This paper presents an empirical study of Lua’s runtime performance and energy efficiency across 25 official interpreter versions and just-in-time (JIT) compilers. Using a comprehensive benchmark suite, we measure execution time and energy consumption to analyze Lua’s evolution, the impact of JIT compilation, and comparisons with other languages. Results show that all LuaJIT compilers significantly outperform standard Lua interpreters. The most efficient LuaJIT consumes about seven times less energy and runs seven times faster than the best Lua interpreter. Moreover, LuaJIT approaches C’s efficiency, using roughly six times more energy and running about eight times slower, demonstrating the substantial benefits of JIT compilation for improving both performance and energy efficiency in interpreted languages.

Tue 17 Mar

Displayed time zone: Athens change

09:00 - 10:30
GREENVOLVE - Session 1Workshops & Tutorials at Megaron Beta

09:00 - 09:15: Welcome and opening message
09:15 -10:05: Keynote

10:05
25m
Talk
The Green Side of the Lua
Workshops & Tutorials
André Brandão University of Minho, Diogo Gomes Matos University of Minho, Miguel Guimarães University of Minho, Simão Cunha University of Minho & HASLab, INESCTEC, João Saraiva