Btw, C++ coroutines are in the same style as in JS...
# coroutines
e
Btw, C++ coroutines are in the same style as in JS/Dart/C#. You have this syntactic overhead of
co_yield
and
co_await
everywhere and the performance overhead of having to return some promise-like object. C++ cannot emulate CSP (go-style) coroutines and channels as elegantly as Kotlin does.
👍 5