3 ms·
I'm not an authority on the topic, but a somewhat similar concept to ECS is state charts, which I find far better suited to hardware. Some might verbally assau
by steve_adams_86 2y ago
I'm not an authority on the topic, but a somewhat similar concept to ECS is state charts, which I find far better suited to hardware.
Some might verbally assault me for calling these two things similar, but I mean that loosely. Someone who is new to both might notice that they compose systems which can communicate and respond to inputs, which is conceptually similar. State charts offer far more guarantees, consistency, reliability, and predictability though.
I suppose one is about propagating data (not state, specifically), the other is about state and state control. Both are hierarchical in a sense, but ECS doesn't place as much importance on hierarchy.
Apologies if I'm dead wrong.
- tejaskumar_ 2y agoInteresting point about state charts for hardware systems. They're indeed excellent for modeling complex system behaviors. I've heard of Stately/XState being used for some embedded control interfaces - while it's typically associated with web apps, the same statechart patterns work surprisingly well for describing hardware state machines and their transitions.