[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++ religious war (was: llua Higher-level C API for Lua)
- From: Andrew Starks <andrew.starks@...>
- Date: Fri, 21 Mar 2014 15:13:23 -0500
On Fri, Mar 21, 2014 at 3:06 PM, Rena <hyperhacker@gmail.com> wrote:
> I think LuaSocket only has sleep()? No timer event or such. That would be
> difficult to do in Lua because of no threading; you'd have to have an event
> loop.
I believe that with inproc communication and a sufficiently
lightweight message passing scheme, spooling a remote thread to act as
your event timer is not unreasonable. If you need many of them, you
could have a service with a pool of threads, etc.
--Andrew
- References:
- Re: C++ religious war (was: llua Higher-level C API for Lua), Coda Highland
- Re: C++ religious war (was: llua Higher-level C API for Lua), steve donovan
- Re: C++ religious war (was: llua Higher-level C API for Lua), Benjamin Heath
- Re: C++ religious war (was: llua Higher-level C API for Lua), steve donovan
- Re: C++ religious war (was: llua Higher-level C API for Lua), Isaac
- Re: C++ religious war (was: llua Higher-level C API for Lua), Jeremy Ong
- Re: C++ religious war (was: llua Higher-level C API for Lua), steve donovan
- Re: C++ religious war (was: llua Higher-level C API for Lua), Roberto Ierusalimschy
- Re: C++ religious war (was: llua Higher-level C API for Lua), Hisham
- Re: C++ religious war (was: llua Higher-level C API for Lua), steve donovan
- Re: C++ religious war (was: llua Higher-level C API for Lua), Roberto Ierusalimschy
- Re: C++ religious war (was: llua Higher-level C API for Lua), Jeremy Ong
- Re: C++ religious war (was: llua Higher-level C API for Lua), steve donovan
- Re: C++ religious war (was: llua Higher-level C API for Lua), Andrew Starks
- Re: C++ religious war (was: llua Higher-level C API for Lua), Coroutines
- Re: C++ religious war (was: llua Higher-level C API for Lua), Rena