lua-users home
lua-l archive

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

FWIW, I wrote a small wrapper around the libev library that allows you
to do event loop based programming.  libev supports epoll, so if you
wanted to write your entire webserver with lua, you could grab my
lua-ev wrapper here:

There is also the Kepler project which has Copas:

That is a similar thing.


On Mon, Feb 15, 2010 at 9:22 PM, Sean Conner <> wrote:
> It was thus said that the Great Doug Rogers once stated:
>> Sean Conner wrote:
>> >
>> >
>> For those who had trouble untarring them, they're gzip'd twice:
>  Oh crap!  That's the fault of the webserver compressing the output if your
> broswer supports it.  Sigh.  I've added .gz to the list of resources not to
> compress.  Hopefully, it'll take.
>>   gunzip luadaemon.tar.gz
>>   mv luadaemon.tar luadaemon.tar.gz
>>   tar tzf luadaemon.tar.gz
>> Same for cgilib.
>> I like what you've done with it, recording the type of transaction that
>> each coroutine is waiting on so that it can be serviced later (if
>> necessary) when epoll() indicates the associated event has occurred.
>  Thanks.  It took quite a bit to get going, and I'm not totally thrilled
> with the code as is, but it works.
>> Thanks for posting this! It's nice to have a good example using the
>> epoll() calls; I'm an old school select()er and I need to modernize.
>  I never liked select() even when it was the only option.
>  -spc

Brian Maher >> Glory to God <<