Shop Viral Tech & Accessories

Customers who viewed this item also viewed

Buy used:
$7.31
Used: Good | Details
Condition: Used: Good
Comment: Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less
Access codes and supplements are not guaranteed with used items.
In stock
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • Beginning Lua Programming

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Beginning Lua Programming

4.0 out of 5 stars (38)

This book is for students and professionals who are intrigued by the prospect of learning and using a powerful language that provides a rich infrastructure for creating programs. No programming knowledge is necessary to benefit from this book except for the section on Lua bindings, which requires some familiarity with the C programming language. A certain comfort level with command-line operations, text editing, and directory structures is assumed.

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.

Read poolside to seaside.Shop kindle Paperwhite. pantry

Editorial Reviews

From the Back Cover

Lua offers a wide range of features that you can utilize to support and enhance your applications. With this book as your guide, you'll gain a thorough understanding of all aspects of programming with this powerful language. It will walk you through the basics, covering everything from installing Lua on your system to developing games and web sites.

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

Between his first programs submitted to a Burroughs 5500 on Hollerith punch cards and his latest programs tapped into a Palm Pilot, Kurt Jung has been the principal programmer on various projects ranging from airline yield management to state machine–driven workflow.

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)
  • Customer Reviews:
    4.0 out of 5 stars (38)

About the author

Follow authors to get new release updates, plus improved recommendations.
Kurt Jung
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read book recommendations and more.

Customer reviews

4 out of 5 stars
38 global ratings

Customers say

Customers find this Lua programming book fantastic and consider it the best on the subject. However, the informative aspect receives mixed feedback, with some customers describing it as a programmers guide while others find it not basic enough.
AI Generated from the text of customer reviews

Select to learn more

6 customers mention content, 6 positive, 0 negative
Customers find the book fantastic and consider it the best on Lua programming.
Excellent. Easy to understand.Read more
This is a fantastic book and one that I find myself re-reading. The strength is in the long-form exercises and conversational tone....Read more
...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....Read more
Very good but for someone like me, a true beginner, not basic enough. Step-by-step assumes more prior knowledge than I have....Read more
5 customers mention informative, 3 positive, 2 negative
Customers have mixed opinions about the book's informativeness, with some finding it a programmers guide while others note it's not basic enough.
Definitely a programmers guide. More intense than a beginners guide. Could see this used as a text book for a Lua programing class.Read more
Very good but for someone like me, a true beginner, not basic enough. Step-by-step assumes more prior knowledge than I have....Read more
...It has a lot of information but a lot of stuff that was missing was complete explanation to using Lua within "C" applications....Read more
Not a simple approach to learning Lua.Read 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, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Interesting instructional manual.
    Reviewed in the United States on June 17, 2014
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    LUA
    Reviewed in the United States on March 29, 2019
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    What a fun language

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 4 out of 5 stars
    Not "beginning" enough.
    Reviewed in the United States on January 1, 2014
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Very 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Sloppy conversion to Kindle, but still a good reference/learning work.
    Reviewed in the United States on February 4, 2017
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Kindle 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...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Five Stars
    Reviewed in the United States on May 9, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The best book on LUA ever.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    My review of the "Beginning Lua Programming"
    Reviewed in the United States on November 3, 2007
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    First 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 3 out of 5 stars
    Three Stars
    Reviewed in the United States on January 22, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Not a simple approach to learning Lua.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we'll investigate in the next few days.

Top reviews from other countries

    Translated by Amazon
    See original
  • 5 out of 5 stars
    Book is in excellent condition. I haven't finished all the content but ...
    Reviewed in Canada on May 3, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Book 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.
  • 5 out of 5 stars
    ottimo sia per i principianti sia per programmatori esperti di altri linguaggi
    Reviewed in Italy on August 4, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Lua è 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.
    Translated from Italian by Amazon
    See original
  • 1 out of 5 stars
    Bad formating, old subjects
    Reviewed in France on January 23, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The 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.
  • 5 out of 5 stars
    Five Stars
    Reviewed in the United Kingdom on February 27, 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    A good book to accompany the LUA for windows [...]

    Sending feedback...
    Thanks, we'll investigate in the next few days.
  • 5 out of 5 stars
    Volle Punktzahl
    Reviewed in Germany on September 3, 2013
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Ich 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.
    Translated from German by Amazon
    See original