发表于2025-03-06
Programming in Lua, Fourth Edition pdf epub mobi txt 电子书 下载
Roberto Ierusalimschy is the leading architect of the Lua programming language, driving its development since its inception in 1993. He 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.
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 and a member of the IFIP Working Group on Language Design.
Lua is spreading more and more throughout different areas of software, from embedded systems and mobile devices to the Web and the Internet of Things. Besides, it has a major role in the game industry, where knowledge of Lua has become an indisputable asset. Lua is the language of choice for anyone who needs a scripting language that is simple, efficient, extensible, portable, and free. Programming in Lua is the official book about the language, providing a solid base to any programmer who wants to use Lua. Authored by Roberto Ierusalimschy, the chief architect of the language, it covers all aspects of Lua 5---from the basics to its API with C. The book is the main source of programming patterns for Lua, with numerous code examples that help the reader to make the most of Lua's flexibility and powerful mechanisms. Programming in Lua is targeted at people with some programming background, but does not assume any prior knowledge about Lua or other scripting languages. This Fourth Edition updates the book to Lua 5.3 and marks a complete reorganization of the text. Building on his many years of experience teaching Lua, Roberto has restructured the book to present the material in a growing order of complexity, allowing the reader to better absorb the character of the language.
##Lua可能咋一看很简洁、好上手、库函数少(所有函数放一起只有一页),但是要深入其实还是要费一番功夫的。当中有不少和其他常见语言不太一样的用法、复杂性也是由于为保持语言的简洁而额外引入的,这一部分对于非专业编程人员其实非常不友好,就比如table类型变量都是引用(tab...
评分##小巧,速度在脚本中No1.就是库少了点,C的补充~
评分 评分##table{},sequence,# sequence也是table,只是把这个从1开始的系列提取出来的部分。(从1开始) #长度,针对string,sequence table如果key为table这样的复杂结构,是用pointer来hash和rawequal,所以不要指望你setmetatable,添加__equal了,让key1==key2,就可以用key2从tabl...
评分 评分##When you use the auxlib buffer, you have to worry about one detail. After you initialize a buffer, it keeps some intermediate results in the Lua stack.Therefore, you cannot assume that the stack top will remain where it was before you started using the buff...
评分##本来已经看过了英文版,今天偶然在书店看到,买下来,看完了。感觉是,还是翻译的问题。但与常见的翻译通病不同,问题不在于语言不符合中文习惯,而在于很明显,译者对一些术语的译法不太了解。比如那个有望传为经典的“正确的尾部递归”。还有那个被译为“泛型 for”的 generi...
评分Programming in Lua, Fourth Edition pdf epub mobi txt 电子书 下载