Programming Gems
This book is a collection of articles
recording some of the wisdom and practice on how to program well in Lua.
|
Lua Programming Gems
edited by L. H. de Figueiredo, W. Celes, R. Ierusalimschy
Lua.org, December 2008
ISBN 978-85-903798-4-3
(also available as an
e-book)
|
Read the front matter
(containing
the preface by the editors, forewords by Cameron Laird and by Mark Hamburg,
and short biographies of the contributors)
and
Chapter 2
on
Lua Performance Tips.
See also the
errata.
The entire book is freely available for download.
Buy a copy
of the book and
help to support
the Lua project.
- Programming Techniques
- Lua Per-Thread Library Context
Doug Currie
- Lua Performance Tips
Roberto Ierusalimschy
- Vardump: The Power of Seeing What's Behind
Tobias Sülzenbrück and Christoph Beckmann
- Serialization with Pluto
Ben Sunshine-Hill
- Abstractions for LuaSQL
Tomás Guisasola Gorham
- Bootstrapping a Forth in 40 Lines of Lua Code
Eduardo Ochs
- Effecting Large-Scale Change (with little trauma) using Metatables
Sérgio Alvares Maffra and Pedro Miller Rabinovitch
- Design Techniques
- MVC Web Development with Kepler
André Carregal and Yuri Takhteyev
- Filters, Sources, Sinks, and Pumps
Diego Nehab
- Lua as a Protocol Language
Patrick Rapin
- Lua Script Packaging
Han Zhao
- Objects, Lua-style
Reuben Thomas
- Exceptions in Lua
John Belmonte
- Algorithms and Data Structures
- Word Ladders
Gavin Wraith
- Building Data Structures and Iterators in Lua
Luis Carvalho
- A Primer of Scientific Computing in Lua
Luis Carvalho
- Complex Structured Data Input
Julio Manuel Fernández-Díaz
- Lua Implementations of Common Data Structures
Matthew M. Burke
- Tic-Tac-Toe and the Minimax Decision Algorithm
Rafael Savelli and Roberto de Beauclair Seixas
- Game Programming
- Using Lua in Game and Tool Creation
Konstantin Sokharev and Vadim Groznov
- A Dynamic and Flexible Event System for Script-Driven Games
Robert Oates
- Lua for Game Programming
Steve Gargolinski
- Designing an Efficient Lua Driven Game Scripting Engine
Nicolas Peri
- Embedding and Extending
- Enhanced Coroutines in Lua
Patrick Rapin
- Using Lua in Pascal
Jeremy Darling
- Porting Lua to a Microcontroller
Ralph Hempel
- Writing C/C++ Modules for Lua
Ralph Steggink and Wim Couwenberg
- Interpreted C Modules
Jérôme Vuarand