[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Recommendations on my upcoming Lua presentation?
- From: Steve Litt <slitt@...>
- Date: Tue, 1 Feb 2011 07:50:15 -0500
On Tuesday 01 February 2011 01:26:59 steve donovan wrote:
> On Tue, Feb 1, 2011 at 8:06 AM, Wesley Smith <wesley.hoke@gmail.com> wrote:
> > The thing that's not on the list that I think is one of the most
> > important in Lua, especially when compared to other languages, is
> > coroutines.
>
> Totally. Like the 'does it have OOP?' there's a companion question
> 'does it have threads?'. The answer is usually something like 'well,
> yes and no' which is feeble. Coroutines are animals of a different
> colour. With a little organization, they can do what threads do, in a
> more sane way, and they are very lightweight compared to OS threads.
>
> Naturally, it takes a while to understand them well, precisely because
> they are not common outside Lua.
Hi Steve,
I don't think I have to get them to understand coroutines, if I can get them
to salivate about them. How could I, within 5 minutes, demonstrate a wonderful
benefit of coroutines?
Thanks
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt