4 ms·
Best answer, much appreciated. > Give it five or ten years, and I reckon you'll see people make use of C++17 and C++20 in much greater numbers. Frankly, the t
by rsp1984 6y ago
Best answer, much appreciated.
> Give it five or ten years, and I reckon you'll see people make use of C++17 and C++20 in much greater numbers.
Frankly, the thought of it makes me want to migrate to Rust.
> Are you aware that std::thread has existed since C++11, and std::jthread and coroutines are in C++20?
Sure, but very low level. I'd be great to have a standard for something like TBB or OpenMP.
> std::string is an RAII-managed bag of bytes. What kind of operations are you looking for?
Looking enviously at Javascript strings and boost string algorithms...
- kllrnohj 6y ago> Sure, but very low level. I'd be great to have a standard for something like TBB or OpenMP. The answer here is modules. Improve the story on shipping C++ libraries, and then who cares if it's in the "standard library" or not? It's not like anyone in JS land for example cares if something is native to the language or in a library since adding a library is trivial & easy.
- yuushi 6y agoModules have nothing to do with shipping libraries (or dependency management), they are purely about encapsulation of interface and (API) implementation.
- BenFrantzDale 6y agoIt should be std::string’s job to store strings. If people want to perform operations on them, that’s what free functions are for, right? Nobody wants std::string to have hundreds of methods. Tbb is great.