|
On Feb 29, 2008, at 12:35 AM, Diego Nehab wrote:
And in the process of writing LuaSocket 3.0What's cooking for LuaSocket 3.0?Completely new, completely assynchronous, level triggered API.
Sounds promissing :)
We are shooting for an API that behaves like the IOCP API from Windows, but simpler to use. Using kqueue on BSD, IOCP on Windows, epoll on Linux. It will be easy to implement higher level APIs (like the dispatch.lua idea) on top of it. There will even be a synchronous API on top of it (no select(), though).
Will the new implementation be API compatible with the old one as defined by the LuaSocket reference manual?
http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/reference.html
Hopefully will scale very well w.r.t. number of sockets.
Cheers, PA.