However, it's a little bit easier to deal with sha...
# coroutines
k
However, it's a little bit easier to deal with shared state of coroutines. First, they can suspend only in known locations. Second, single-threaded environment does not suffer from issues that occur due to invalidation of CPU core cache. That's usually not an issue with x86 architechture, but some other architechtures (such as ARM) may give less guarantees to a developer.