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 also debug CGILua scripts. 看他的源码只有2个东西:controller.lua 和 remdebug/engine.lua controller(233行)接受用户输入 ...
2008-06-30

Lua For Windows v5.1.3.11 Release Candidate 1

关键字: lua scite 编辑 调试
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 project into feature freeze, so only bugs will be fixed until the official release. Let us know what ...
2008-06-28

高级服务器编程和p2p的PPT

关键字: 高级服务器编程 p2p
前段时间受邀去青岛海洋大学做的演讲的ppt,内容主要涉及到 1. 高级服务器设计实现 2. Architecture of Large-Scale Websites 3. P2P设计经验谈 4. 个人成长之路 凑合看吧!
2008-06-27

Alien - Pure Lua extensions

关键字: alien lua
What is Alien Alien is a Foreign Function Interface (FFI) for Lua. An FFI lets you call functions in dynamic libraries (.so, .dylib, .dll, etc.) from Lua code without having to write, compile and link a C binding from the library to Lua. In other words, it lets you write extensions that call out to ...
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 latest version of Lua 5.1, remote debugging, easy software integration and solution oriented manageme ...
2008-06-27

lua newproxy用途

关键字: 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 mind? This is a very experimental feature. We wanted a simple and secure way of creating userdata in Lua. It ...
2008-06-26

你们有yum 我有LuaRocks

关键字: luarocks
LuaRocks This is LuaRocks, a deployment and management system for Lua modules. LuaRocks allows you to install Lua modules as self-contained packages called "rocks", which also contain version dependency information. This information is used both at install time, so that when one rock is requested ...
2008-06-16

ASN.1协议 适合我们用吗?

关键字: asn.1 encode decode
R12B发布以后 号称ASN.1解码速度快了好多。前天仔细看了文档,感觉用在自有的系统去不错。ASN.1的结构还是很紧凑的,BER,PER,BER_BIN,PER_BIN都支持。特别是支持选择性decode,这个feature非常赶兴趣。用在自己的项目里面就省去了很多协议编解码的繁琐和易错,毕竟asn compiler也做了几万行 我相信他的性能。
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 reading the Wikipedia Entry for PEGs or Section 2 of Parsing Expression Grammars: A Recognition-Base ...
2008-06-13

gen_tcp 应对对端半关闭

关键字: gen_tcp shutdown exit_on_close
当tcp对端调用shutdown(RD/WR) 时候, 宿主进程默认将收到{tcp_closed, Socket}消息, 如果这个行为不是你想要的,那么请看: shutdown(Socket, How) -> ok | {error, Reason} Types: Socket = socket() How = read | write | read_write Reason = posix() Immediately close a socket in one or two directions. How == write means closing the socket for ...
2008-06-12

丢人的strncpy 语义理解错误

关键字: strncpy
今天发现strncpy使用上的一个古怪bug, 解决了是发现对strncpy的语义理解错误。 SYNOPSIS #include <string.h> char *strcpy(char *dest, const char *src); char *strncpy(char *dest, const char *src, size_t n); DESCRIPTION The strcpy() function copies the string pointed to by src (including t ...
2008-06-12

Erlang/OTP R12B-3 released

关键字: erlang/otp r12b-3 released
Erlang/OTP R12B-3 released The third service release for Erlang/OTP R12B has been released. (June 11, 2008) 最大的卖点: An experimental module "re" is added to the emulator which interfaces a publicly available regular expression library for Perl-like regular expressions (PCRE). The interface is pur ...