Facebook Twitter Pinterest
EUR 37,95
  • Alle Preisangaben inkl. MwSt.
Nur noch 8 auf Lager (mehr ist unterwegs).
Verkauf und Versand durch Amazon. Geschenkverpackung verfügbar.
Menge:1
Programming in Lua ist in Ihrem Einkaufwagen hinzugefügt worden
Möchten Sie verkaufen?
Zur Rückseite klappen Zur Vorderseite klappen
Hörprobe Wird gespielt... Angehalten   Sie hören eine Hörprobe des Audible Hörbuch-Downloads.
Mehr erfahren
Alle 3 Bilder anzeigen

Programming in Lua (Englisch) Taschenbuch – 3. Januar 2013

4.0 von 5 Sternen 3 Kundenrezensionen

Alle Formate und Ausgaben anzeigen Andere Formate und Ausgaben ausblenden
Preis
Neu ab Gebraucht ab
Taschenbuch
"Bitte wiederholen"
EUR 37,95
EUR 24,26 EUR 43,12
9 neu ab EUR 24,26 3 gebraucht ab EUR 43,12
click to open popover

Wird oft zusammen gekauft

  • Programming in Lua
  • +
  • Beginning Lua Programming (Programmer to Programmer)
  • +
  • Lua 5.2 Reference Manual
Gesamtpreis: EUR 92,02
Die ausgewählten Artikel zusammen kaufen

Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.

  • Apple
  • Android
  • Windows Phone

Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.

Jeder kann Kindle Bücher lesen — selbst ohne ein Kindle-Gerät — mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.



Produktinformation


Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?

Kundenrezensionen

4.0 von 5 Sternen
5 Sterne
2
4 Sterne
0
3 Sterne
0
2 Sterne
1
1 Stern
0
Alle 3 Kundenrezensionen anzeigen
Sagen Sie Ihre Meinung zu diesem Artikel

Top-Kundenrezensionen

Format: Taschenbuch Verifizierter Kauf
Lua ist eine sehr elegante Skript-Sprache, die sich hervorragend zum Einbetten in eigene Systeme eignet. Der Kern der Sprache ist einfach, aber durch Mechanismen wie Closures und Coroutinen sehr leistungsfähig.

Chef-Architekt Ierusalimschy bietet in diesem Buch einen gut strukturierten und flüssig zu lesenden Einstieg in die Welt von Lua. Anhand von Übungsaufgaben kann das gerade Gelesene sofort ausprobiert werden. Das Buch ist nicht zu dick, da es darauf verzichtet, die vielfältig verfügbaren Zusatz-Module zu behandeln. Es geht um den Sprachkern, und der hat mich positiv überrascht, weil Lua viele Paradigmen (strukturierte Programmierung, Objekt-Orientierung, funktionale Programmierung etc.) mit Hilfe derselben einfachen Konstrukte implementiert.

Das einzige, was mich an Lua (nicht an dem Buch !) etwas enttäuscht hat, ist der mangelnde Support für Unicode-Strings. Dies kann mit Zusatz-Libraries zwar nachgerüstet werden, ist aber dann nicht so richtig integriert.
11 Kommentare Eine Person fand diese Informationen hilfreich. War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden
Format: Taschenbuch Verifizierter Kauf
Ich habe mir das Buch gekauft, um mehr über die LUA-C Schnittstelle zu erfahren. Wenn der Autor schon Lua als "configuration language" bezeichnet, sollte dieses Kapitel hoffentlich umfangreich sein. Falsch gedacht! Obwohl der Autor in der Einführung mich (als C Programmierer) sogar als Zielgruppe dieses Buches nennt. Umfasst das Kapitel (Kapitel 26) gerade mal knapp 10 Seiten. Das ist alles zum Thema Lua "Lua Variabeln/Funktionen per C" rufen. Am meisten hätt ich mich über einen kompletten Beispiel-C-Code gefreut, der mal zeigt wie der Autor (der übrigens die Sprache mitentwickelt hat), sich einen vollständigen Lua Call in C vorstellt.

Ich denke zwar schon, dass der Autor (Roberto Ierusalimschy) ziemlich gut in seinem Job als Programmierer ist. Jedoch gelingt es ihm nicht darüber zu schreiben. Einige Passagen sind sehr verwirrend für mich. Im Kapitel 25.3 unter Error handling in application code heißt es: "When your application calls functions in the Lua Api, it is exposed to errors. As we just discussed, Lua usually signals these errors through long jumps. However, if there is no corresponding setjmp, the interpreter cannot do the jump. In that case, any error in the API causes Lua to call a panic function and, if that function returns, exit the application. You can set your own panic function with the lua_atpanic function, but there is not much that such a function can do."
Ich dachte: "Was lese ich hier eigentlich?"
Es wirkt im Buch manchmal so, als hätte der Autor (und Erschaffer) soviele Ideen, dass er gar nicht weiß was er zuerst sagen soll.

