Customers who viewed this item also viewed
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Beginning Lua Programming
You need surprisingly little in the way of computer resources to learn and use Lua. This book focuses on Windows and Unix-like (including Linux) systems, but any operating system that supports a command shell should be suitable. You'll need a text editor to prepare and save Lua scripts.
If you choose to extend Lua with libraries written in a programming language like C, you'll need a suitable software development kit. Many of these kits are freely available on the Internet but, unlike Lua, they can consume prodigious amounts of disk space and memory.
- ISBN-100470069171
- ISBN-13978-0470069172
- Edition1st
- PublisherWrox
- Publication dateJanuary 26, 2007
- LanguageEnglish
- Dimensions7.38 x 1.52 x 9.25 inches
- Print length672 pages
![]() |
Customers who viewed this item also viewed
- Programming in LuaPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Monday, Jul 27Only 1 left in stock - order soon.
Editorial Reviews
From the Back Cover
Experts Jung and Brown first present the fundamentals of programming and explain standard Lua functions. They then show you how to take advantage of all of the free Lua community resources that are available. Complete code samples are integrated throughout the chapters to clearly demonstrate how to apply the information. Diagrams are also included to highlight important Lua features such as stacks, hash tables, garbage collection, and function closures. All of this will help you to quickly write your own effective programs.
What you will learn from this book
- Ways to extend Lua's operators with metamethods
- Methods on how to use tables, strings, and modules
- How to handle events naturally with coroutines
- Techniques for managing information with databases
- Tips for handling and avoiding programming errors
- Ways to create your own innovative games
- How to enhance application development using packages contributed by the Lua community
- Steps for presenting dynamic information on your web site
Who this book is for
This book is for beginning programmers, game developers, and web site developers who are interested in a simple yet powerful introduction to programming.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
About the Author
Aaron Brown began programming in elementary school on a Commodore 64. He plays various musical instruments and speaks Esperanto.
Product details
- Publisher : Wrox
- Publication date : January 26, 2007
- Edition : 1st
- Language : English
- Print length : 672 pages
- ISBN-10 : 0470069171
- ISBN-13 : 978-0470069172
- Item Weight : 2.15 pounds
- Dimensions : 7.38 x 1.52 x 9.25 inches
- Best Sellers Rank: #1,888,947 in Books (See Top 100 in Books)
- #1,327 in Introductory & Beginning Programming
- #3,623 in Computer Programming Languages
- #5,463 in Programming Languages (Books)
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United States
- 5 out of 5 stars
An excellent book on Lua
Reviewed in the United States on October 24, 2013This is a fantastic book and one that I find myself re-reading. The strength is in the long-form exercises and conversational tone. It's kind of a better, lighter weight version of "Programming Principles and Practice in C++".
Example: In one of the exercises the authors side-effect a variable; that is, they changed the value of something that was outside of the function. Then, the spend a couple of paragraphs discussing the pros and cons of doing things like that.
This is found throughout the book and it highlights its value: As a book on how to think like and be a programmer.
I WISH that they'd update this for Lua 5.2. Lua 5.2's _ENV feature is well-worth exploring in an educational context and I know that these authors would do an excellent job of it.
-ANdrew
5 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Interesting instructional manual.
Reviewed in the United States on June 17, 2014I bought this book a few years ago and finally got around to reading it all the way through. It has a lot of information but a lot of stuff that was missing was complete explanation to using Lua within "C" applications. I came across the same material on various websites and it bothered me. However there are other great things about this book. It teaches how to use Lua in multiple ways such as web servers, stand alone scripts, etc. I wouldn't recommend this book to someone who is just starting to program because it can be intimidating based on size alone.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
LUA
Reviewed in the United States on March 29, 2019What a fun language
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Not "beginning" enough.
Reviewed in the United States on January 1, 2014Very good but for someone like me, a true beginner, not basic enough. Step-by-step assumes more prior knowledge than I have. Example: step 3 - Open directory. My reaction: Ummm....how?
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Sloppy conversion to Kindle, but still a good reference/learning work.
Reviewed in the United States on February 4, 2017Kindle formatting is a little rough. There are clearly areas where the scanned text was not proof-read carefully. That said, it's a very clearly written book and the examples seem to be constructed so that they build on one another in logical ways. I'm getting from it what I wanted. I just wish they'd taken some time to do some quality control on the converstion to Kindle format.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Five Stars
Reviewed in the United States on May 9, 2015The best book on LUA ever.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
My review of the "Beginning Lua Programming"
Reviewed in the United States on November 3, 2007First of all, I am impressed with this book. It is easy reading. The technical content is cohesive. It flows from one topic to the next in a smooth logical manor. The writers did a very good job of directing the text to me, the reader, and not to empty space. I have been programming with real time embedded systems since 1975. My first programming experience was writing assembler code in Octal for an Intel 8080a processor. Since those days, I have had the opportunity, or the misfortune as some would say, to read volumes of manuals. Most manuals were written by the supplier of the CPU, such as Intel, Motorola, Zilog, TI, ST Micro, etc. To say the least, the information was mostly there. Although it took an enormous amount of time to `extract' the information. The point of this, is to say time is precious. Having to read a manual while under a time deadline is not much fun. So when I began reading Lua Programming by Jung and Brown, was I pleasantly surprised! It is as though the writers were in the room talking directly to me. Not talking to empty space, but actually talking to me, the reader. Because they took the time to write clearly and concisely, this book will be in my library with my 8080a assembly language primer.
However before I finish, I feel that I must address an injustice. At this time, there are two other reviews of this book, those reviews did a terrible hack job in the form of a review. It appears nothing more that an amateurish attempt to discredit a fine book. Since both refer to the exact same book, I can only image they were paid to write those disingenuous reviews.
I would honestly rate this book as a solid 4.5 for the above mentioned items. But because of the two hacks, I shall rate the book a 5 to right the afore mentioned injustice.
25 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 3 out of 5 stars
Three Stars
Reviewed in the United States on January 22, 2015Not a simple approach to learning Lua.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Matthew5 out of 5 starsBook is in excellent condition. I haven't finished all the content but ...
Reviewed in Canada on May 3, 2016Book is in excellent condition. I haven't finished all the content but it is a good introduction to LUA if you are like myself and have never programmed lua but are familiar with how programming languages work.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
ste725 out of 5 starsottimo sia per i principianti sia per programmatori esperti di altri linguaggi
Reviewed in Italy on August 4, 2016Lua è un linguaggio di programmazione molto semplice ma molto diverso da tutti quelli con cui ho lavorato (C++, C#, Swift). Ho provato a studiarlo con altri testi più brevi e veloci di questo ma in generale si limitavano a illustrare la sintassi e il risultato è stato pessimo: con Lua non puoi applicare da subito gli stessi schemi mentali della programmazione ad oggetti, è richiesto un approccio diverso per cui va capito in dettaglio prima di poter essere utilizzato proficuamente. Questo libro invece spiega in dettaglio il senso delle cose e ti aiuta a capire veramente cosa c'è dietro Lua e come usarlo. Lo consiglio vivamente a chi vuole imparare questo linguaggio.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Carlos Tangerino1 out of 5 starsBad formating, old subjects
Reviewed in France on January 23, 2013The book has a bad format, source code has all underlines, besides that, it talks about using Lua to a Palm device, I remember use such device last century.....
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Doug5 out of 5 starsFive Stars
Reviewed in the United Kingdom on February 27, 2016A good book to accompany the LUA for windows [...]
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
syzygy5 out of 5 starsVolle Punktzahl
Reviewed in Germany on September 3, 2013Ich stieß auf Lua, als ich meine Programme mit einer Skriptsprache erweitern wollte und war zunächst skeptisch -
Assoziative Tabellen als Namespaces, Metatables? ... Inzwischen finde ich Lua einfach nur noch genial; kleiner
Sprachumfang, modular, prozedural mit objektorientierten und funktionalen Aspekten, Coroutinen und
einfach erweiterbar mit Funktionaltät der Host-Applikation und externen Bibliotheken (in Lua oder C - leider,
denn ich bin ein überzeugter C-Hasser; eingebttet ist es aber in Delphi).
Lua gibt es für alle Plattformen und ist open source. Außerdem gibt es inzwischen eine große Community und viele Foren.
Das Buch beleuchtet alle diese Eigenheiten von Lua mit vielen kleinen Beispielen (im Netz runterzuladen), die verständlich und ausführlich
dokumentiert sind und viele Anregungen geben. Die Themen reichen vom Datenbankzugriff über Grafik bis hin zu
CGI-Anwendungen (f. Web-Server); dazu werden die z.T. benötigten Bibliotheken ausführlich incl. Installation erläutert.
Allerdings sollte man vom Programmieren schon mal was gehört haben - einige Progrämmchen sind so raffiniert, dass
man schon mal ins Grübeln kommt...
10 Sterne
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again








