[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Writing TCP daemons in Lua (was Re: Why nobody talks about Lua)
- From: Sean Conner <sean@...>
- Date: Tue, 16 Feb 2010 00:22:42 -0500
It was thus said that the Great Doug Rogers once stated:
> Sean Conner wrote:
> > http://www.conman.org/software/misc/luadaemon.tar.gz
> > http://www.conman.org/software/cgilib/cgilib-6.0.0.tar.gz
>
> 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
- References:
- Re: Why nobody talks about Lua, Alexander Gladysh
- Re: Why nobody talks about Lua, Alex Combas
- Re: Why nobody talks about Lua, Timothy Hunter
- Re: Why nobody talks about Lua, Phoenix Sol
- Re: Why nobody talks about Lua, Sean Conner
- Re: Why nobody talks about Lua, Doug Rogers
- Re: Why nobody talks about Lua, Sean Conner
- Re: Why nobody talks about Lua, Mark Hamburg
- Writing TCP daemons in Lua (was Re: Why nobody talks about Lua), Sean Conner
- Re: Writing TCP daemons in Lua (was Re: Why nobody talks about Lua), Doug Rogers