|
|
|
|
|
by dgallion1
3564 days ago
|
|
I've lived the ObjectTime/Rose path.
Made good money converting projects out of those tools.
So yes, everyone should use them. C++14 and coroutines have replaced state machines in my world. They read like normal code, are easy to customize to your needs. Had to convert a large PLC system from Beckoff structured text to C++. Coroutines allowed me to model it close enough that a little python translator made it work. Setup actors with queues that timeout on interval and pump the (taskLets) Coroutines. Create functions that provide blocking on what ever you like. Events, msgs or time. Better IMO, compared to code shattered into bubbles in a tool or callbacks everywhere. |
|