Boost logo

Boost :

Subject: Re: [boost] [msm] Review
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2009-12-03 14:58:14

Hi Franz,

> SC 19.63630 s
> Rhapsody 4.95109 s
> MSM 0.90754 s

Thanks for the review and for the very interesting comparison with
Rhapsody, which I found impressive for several reasons:
- Rhapsody is, I think, a pretty costly tool (I heard 15k€) so I
expected some cool fsm framework and instead the event dispatching
really is just a simple switch on states of if/else on event ids, so a
pretty basic implementation (though it would be interesting to see how
more complicated machines are generated). Of course, as it is made for
embedded development, this is understandable.
- although this is such basic C-like implementation, Msm is 5 times
faster. This is fascinating, the rootState_processEvent is so simple,
one can wonder how it is possible to be faster.
I find this a good example of the power of metaprogramming.

I love C++ :)


Boost list run by bdawes at, gregod at, cpdaniel at, john at