Re:Show HN: Coros – A Modern C++ Library for Task Parallelism
by dataflow on Wednesday September 25, 2024 @12:03PM
(#41648886)
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.
[ Parent
| on HN ]
Re:Show HN: Coros – A Modern C++ Library for Task Parallelism
by pjmlp on Wednesday September 25, 2024 @12:42PM
(#41649261)
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.