4 ms·
Further evidence: coroutines are often implemented as state machines under the hood.
by Skunkleton 8y ago
Further evidence: coroutines are often implemented as state machines under the hood.
- JadeNB 8y ago> Further evidence: coroutines are often implemented as state machines under the hood. Of course you just said "further evidence", not "proof", but naturally this just proves simulability, not bisimulability.
- coldtea 8y agoWell, state machines can also be implemented as coroutines, so...
- ectospheno 8y agoI enjoy when in discussions like this the person saying the things can’t simulate each other proceed to prove their point by writing two computer programs and running them on the same physical machine...
- Skunkleton 8y agoThe CPU is a state machine. Therefore all software is a state machine. Take that functional programming.
- coldtea 8y agoThere's nothing in FP that's against state machines. Even if we say that FP = purity, you can have state machines with immutable state.