3 ms·
> We have a model for better concurrency coming up. Almost certainly it will be in [C++ version] 23. It exists and it’s used. It’s backed by people like Faceboo
by hu3 6y ago
> We have a model for better concurrency coming up. Almost certainly it will be in [C++ version] 23. It exists and it’s used. It’s backed by people like Facebook and NVIDIA and Intel… So that’s where we’ll get a better concurrency, better use of hardware… Beyond that, I am looking at functional-style pattern matching...
Better concurrency and functional-style pattern matching? Yes please.
- rainbow-road 6y agoDoes anyone know what Stroustrup is referring to regarding "better concurrency"? It sounds interesting but it's way too vague.
- steveklabnik 6y agoI believe the big feature slated is executors.
- The_rationalist 6y agoSomething like that? https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executors.html https://docs.oracle.com/javase/7/docs/api/java/util/concurre... What I would like to see in C++ would be green threads and use of io uring and restartable sequences like in project loom.
- steveklabnik 6y agoYes, same concept. C++20 added coroutines already.