Beware though that despite Node.js' hype, callback-driven APIs quickly turn user code into an unmaintainable spaghetti plate mess.
The antidote to this is coroutine, offering callback performances with normal code readability, and Lua is one of the few languages which properrly supports them.
On Fri, Sep 30, 2011 at 11:55 AM, Xavier Wang
<weasley.wx@gmail.com> wrote:
are there callback based socket interface in Lua?