圖書標籤: lua 腳本語言 編程 Lua programming 程序設計 編程語言 計算機
发表于2024-11-25
Programming in Lua, Second Edition pdf epub mobi txt 電子書 下載 2024
Lua is the language of choice for anyone who needs a scripting language that is simple, efficient, extensible, portable, and free. Currently, Lua is being used in areas ranging from embedded systems to Web development and is widely spread in the game industry, where knowledge of Lua is an indisputable asset. "Programming in Lua" is the official book about the language, giving a solid base for 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---explaining how to make good use of its features and giving numerous code examples. "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 Second Edition updates the text to Lua 5.1 and brings substantial new material, including numerous new examples, a detailed explanation of the new module system, and two new chapters centered on multiple states and garbage collection.
Roberto Ierusalimschy is an Associate Professor of Computer Science at PUC-Rio (the Pontifical Catholic University in Rio de Janeiro), where he works with programming-language design and implementation. He is the leading architect of the Lua programming language and the author of "Programming in Lua" (now in its second edition and translated to Chinese, Korean, German, and Japanese).
Roberto has a M.Sc. Degree (1986) and a D.Sc. Degree (1990) in Computer Science, both from PUC-Rio. He was a visiting researcher at the University of Waterloo, (Canada, 1991), ICSI (CA, USA, 1994), GMD (Germany, 1997), and at UIUC (IL, USA, 2001/2002). As a professor at PUC-Rio, Roberto was the advisor of several students that later became influential members of the Lua community. Lately he has been developing LPEG, a novel pattern-matching package for Lua.
不知覺中養成瞭通過C API學習動態語言的惡習,哎……
評分書寫的還是不錯的,對於入門Lua還是綽綽有餘。多讀,多寫Lua代碼,很快就理解瞭。
評分小巧又強大的編程語言,可內嵌入,用C可擴展,實在強大。 語法簡潔輕便。
評分game ui/logic programming at Perfect World
評分內容很緊湊
看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
評分亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29...
評分尽管Lua被认为是一种小而强大的语言,但从使用上来说,我很不喜欢Lua的文法风格。语义古怪另类,不符合传统C/C++、C#、JavaScript等体系语言的审美与使用规则,大有标新立异之嫌。例如下标从1开始、函数有多个返回值、以及if-then-end、for-end、do return end等啰嗦的写法。没...
評分亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29.9卖不~亲.29...
評分lua 是一个很符合我的审美观的语言:简洁、高效。 我向所有 C 出身却想学习一本动态语言的程序员推荐 lua 。因为它有所有动态语言的优点。在我看来,那指 gc , closure , 高效的 string 和字典 。这些都是直接用 C 来写程序很难实现的。 但是 lua 又没有 python , ruby 的繁...
Programming in Lua, Second Edition pdf epub mobi txt 電子書 下載 2024