
lua
文章平均质量分 63
hyforthy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
how to read lua?
how to read lua?Recommended reading order:lmathlib.c, lstrlib.c: get familiar with the external C API. Don't bother with the pattern matcher though. Just the easy functions.lapi.c: Check转载 2014-02-20 19:36:20 · 630 阅读 · 0 评论 -
lua 部分结构
原创 2014-03-12 18:04:40 · 728 阅读 · 0 评论 -
jit aot
JIT:Just in timeAOT:Ahead of time原创 2014-03-26 23:38:59 · 1089 阅读 · 0 评论 -
lua 编程问题
io.output("xxx1") -- also be writed: local ff1 = io.output("xxx1"); 实际是以"w"模式打开文件xxx1,只是把句柄保存到全局表里io.writeio.close() -- equal to [io.close(io.output())] and [io.output():close()]io.input("原创 2014-03-23 12:49:49 · 876 阅读 · 0 评论 -
lua require 搜索路径
lua引用第三方库时,设置搜索路径 package.path = '/usr/local/share/lua/5.1/?.lua;/home/resty/?/init.lua;' --搜索lua模块package.cpath = '/usr/local/lib/lua/5.1/?.so;' --搜索so模块原创 2014-03-09 20:21:40 · 7261 阅读 · 0 评论