4 ms·
https://en.cppreference.com/w/cpp/language/coroutines https://en.cppreference.com/w/cpp/language/coroutines But highly doubt you need anything like async/await
by __jem 3y ago
https://en.cppreference.com/w/cpp/language/coroutines https://en.cppreference.com/w/cpp/language/coroutines
But highly doubt you need anything like async/await for this kind of application. In fact, I'd go as far as to say async/await is almost never needed except for building networked services with truly massive performance demands.
- Kranar 3y agoIf you genuinely have massive performance demands, stay far away from coroutines. For whatever reason the approach C++ took makes them incredibly memory hungry and inefficient.
- jupp0r 3y agoThis is FUD. Watch https://www.youtube.com/watch?v=j9tlJAqMV7U https://www.youtube.com/watch?v=j9tlJAqMV7U.