Boost logo

Boost :

Subject: Re: [boost] [msm] Review
From: David Bergman (David.Bergman_at_[hidden])
Date: 2009-12-05 17:22:37


On Dec 5, 2009, at 5:19 PM, Andreas Huber wrote:

>> I have used it in two medium-sized projects (one BitTorrent-like
>> client and one real-time auction engine, to keep track of the state
>> of individual auctions.)
>
> Ok.
>
>> But, over these years, when using C++, I have almost always
>> used our own implementations of state machines. Dare I say this:
>> it is not the most tricky notion to implement, if one (i) is not that
>> worried about the performance (say, not that many hundred
>> transitions per second) or (ii) in need of nested states; and, this I
>> dare say: it is also a quite rewarding task and fun!
>>
>> Yes, I know that both Statechart and MSM care about these
>> aspects, which have *mostly* been a non-concern for my
>> applications. Honestly, the nested FSMs have often been
>> implemented ad hoc ;-)
>
> So I guess for the use cases you encountered, I doesn't make much difference whether you'd use MSM or Statechart, right?

Exactly. I want to find cases where it *does* matter, so I can justify another SFM library in Boost. I have tried the last few days to create toy-but-real-time apps with high load to see what gives.

/David


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk