Who is writing state machines without the pattern of generators/coroutines these days?
I prefer the discipline and diagrams of regular state machines. Personally, I don't like the coroutine alternative because it takes away what is good and adds complexity.
Also as @R0b0t1 says, regular state machines are used in embedded:
- Draw a diagram
- Implement a state machine
These feels much more like engineering that messing with coroutines.
Ah i see I had misread your comment as “most people aren’t using rust for embedded” rather than “most people doing embedded aren’t using rust”, sorry about that.