News for hackers. Stuff that matters.
Re:Writing high-performance servers in modern C++ by Matthias247 on Sunday January 10, 2016 @04:43PM (#10877338)
Promises are not really there. The C++11 version of std::future is missing future::then, which makes it useless for most concurrent tasks. You can launch subtasks on other threads and wait for the result with this future implementation, but you can't asynchronously wait for results of tasks in the same thread.

This will also only be fixed in C++17. Boost future already implements more of this, but afaik it's still flagged as experimental, so it could change again. And afaik there were also some pending discussions about how futures should interact with schedulers/executors.

There are no comments on this comment yet.