Programming in Lua, Fourth Edition 在線電子書 圖書標籤: lua 編程 Lua 計算機科學 代碼 Programming 英文原版 編程語言
發表於2024-12-26
Programming in Lua, Fourth Edition 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024
小巧,速度在腳本中No1.就是庫少瞭點,C的補充~
評分翔實,而且5.3特性介紹充分,不過依然感覺 COROUTINE 部分理解有難度,後續還需要翻翻細嚼
評分小巧,速度在腳本中No1.就是庫少瞭點,C的補充~
評分翔實,而且5.3特性介紹充分,不過依然感覺 COROUTINE 部分理解有難度,後續還需要翻翻細嚼
評分翔實,而且5.3特性介紹充分,不過依然感覺 COROUTINE 部分理解有難度,後續還需要翻翻細嚼
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 美极了——优雅,简洁,自不必多说。此谓之瑜。 所谓瑕,是我发现的一处笔误。 在 28.3 节《面向对象的访问》中提到,为了使用户自定义类型能够使用面向对象的语法来操作,一定要为元表设置“--index 元方法”。 就这里错了,把 __index(下划线)写成...
評分最近看了风云的开源游戏引擎ej2d,里面主要变成语言就是Lua。后来又看到美国总部一个医疗项目也大量是用了Lua做为脚本和测试框架。正好也想认真学点东西,就开始看这本书了。 第一次认真看一本英文本,不过总体上还是挺流利的。这本书对Lua编程的讲解还是很到位的,而且通俗易...
評分看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
評分看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
評分尽管Lua被认为是一种小而强大的语言,但从使用上来说,我很不喜欢Lua的文法风格。语义古怪另类,不符合传统C/C++、C#、JavaScript等体系语言的审美与使用规则,大有标新立异之嫌。例如下标从1开始、函数有多个返回值、以及if-then-end、for-end、do return end等啰嗦的写法。没...
Programming in Lua, Fourth Edition 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2024