lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Le 8 mars 08 à 10:33, Diego Nehab a écrit :

Hi,

FYI There is a good library Boost ASIO for async socket
operations already, supports Linux, Windows, etc. Uses I/O
completion ports on WIN32 and epoll on Linux.  The next
version will have general File I/O.

Thanks! I think that most of the work will be in buffering,
interfacing with Lua, future management etc. So I would
rather take a look at ASIO and libevent just for inspiration
than adding another dependency.

There is also libev :
Homepage: http://software.schmorp.de/pkg/libev.html
Library Documentation: hhttp://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod

used by : ebb
http://github.com/ry/ebb/tree/master

They say, libev :
A full-featured and high-performance (see benchmark) event loop that is loosely modelled after libevent, but without its limitations and bugs.

I can't say if it's right as I didn't code in C :)
However, libev event-loop seen well documented to me.

- pierre