Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-06 18:22:13

"Andreas Huber" <ahd6974-spamgroupstrap_at_[hidden]> writes:

> Hi Alexander,
>> Iain K. Hanson wrote:
>>> I'd love to see a DSL ( Domain Specific Language ) for state charts
>>> that generated Alexsey style FSMs with states able to be defined in
>>> seperate compilation units. This would solve the scaleabilty
>>> problems.
>> If you're talking about this
>> then there is nothing to put in separate TUs because states are
>> numbers. Probably, you mixed states up with transitions.
>> This is more a problem of proposed Boost.FSM then yours. In my
> I don't think so. Even with Aleksey's approach, with an FSM becoming
> sufficiently large at some stage the compiler will give up because it
> reached its template nesting depth limit or compilation becomes
> infeasible because it takes too long (usually because the compiler eats
> up so much memory that there's a lot of swapping).

That could happen in any program that uses templates. Or uses a
compiler, for that matter. I believe this to be FUD, and false for
practical sizes of FSMs.

Dave Abrahams
Boost Consulting

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