- Paperback: 328 pages
- Publisher: Lua.org; 2 edition (5 Mar. 2006)
- Language: English
- ISBN-10: 8590379825
- ISBN-13: 978-8590379829
- Product Dimensions: 18.9 x 1.8 x 24.6 cm
- Average Customer Review: 4.8 out of 5 stars See all reviews (23 customer reviews)
Amazon Bestsellers Rank:
539,079 in Books (See Top 100 in Books)
- #850 in Books > Computers & Internet > Computer Science > Programming > Software Design, Testing & Engineering > Software Architecture
- #855 in Books > Computers & Internet > Computer Science > Programming > Software Design, Testing & Engineering > Functional Programming
- #1367 in Books > Computers & Internet > Software & Graphics > Software Design & Development
Programming in Lua Paperback – 5 Mar 2006
- Choose from over 13,000 locations across the UK
- Prime members get unlimited deliveries at no additional cost
- Find your preferred location and add it to your address book
- Dispatch to this address when you check out
Frequently bought together
Customers who viewed this item also viewed
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
If you are a seller for this product, would you like to suggest updates through seller support?
What other items do customers buy after viewing this item?
Top Customer Reviews
The reference manual and Programming in Lua Volume 1 are available on line which is plenty to get you familiar with the basics. Once you've grasped those, YOU NEED THIS BOOK!
Its style is the same as PiL#1 which is to say comprehensive and well written. The author explains every bit of the language and makes clear what is essential and what is 'common practice'. He also provides useful tips on alternative (Lua-like) ways of doing things which don't always come naturally to C/++ programmers.
The first third deals with the basics of writing Lua scripts. The second third explains some more advanced ways of scripting along with the Lua standard libraries. The last third tends to deal integrating Lua into your own C/++ applications. For this last third, it is probably useful having a copy of the Lua source (also on line) and compiling in your own environment to experiment with some of the C API. Throughout the book there are regular annotations where something relevant has changed since 5.1.
The official Lua mailing list is also a very active list that's worth signing up for as well. The author actively participates in the list too.
There's quite a lot about how Lua can interact with C, so to get the most out of it you need to know C already. But if you don't know C and just want to use Lua as a scripting language, you'll still benefit from this book.
If you're interested in calling Lua from a C program (easy), or if you want to extend Lua's capabilities by writing your own C functions (harder), then this book will show you how to do it.
fell in love with it. This book has the makings of a classic text that you will enjoy owning. Its so refreshing to find a well written, small book on a programming language with a huge power to weight ratio. The book covers all aspects of the language and acts as tutorial, reference and language specification. As a regular user of the AWK scripting language I would have appreciated better examples on how to acheive the AWK split() function but otherwise the book provides a large range of really useful code fragments. Congratulations to the author.
The author wastes no time with attempts at humour, but comes across as someone genuinely trying to give the reader the optimum learning experience. There is not a sentence that I would say is superfluous. At the same time, there are no points at which I would have wanted more explanation. Coding examples or snippets are used throughout.
I'm a great believer in learning by doing. My approach to reading the book is to have my Lua interpreter open at all times and, when there is something that I don't quite understand, to try it and some variations, or to write a slightly longer Lua script ("chunk") that includes additional print statements so I can see what's going on. Common sense, really.
The essential partner for this book is the Lua Reference Manual. I've referred to it often. Not because the PiL book is unclear, but out of curiosity and wanting to know a little more. That's not a criticism of the PiL book; if anything it's another plus: it encourages the reader to experiment. Another book to consider is "Lua Programming Gems"; I have it and can see it becoming a valuable additional Lua reference, as well as a source of inspiration.
Of the 300-odd pages in the PiL book, about 80 are directly related to using Lua with C. I'm not a C programmer, but I may find these chapters of use if I need to interface with existing C libraries. That still leaves a rich source of Lua knowledge, particularly given the concise writing style of the author.
The PiL book contains a wealth of wisdom and insight into Lua, written in a style that gets the information across with the minimum of fuss. Recommended.
Even if you're only interested in the 5.1 interpreter/JIT series then get this edition, as all differences from 5.1->5.2 are highlighted as presented.
And even if you're not interested in computer programming (!) then lend this book to a native English speaking author/writer and watch them become ashamed...
Most Recent Customer Reviews
This book was gift, so I didn't get to enjoy it myself, however my friend, to whom I gave this book, was very pleased with it. It arrived in good time and in good condition.Published 15 months ago by Amazon Customer
This book is the main book for LUA. If you are picking up the lua language then you'll already be efficient enough in coding in an object orientated language. Read morePublished on 29 Sept. 2014 by Insidia
Excellent book - the author explains lua in a very easy to understand way.Published on 29 Jun. 2014 by Fred Villa
I have being programming since I started college 3 years ago and with that and this book I found it easy to pick up and start writing scripts. It is a very good book!!Published on 28 Feb. 2014 by Alan Stewart
well explained and layed out, Great for first time Programmers.
My 11yr old son is doing great things with it.
Look for similar items by category
- Books > Computing & Internet > Digital Lifestyle > Online Shopping > Amazon
- Books > Computing & Internet > Programming > Languages & Tools
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Functional Programming
- Books > Computing & Internet > Programming > Software Design, Testing & Engineering > Software Architecture