图书标签: lua 脚本语言 编程 Programming 游戏编程 计算机 语言 编程语言
发表于2025-05-05
Programming In Lua pdf epub mobi txt 电子书 下载 2025
Lua is becoming 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.0---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.
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.
学lua必读...不解释...
评分一种很好的编程思维,迭代之后还没读懂。
评分一种很好的编程思维,迭代之后还没读懂。
评分pil确实是神书。想当初项目要上线,赶鸭子上架,本渣除了用过awesome外基本没接触lua,愣是在线上读了一半的pil第一版(https://www.lua.org/pil/contents.html)就开始用lua干活了【怪不得写了辣么多bug。之后野路子混成了老司机,遇到coroutine、lua调用c++接口时还是得经常回头再读pil。
评分翻译感觉比较生涩。
这本书我看着有点头大,只讲了语言的特性,但是没有练习。对于没有Lua编程经验的人看。会有些不知所云。其实这个语言的特性还是比较多的。虽然语法比较简洁但是并不是很好使用。有些语法过于繁杂如细节较多接口不够简洁。特性较多既可以写函数式的也可一些命令式的。还有OO机制...
评分翻译的非常好啊,作者将中国的计算机技术又向前推进了一步。 Lua 是一门小而精的嵌入式语言,一个完整的 Lua 解释器不过 200KB,与 Python、Perl 之类的脚本语言相比,Lua 先天的更加适合嵌入式应用场景。无论是嵌入式实时操作系统还是嵌入式 Linux,无论是路由器等典型的传统...
评分读到Metatables and Metamethods一章时,深深地被震撼了。以极简单的东西实现了极高妙的技术,有出神入化之妙。 总的来说,Lua语言的设计非常简洁,容易上手,读这本书的前几章就可以写一些够用的脚本处理许多任务了。如果要做较大的项目,再慢慢去读OO的内容。(本段是为了凑...
评分看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
评分lua 是一个很符合我的审美观的语言:简洁、高效。 我向所有 C 出身却想学习一本动态语言的程序员推荐 lua 。因为它有所有动态语言的优点。在我看来,那指 gc , closure , 高效的 string 和字典 。这些都是直接用 C 来写程序很难实现的。 但是 lua 又没有 python , ruby 的繁...
Programming In Lua pdf epub mobi txt 电子书 下载 2025