glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Embedded scripting language


From: Bo Lorentsen
Subject: Re: [glob2-devel] Embedded scripting language
Date: Mon, 05 Dec 2005 19:06:51 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Stéphane Magnenat wrote:

Well, I won't be so sure: having multiple cooperative thread (right now glob2 preempt threads if they use too much instruction per steps, and preemption is syncronous!) allow to specify one behaviour per thread, which is much cleaner, easier to understand and maintain that a big state machine. If you doubt, see how our big states machines in units and buildings are a mess and you'll get an idea of why we should avoid giant state machines whenever possible.

Sorry about the misunderstanding, I totally agree with You. I just tried to make a joke inspired by the "get the fact" hint ... and failed :-)

/BL




reply via email to

[Prev in Thread] Current Thread [Next in Thread]