Y
Hacker News
new
|
ask
|
show
|
jobs
by
dataflow
637 days ago
Do you mean C++ coroutines, or coroutines in general? If you're new to the concept I would try to start with Python's, then Javascript or C#. C++'s is way more complicated.
1 comments
pjmlp
637 days ago
Note that C# and C++ are quite similar, the biggest difference are the lifetime gotchas and not having coroutines runtime on the standard library.
Their design has a common source, and the magic methods for awaitables as well.
link
Their design has a common source, and the magic methods for awaitables as well.