DConf '22: Lua and Pallene -- Roberto Ierusalimschy

Опубликовано: 01 Март 2026
на канале: The D Language Foundation
2,721
100

Lua is a scripting language widely used in several fields, with strong niches in games and embedded systems. Pallene is a companion language for Lua, that is, a system language specifically designed to interoperate with Lua in a scripting architecture.

The first part of this talk presents the main features of Lua, in particular those that set it apart from other scripting languages: portability, simplicity, and embeddability. The second part discusses Pallene and the concept of a companion language, which brings together ideas from scripting, JIT compilation, and gradual typing, focusing on a design that aims to bring more performance for Lua programs.

DConf '22 Homepage
https://dconf.org/2022/index.html

Lua Homepage
https://www.lua.org/

Pallene on GitHub
https://github.com/pallene-lang

#dconf #programming #lua #pallene

TIMECODES:
00:00 Title and Introduction
00:43 Overview
02:55 Why Lua?
03:40 Lua's portability
05:14 Lua's size
06:29 Lua's simplicity
08:31 Tables in Lua
10:50 Closures in Lua
14:37 Coroutines in Lua
16:32 Lua and scripting
21:12 Scripting and performance
24:01 What about JITs?
26:24 Pallene: a companion language
32:06 Pallene design principles
34:27 Pallene's simple type system
36:59 Pallene is "good on the borders"
38:10 The simple AOT Pallene compiler
42:11 Conclusions
44:14 Comment from viewer about using D and Lua in production
44:58 Q: Is the Pallene compiler completely separate from the Lua compiler?
45:23 Q: Why does Lua have one-based indexing?
50:34 Q: Why is LuaJIT faster than Pallene in some benchmarks?
52:33 Q about garbage collection
52:33 Q: How does Roberto organize the Lua community?
54:54 Outro