Fazit: Das Buch ist gut zur finanziellen Unterstützung des Lua Projektes geeignet. (siehe Lua.org) Alle die von einem C/C++ Hintergrung kommen, sollten bzgl. der C Api besser einfach mal Google fragen. Es gibt viele gute Beispiel-Quelltexte dazu frei und legal im Netz.
4 Kommentare 4 Personen fanden diese Informationen hilfreich. War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden
Von hbl2bk am 8. Dezember 2013
Format: Taschenbuch Verifizierter Kauf
The excellent 2nd edition got even better. "Must have" for anybody using Lua.
A great mixture of tutorial and reference.
Kommentar 2 Personen fanden diese Informationen hilfreich. War diese Rezension für Sie hilfreich? Ja Nein Feedback senden...
Vielen Dank für Ihr Feedback.
Wir konnten Ihre Stimmabgabe leider nicht speichern. Bitte erneut versuchen
Missbrauch melden

Die hilfreichsten Kundenrezensionen auf Amazon.com (beta)

Amazon.com: HASH(0x8df3ec48) von 5 Sternen 57 Rezensionen
50 von 51 Kunden fanden die folgende Rezension hilfreich
HASH(0x8df5e6a8) von 5 Sternen Best on Lua, K&R Style and A Favorite 30. Januar 2013
Von Andrew Starks - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
If you are new to Lua, then you don't have this book. If you are not new to the language, then you already have it!

Everyone approaching Lua should start with this essential tool as it is, by far, the most efficient and authoritative way to truly understand Lua and its C-API, which is the key to Lua's ability to integrate with system languages. Written as though K&R were in the room, it has just the right amount of instructive insight and tutorials to bring context, without making it hard to actually find what you need to know. You will wear this book out.

In the Third Edition, lessons were added to the end of each chapter. Many of the lessons are actually open-ended questions, such as "Why is the elseif statement more important in Lua, than it might be in other languages?" These lend to a great deal of understanding that I found very helpful.

Other lessons and examples highlight how somethings are accomplished in Lua, which might be a specialized feature found in another, more complicated language. Here, I found myself learning about the language, gaining an appreciation of its design, as well as insights into being productive with the it.

It's not a huge book, but every section was very dense with knowledge and even after 2 years of playing around with Lua, I found it enjoyable and well worth my time to go through this new edition.

Some Editorializing on Lua:

Lua is best thought of as an implementation and a language. As a language, it is very small, yet it contains some very compact and powerful semantic constructs that you might not expect. That is, Lua is smaller than Visual Basic, yet it has coroutines, first class functions, closures and some wonderfully done meta-programming features.

However, these merits might just be my personal taste. There are other great languages out there, although it's worth noting that, after you remove the section on the C-API, Programming in Lua is roughly the same size as JavaScript The Good Parts. :)

Perhaps the feature that deserves the most attention is Lua's implementation, which is focused on its first design goal: an accessible, embeddable scripting language. Lua includes a very clean API written for C, which provides very efficient, controlled and seamless access to and from Lua. It is unique and it is also why, in spite of it being a language less known in web development circles, Mediawiki chose it for their templating system.

Finally, Lua is maintained by a small team, in PUC-Rio, a University in Rio de Janeiro in Brazil, that knows how to say "no." They keep the garden tended and pull the weeds, and otherwise keep Lua small and beautiful.

As a result, programming in Lua and working with its implementation is pleasant. Maybe that's the most informative thing that might be said: When I use Lua, I'm having fun.

So... buy the book? :)
15 von 16 Kunden fanden die folgende Rezension hilfreich
HASH(0x8df5e8f4) von 5 Sternen A must-have for Lua programmers 30. Januar 2013
Von Enrico Colombini - Veröffentlicht auf Amazon.com
Format: Taschenbuch
Lua is a free scripting language with an interesting development history. It is light, readable, expressive, fast, almost universally portable (being ANSI C) and easily integrated with C and C++. It is widely used as dedicated scripting language, general-purpose language, data-description language and to build domain-specific languages.

Written by the chief architect of the language, "Programming in Lua" is aimed at programmers wishing to approach or to better understand Lua and the extra power offered by a fully dynamic language.

