3 ms·
C++11 introduced std::async and std::future. Pretty much everybody uses something else nowadays (std::async is a deprecated footgun, std::future should have bee
by fluffything 7y ago
C++11 introduced std::async and std::future. Pretty much everybody uses something else nowadays (std::async is a deprecated footgun, std::future should have been a Concept instead of a concrete type, etc.) and some parts of this design impact new language features like C++ coroutines, which 50% of the people say are good enough, and the other 50% say "they are not zero cost and as fast as Rust's".