Lua 5.0的实现(中英文对照)

Roberto Ierusalimschy (Department of Computer Science, PUC-Rio, Rio de Janeiro, Brazil
Luiz Henrique de Figueiredo(IMPA-Instituto de Matematica Pura e Aplicada, Rio de Janeiro, Brazil
Waldemar Celes(Department of Computer Science, PUC-Rio, Rio de Janeiro, Brazil

翻译:, @xjump

Abstract  We discuss the main novelties of the implementation of Lua 5.0: its register-based virtaul machine, the new algorithm for optimizing tables used as arrays, the implementation of closures, and the addition of coroutines.
Key Words  compilers, virtual machines, hash tables, closures, coroutines
Category  D.3.4, D.3.3, D.3.2, E.2

摘要  我们讨论了Lua 5.0实现上的主要优点:基于寄存器的虚拟机,tables用于数组时新的优化算法,闭包的实现,以及协程。
关键字  编译器,虚拟机,Hash表,闭包,协程
类别  D.3.4,D.3.3,D.3.2,E.2

1 Introduct
1 介绍

Lua was born in an academic laboratory as a tool for in-house software development but somehow was adopted by several industrial projects around the world and is now widely used in the game industry. [1]