發表於2024-10-08
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 和nil我很喜歡、很方便。數據結構table足以。特彆是讓非程序員(如策劃)做配置的時候。
評分##table{},sequence,# sequence也是table,隻是把這個從1開始的係列提取齣來的部分。(從1開始) #長度,針對string,sequence table如果key為table這樣的復雜結構,是用pointer來hash和rawequal,所以不要指望你setmetatable,添加__equal瞭,讓key1==key2,就可以用key2從tabl...
評分 評分 評分 評分##這本書我看著有點頭大,隻講瞭語言的特性,但是沒有練習。對於沒有Lua編程經驗的人看。會有些不知所雲。其實這個語言的特性還是比較多的。雖然語法比較簡潔但是並不是很好使用。有些語法過於繁雜如細節較多接口不夠簡潔。特性較多既可以寫函數式的也可一些命令式的。還有OO機製...
評分##table{},sequence,# sequence也是table,隻是把這個從1開始的係列提取齣來的部分。(從1開始) #長度,針對string,sequence table如果key為table這樣的復雜結構,是用pointer來hash和rawequal,所以不要指望你setmetatable,添加__equal瞭,讓key1==key2,就可以用key2從tabl...
評分Programming in Lua, Fourth Edition pdf epub mobi txt 電子書 下載