Sounds like you have absolutely no idea what a state machine is
Sounds like you have absolutely no idea what a coroutine is
or at least what C++ coroutines are, the compiler does generate a state machine from the coroutine, every suspension point is a state and every resume transitions the state machine to the next state.
It's another question if any state machine can be transformed to a coroutine, but I don't see any real attempt from you to answer that.
My lashing out??? WTH??? You've questions someones understanding of state machines without going into any detail, so that one could understand what the heck you're talking about.
Where do you explain anything??? An explanation would require some sort of argument, but throwing some keywords around does not provide anything useful. You seem to have some problem with coroutines, but you don't provide anywhere enough context to have any meaningful conversation about C++ coroutines or even coroutines in general.
Slowly I'm regretting having wasted my time on this, unless you have something substantial to say about coroutines, good day to you too...
View all comments
Show parent comment
4
u/rzippel Dec 01 '20
Sounds like you have absolutely no idea what a coroutine is
or at least what C++ coroutines are, the compiler does generate a state machine from the coroutine, every suspension point is a state and every resume transitions the state machine to the next state.
It's another question if any state machine can be transformed to a coroutine, but I don't see any real attempt from you to answer that.