News for hackers. Stuff that matters.
Re:Bjarne Stroustrup Weighs in on Distributed Systems, Type ... by hu3 on Monday August 03, 2020 @09:12AM (#24037312)
> 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.

Re:Bjarne Stroustrup Weighs in on Distributed Systems, Type ... by rainbow-road on Monday August 03, 2020 @09:26AM (#24037451)
Does anyone know what Stroustrup is referring to regarding "better concurrency"? It sounds interesting but it's way too vague.
Re:Bjarne Stroustrup Weighs in on Distributed Systems, Type ... by steveklabnik on Monday August 03, 2020 @09:28AM (#24037484)
I believe the big feature slated is executors.
Re:Bjarne Stroustrup Weighs in on Distributed Systems, Type ... by The_rationalist on Monday August 03, 2020 @09:58AM (#24037808)
Something like that? 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.

Re:Bjarne Stroustrup Weighs in on Distributed Systems, Type ... by steveklabnik on Monday August 03, 2020 @10:00AM (#24037848)
Yes, same concept.

C++20 added coroutines already.