本月博客排行
-
第1名
wy_19921005 -
第2名
mft8899 -
第3名
java-007 - benladeng5225
- Anmin
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
benladeng5225 - wy_19921005
- vipbooks
- kaizi1992
- 青否云后端云
- e_e
- tanling8334
- sam123456gz
- arpenker
- zysnba
- fantaxy025025
- xiangjie88
- wallimn
- lemonhandsome
- ganxueyun
- jh108020
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- johnsmith9th
- zxq_2017
- forestqqqq
- jbosscn
- daizj
- xpenxpen
- 喧嚣求静
- kingwell.leng
- lchb139128
- kristy_yy
- jveqi
- javashop
- lzyfn123
- sunj
- yeluowuhen
- ajinn
- lerf
- silverend
- chenqisdfx
- xiaoxinye
- flashsing123
- bosschen
- lyndon.lin
- zhangjijun
- sunnylocus
- lyj86
- paulwong
- sgqt
最新文章列表
Notes about how the Lua garbage collector works
lua垃圾收集的原理 参见: http://lua-users.org/wiki/EmergencyGarbageCollector
Notes about how the Lua garbage collector works
Disclaimer: This is the first time I have worked on a garbage collector so some of th ...
lua做tcp服务器的2套库
copas是纯lua的实现 依赖于luasocket, 但是毕竟大的现在,只能支持1024个并发,是select机制的限制。
luaevent和copas的接口很像,基于libevent,支持epoll等,可以支持大规模的并发。
copas经过几天几夜的测试, 比较稳定,但是吃比较多的内存。
luaevent测试在进行中。
注:
在copas或者luaevent.loop 中加入
print ...
lua symbexec的2个用途
原型: static Instruction symbexec (const Proto *pt, int lastpc, int reg);
symbexec 是安装vm的执行流程来模拟一段opcode的执行, 执行到lastpc, 同时返回修改reg的那条指令。
有2个用途
1. loadstring检查代码是否被篡改,是否合法
2. 用于lua_getinfo的时候 看一个first c ...
RemDebug小巧的Lua远端调试器 告诉你coroutine很强大
RemDebug is a remote debugger for Lua 5.0 and 5.1. It lets you control the execution of another Lua program remotely, setting breakpoints and inspecting the current state of the program. RemDebug can a ...
Lua For Windows v5.1.3.11 Release Candidate 1
Lua For Windows v5.1.3.11 Release Candidate 1
Andrew Wilson - 2008-06-28 00:19 - Lua for Windows
We are proud to announce the first release candidate of Lua for Windows (LfW). This moves this p ...
luaedit 新版本 支持lua5.1 马上要发布
Announcing LuaEdit 2008 and new website
Jean-François Goulet - 2008-06-24 21:14 - LuaEdit
LuaEdit is getting a whole new look with the upcoming version of LuaEdit 2008 which will support the la ...
lua newproxy用途
What does newproxy() in 5.1?
> I find newproxy a curious addition. It gives you unique userdata that
> share the same metatable. I cannot think of a use for it yet.
> What did you have in m ...
LPeg Parsing Expression Grammars For Lua, version
Introduction
LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs). In this text, I assume you are familiar with PEGs. If you are not, you can get a quick start r ...