Despite its deceptively small size and a plain, readable style with eye-resting typesetting, "Programming in Lua" packs an impressive amount of information peppered with small, clear code examples, supplemented in this new edition by practical exercises; it reminds me of my favorite programming book: the K&R (Kernighan and Ritchie's "The C programming language"). It is a multi-level book that always gives something new at every reading.

Its four sections introduce capabilities, concepts and techniques that may surprise even seasoned programmers, especially those using static languages only.

The first section is devoted to the language itself, including not-so-common subjects such as multiple results, first-class functions, closures, iterators and coroutines. The next section shows how to build all sorts of data structures, from simple arrays and lists to packages and objects, using Lua "tables" and the powerful idea of "metatables" that makes the language easily customizable.
The third section introduces the standard libraries (which are actually optional, e.g. in small embedded applications) with special emphasis on the simple but versatile pattern matching capabilities.

The fourth and last section is different: aimed at system programmers, it explains in detail how to interface Lua and C, both to add new functions to Lua and to use Lua inside a C program (possibly called from programs written in other languages).

This new edition of "Programming in Lua" covers version 5.2 of the language. I use Lua as a general-purpose fast and light language for system tasks and small programs, as data-description language and as embedded language inside C++ applications: the combined power of the two languages is impressive. I liked this book a lot, I learned much from it and I've assigned it a place of honor besides my well-thumbed K&R.
20 von 22 Kunden fanden die folgende Rezension hilfreich
HASH(0x8df5eb34) von 5 Sternen Welcome update of the Lua classic book: a must have for any Lua (Moon) lover :-) 3. Februar 2013
Von JASA - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
I own all the 3 paper editions of Roberto's PIL, and I was never disappointed by any of them, Nevertheless, IMHO the quality of the 2nd and of the new 3rd edition are somewhat above that of the first edition.

The structure of the recent 3rd edition follows that of the "classic" of programming: "The C Programming Language", written by Brian Kernighan and Dennis Ritchie many years ago. A short introductory chapter describing Lua at large is followed by 30 chapters focusing specific areas. The first 10 chapters are about the essential aspects of Lua, but include more "advanced" issues such as iterators and coroutines. The next 7 chapters are about data structures and OO programming. Another 7 chapters describe Lua's standard libraries, and the last 8 chapters are about Lua's C API and discuss more advanced issues such as threads ans memory management. Many examples and case studies are spread all over the book.

The book has about 350 pages, what is still acceptable as a "bed lecture". Several chapters are a bit short (e.g., the one describing Lua's mathematical library, which essentially is the C standard math library, could have spent half a dozen more pages.) The 3rd edition has about 50 more pages than the 2nd; includes end-of-the-chapter exercises and reflects changes in Lua from version 5.1 to 5.2 (environments/global variables, extended coroutines, bit operations library,...). Overall it is a more polished work than the 2nd edition, and is a very inexpensive book (24 bucks today...), certainly due to Roberto's option of self-publishing. This option doesn't affect the quality: despite having already read a big chunk of the book, I didn't found noticeable typos or errors.

A must have book for Lua lovers.
7 von 7 Kunden fanden die folgende Rezension hilfreich
HASH(0x8df5ecd8) von 5 Sternen Excellent!! 27. Januar 2013
Von ER - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
This book is considered THE primary resource for learning to program in Lua, as long as you are not new to programming in general! The additional material in this new edition makes it even more effective and useful for those with a somewhat limited programming background, although still not a book for complete beginners to programming in general. I would suggest for newcomers to programming wanting to use Lua to get both this book and "Beginning Programming with Lua." In fact, I feel this is a good combo for many, myself included. Be aware that this 3rd edition of PiL, as this book is known in the Lua community, targets Lua 5.2, and the other book recommended targets Lua 5.1. The versions are quite similar but you need to be aware of the differences. This book is careful in pointing out to the reader these differences, as version 5.1 is still widely used.
6 von 6 Kunden fanden die folgende Rezension hilfreich
HASH(0x8df5ebac) von 5 Sternen Great book about great language 29. Januar 2013
Von L. Razoumov - Veröffentlicht auf Amazon.com
Format: Taschenbuch Verifizierter Kauf
Lua is a great embeddable programming language with a small memory footprint and powerful yet simple semantics and syntax which is also very fast (lot faster than Perl and Python.). I have been using Lua (and LuaJIT) professionally and for personal projects since 2006. Out of many books 'Programming in Lua' by Roberto is the best language manual about Lua. Reminds me of K&R 'Programming in C'. Very well written, concise, precise and accurate. If you are programming in Lua or interested in Lua in the future this book is MUST HAVE. The third edition covers the recently released Lua-5.2.
Waren diese Rezensionen hilfreich? Wir wollen von Ihnen hören.