[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua on Reddit again
- From: Alexander Gladysh <agladysh@...>
- Date: Mon, 31 Jan 2011 16:45:00 +0300
On Mon, Jan 31, 2011 at 16:26, Peter Cawley <email@example.com> wrote:
> On Mon, Jan 31, 2011 at 1:10 PM, Steve Litt <firstname.lastname@example.org> wrote:
>> Speaking about what might replace it -- could something with callback
>> functions replace it? They're powerful as all getout, but until now appeared
>> to be the sole territory of toolmakers, with application programmers simply
>> writing and passing small callbacks. Could that be because in other languages,
>> callbacks are just too syntactically difficult?
> node.js has had a lot of publicity recently, and its modus operandi is
> to have callbacks everywhere as to avoid blocking.
Side note: You ought to use coroutines in Lua for this.