3 comments

[ 112 ms ] story [ 258 ms ] thread
Having used JavaScript and C++ promises, the thing I find easiest is coroutines, and they've been accepted for C++17. In the meantime Boost Coroutine together with ASIO makes for very readable code.