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.
发表于2024-12-24
Programming in Lua, Fourth Edition 2024 pdf epub mobi 电子书
lua 是一个很符合我的审美观的语言:简洁、高效。 我向所有 C 出身却想学习一本动态语言的程序员推荐 lua 。因为它有所有动态语言的优点。在我看来,那指 gc , closure , 高效的 string 和字典 。这些都是直接用 C 来写程序很难实现的。 但是 lua 又没有 python , ruby 的繁...
评分翻译的非常好啊,作者将中国的计算机技术又向前推进了一步。 Lua 是一门小而精的嵌入式语言,一个完整的 Lua 解释器不过 200KB,与 Python、Perl 之类的脚本语言相比,Lua 先天的更加适合嵌入式应用场景。无论是嵌入式实时操作系统还是嵌入式 Linux,无论是路由器等典型的传统...
评分看到元表那章开始,我就感觉到自己一直作为一个静态语言开发者的思想的局限性了 table 继承的方法之一是 table 的 metatable 中的 __index 字段引用父 table, 然后其实 table 可以作为自身的 metatable 比如 a = 1 g = { __index = _G } setmetatable(g, g) g.print(a) ...
评分读到Metatables and Metamethods一章时,深深地被震撼了。以极简单的东西实现了极高妙的技术,有出神入化之妙。 总的来说,Lua语言的设计非常简洁,容易上手,读这本书的前几章就可以写一些够用的脚本处理许多任务了。如果要做较大的项目,再慢慢去读OO的内容。(本段是为了凑...
评分lua 的table 和nil我很喜欢、很方便。数据结构table足以。特别是让非程序员(如策划)做配置的时候。
图书标签: lua 编程 Lua 计算机科学 代码 Programming 英文原版 编程语言
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.
小巧,速度在脚本中No1.就是库少了点,C的补充~
评分写的简洁,讲的都是要点
评分比起第一版内容要详细很多,已经300多页了。有些地方不免有些啰嗦,想要快速知道一个事情的做法不如 lua users wiki。但是此书经常告诉你 lua 为什么要这么设计,和 Fluent Python 一样,是一本不可多得的好书。
评分海淘500rmb 来的原版 本来想翻译一发 结果出版社说已经有人在从事这个工作了……
评分比起第一版内容要详细很多,已经300多页了。有些地方不免有些啰嗦,想要快速知道一个事情的做法不如 lua users wiki。但是此书经常告诉你 lua 为什么要这么设计,和 Fluent Python 一样,是一本不可多得的好书。
Programming in Lua, Fourth Edition 2024 pdf epub mobi 电子书