by pjc50 · 5y ago · 0 comments
Context switches remain expensive.
I'm kind of on the fence about coroutines. They can sometimes simplify writing performant IO-dependent code, or can make it harder to debug. It feels that they've not reached their "final form", nor has the right set of structured programming norms developed around them yet.
Then people start trying to apply coroutines to a bunch of arbitrarily complicated and unbounded business logic things and everything blows up.