4 ms·
I don't know about the others, but C++ don't have a default implementation as part of the standard. If you want an event loop, you need to use one of the many l
by alvarelle 6y ago
I don't know about the others, but C++ don't have a default implementation as part of the standard. If you want an event loop, you need to use one of the many libraries that provide one.
- pjmlp 6y agoC++20 surely has one.
- alvarelle 6y agoNo, it hasn't. Actually C++20 comes with only the minimal support for coroutines in the std library. If you want to do anything useful, you need to implement a promise type yourself which is very hard to do without using one library that does that.
- pjmlp 6y agoFrom the looks of it, and what I am already able to do with Visual C++ I bet it still is more functional than what Rust currently offers. And that I won't need to rewrite it when I try out the same code with another C++20 compiler.