
It might be interesting to contemplate a "fast-compile mode" that builds the same logical state machine using the same input syntax but trades away a little run time for compile time.
Yes, I'd be willing to trade that, as my SM is not running in a real time environment, but is managing user mouse and menu management.
I'm also thinking about such back-end but I think the trade-off is likely to be not so much against run-time but UML features. I'm think about transition conflicts. This one is pretty hard on the compiler. I'd also bet on submachines and entry/exit pseudo states. If one is ready to give these ones up, I think we can have pretty easily something running without speed loss (I'd even bet on a speed gain). All it'd take would be the MPL book example cooked with the MSM sauce.

Hi Christophe, Christophe Henry wrote:
It might be interesting to contemplate a "fast-compile mode" that builds the same logical state machine using the same input syntax but trades away a little run time for compile time. Yes, I'd be willing to trade that, as my SM is not running in a real time environment, but is managing user mouse and menu management.
I'm also thinking about such back-end but I think the trade-off is likely to be not so much against run-time but UML features. I'm think about transition conflicts. This one is pretty hard on the compiler. I'd also bet on submachines and entry/exit pseudo states.
If one is ready to give these ones up, I think we can have pretty easily something running without speed loss (I'd even bet on a speed gain). All it'd take would be the MPL book example cooked with the MSM sauce.
That'd be great. Let me know how I can help. Jeff

On Jan 12, 2010, at 6:59 PM, Christophe Henry <christophe.j.henry@googlemail.com
wrote:
I think the trade-off is likely to be not so much against run-time but UML features. I'm think about transition conflicts. This one is pretty hard on the compiler. I'd also bet on submachines and entry/exit pseudo states.
The idea would be to do all parts that are “hard on the compiler” at runtime. I don't see why you should have to sacrifice features. Sent from my iPhone
participants (3)
-
Christophe Henry
-
David Abrahams
-
Jeff Flinn