This collection of articles record some of the existing wisdom and practice on how to program well in Lua. In well-written articles that go much beyond the brief informal exchange of tips in the mailing list or the wiki, the authors share their mastery of all aspects of Lua programming, elementary and advanced. The articles cover a wide spectrum of areas and approaches, with authors from both the industry and academia and titles about game programming, programming techniques, embedding and extending, algorithms and data structures, and design techniques.
{"itemData":[{"priceBreaksMAP":null,"buyingPrice":30.49,"ASIN":"8590379841","isPreorder":0},{"priceBreaksMAP":null,"buyingPrice":25.01,"ASIN":"8590379825","isPreorder":0},{"priceBreaksMAP":null,"buyingPrice":15.77,"ASIN":"8590379833","isPreorder":0}],"shippingId":"8590379841::GMvyi4CJr77%2FTQVjil0HHSvvzeeCkea68Xe60kTpmZsGCMhwfjn%2FtShrAiTvjreSQ25iy4l0wBWAapKviLDsRYBRF1a5Sz2KED2se3OPOeQ%3D,8590379825::sdAKKB1dvGqR5u1QGe7t0dBJbkLEBGzfXfkCxuXtsNVOsk269ody4kdDyjP4EmGzk4HBY%2FTw6cNMS27DIki3pTU8Ix93oZZeSYUxU4Hra9DgXMvra7hcqg%3D%3D,8590379833::XfEpgoBjsCcScCl1ECyZs%2BvkrTAkv7GASTTxbvglzw2a4pgWnRwnt4JNPflUOtBx7Dk9aW5muL3aL4cUUSS7Ao0ABLt8D8TJiXgQTTslwRE%3D","sprites":{"addToWishlist":["wl_one","wl_two","wl_three"],"addToCart":["s_addToCart","s_addBothToCart","s_add3ToCart"],"preorder":["s_preorderThis","s_preorderBoth","s_preorderAll3"]},"currenyCode":"USD","shippingDetails":{"xz":"availability","yz":"same","xy":"availability","xyz":"availability"},"tags":["x","y","z"],"strings":{"showDetails":"Show details","differentAvailabilityAll":"Some of these items ship sooner than the others.","addToWishlist":["add to wishlist","Add both to Wish List","Add all three to Wish List"],"shippingError":"An error occurred, please try again","differentAvailability":"One of these items ships sooner than the other.","preorder":["Pre-order this item","Pre-order both items","Pre-order all three items"],"addToCart":["Add to Cart","Add both to Cart","Add all three to Cart"],"showDetailsDefault":"Show availability and shipping details","priceLabel":["Price:","Price for both:","Price for all three:"],"hideDetailsDefault":"Hide availability and shipping details","hideDetails":"Hide details"}}
Roberto Ierusalimschy is an Associate Professor of Computer Science at PUC-Rio (the Pontifical Catholic University of Rio de Janeiro), where he works with programming-language design and implementation. He is the leading architect of the Lua programming language and the author of "Programming in Lua" (now in its third edition and translated to Chinese, Korean, German, and Japanese).
Roberto has a M.Sc. Degree and a D.Sc. Degree in Computer Science, both from PUC-Rio. He was a visiting researcher at the University of Waterloo, ICSI, GMD, and UIUC, and a Tinker Professor at Stanford. As a professor at PUC-Rio, Roberto was the advisor of several students that later became influential members of the Lua community. Roberto is also a Distinguished ACM Speaker.
I recently got this book and read through it. Seeing there are no reviews here yet, I figured I better write one to give some an idea of what this book is about.
Note I'm no beginner to Lua. Over the last five years I have written thousands of lines of Lua and have done pretty advanced interfacing to the Lua C API (for custom modules), added LuaJIT and other customizations, etc. I really like the language; it's clean and simple, yet very versatile in it's details.
First, the book wasn't quite what I had expected. I was hoping it was full of little tricks and techniques of that I didn't already know. Although it's not in fact "Lua Snippets", it's "Lua programming Gems" after all..
A lot of it are what appears to be more of a case study for particular uses. Where the authors after having worked out some particular large or difficult problem wrote up sort of a post mortem on what worked for them; on how they solved it et al. Examples, there are articles on Lua for Game Programing, Lua versions of "Common Data structures" (STL C++ and C# types et al), and oddly even a Forth programming language in Lua, etc. A lot of which I found a bit abstract in context that was a lot about the problem and perhaps less of Lua as a language. Although all of which are great if something your looking for fits into one or more of these categories. You might find a solution to your problem and have it worth the price of book many times over.
My favorite article is the one of the less abstract called "Lua Performance Tips" which you can read officially online free here: [...]
In the end I'd say if you haven't read "Programming in Lua, Second Edition" or "Beginning Lua Programming (Programmer to Programmer)" yet (both here on Amazon) then read one or both of those first. Then if you are an immediate Lua user, and, or, one or more of the Gems fit your needs (they should post the TOC here) then get this book too.
A plus is the book is edited by the Lua language authors them self's: Roberto Ierusalimschy (and the author of the "Lua Performance Tips" Gem in the book), Waldemar Celes, and Luiz Henrique de Figueiredo!
The support for LUA is sparse and incoherent. This is understandable as LUA is opens source and is used in so many ways for so many different purposes.
This book provides real world examples of creative uses and/or essential solutions to common scenarios.
Each chapter is written by users of LUA demonstrating their solutions and how to roll your own in detail.