News for hackers. Stuff that matters.
Re:The Rust I wanted had no future by menaerus on Tuesday June 06, 2023 @04:25AM (#36209820)
In C++ there is a default executor that is part of the standard library and has been so since C++11, e.g. no external library is needed - std::async.

std::async is mostly "good enough" for ordinary cases where you only want to fire-and-forget and have no control over the underlying dispatching and scheduling algorithms. If you want something tweaked towards your use-case, and hence actual high-performance executor library, std::async is not gonna cut it. And that's where the "C++ executors" proposal come in.

Re:The Rust I wanted had no future by BatmanAoD on Friday June 09, 2023 @02:18AM (#36253993)
That's...not precisely true. The C++ standard doesn't specify how std::async works, and for a while GCC just ran the operation sequentially, and later both GCC and Clang launched new OS threads by default. https://stackoverflow.com/q/10059239/1858225