by petke · 10y ago · 0 comments
In cpp17 we get couroutines. Its like await in c# only more general and powerful. In cpp20 we will get parallel executors. Kindof like cppamp and openmp only more general and powerful. It will bring supercomputing mainstream.
Its exciting times for cpp. There are already some experimental implementations to try out. There are also a bunch of other big features coming out. Modules, concepts, transactional memory, compile time reflection, ranges, views, etc.
People can hate on cpp all they want. I'm super excited, and think they are missing out on the future.
The claim that parallel executors bring supercomputing mainstream is puzzling to me, because OpenCL has been around for a long time, is more widely supported, and is far easier to run on e.g. GPUs than the full C++ language.
I turn to reddit for substantive C++ discussions.
EDIT: fwiw, I've found the actual cpp community to be a delight.