Re: Lua Event driven programming
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua Event driven programming
- From: Henk Boom <henk@...>
- Date: Mon, 1 Jun 2009 17:24:15 -0400
2009年6月1日 Linker <linker.m.lin@gmail.com>:
> Hi,
> Event-driven is no a good choice for lua programming.Coroutine is a better
> choice.
I'm not sure how these are incompatible. My usual use of coroutines is
to ease the writing of event callbacks, for example, to avoid having
to hand-code state-machines for update callbacks.
Henk