News for hackers. Stuff that matters.
Re:GCC is C++17 Complete by radialbrain on Thursday January 12, 2017 @06:52PM (#13387260)
As cool as this, libstdc++ is still missing a few things, including parallel algorithms (which I'm most excited about!).

https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#...

Re:GCC is C++17 Complete by gpderetta on Thursday January 12, 2017 @07:38PM (#13387502)
I didn't realise that the parallelism TS was merged into the standard. Excelent.

I'm still eagerly waiting for the Concurrency TS to be merged. As it is, without 'then', std::future is pretty useless.

Re:GCC is C++17 Complete by ot on Thursday January 12, 2017 @09:40PM (#13388004)
And with coroutines, futures are useless again :)
Re:GCC is C++17 Complete by gpderetta on Friday January 13, 2017 @06:13AM (#13389954)
Ah, that's a common misconception. Even with coroutines you still want explicit async calls and futures, otherwise if you restrict yourself only sync calls, you either have to artificially serialize operations or have to spawn artificial coroutines.

What do you do not want are explicit uses of 'future::then' and the required manual CPS transform. Instead you want a wait-for-{any,all} future operations.

Re:GCC is C++17 Complete by ot on Friday January 13, 2017 @11:49AM (#13392303)
Yes, that's what I meant, futures for control flow.
Re:GCC is C++17 Complete by 72deluxe on Friday January 13, 2017 @05:06AM (#13389716)
Stroustrup himself was quite upset with the lack of major things that made C++17. I too am waiting for parallelism to be part of the standard.
Re:GCC is C++17 Complete by generic_user on Thursday January 12, 2017 @07:26PM (#13387433)
Is there any compiler to date that has a fully developed and released parallel algorithms library? The last time I checked a lot of this work still looked like it was in the research stage.

I share your enthusiasm tho. It will probably introduce parallel code into everyday C++ projects faster then new special purpose parallel programming primitives will.

Re:GCC is C++17 Complete by radialbrain on Friday January 13, 2017 @02:10PM (#13393717)
Not that I'm aware of, but I believe HPX is mostly standards compliant: https://github.com/STEllAR-GROUP/hpx
Re:GCC is C++17 Complete by haeffin on Friday January 13, 2017 @04:10AM (#13389480)
I'm quite annoyed by announcements like this. To be complete, you have to provide a complete solution. It's really annoying with GCC that you have to check in multiple places to see which features a given release supports.
Re:GCC is C++17 Complete by gpderetta on Friday January 13, 2017 @09:32AM (#13391024)
You are right. The thing is though that you (or third parties) can implement missing library features that do not require compiler support [1], but for the language itself you have to wait for the compiler. For example, thanks to the hyperproductive STL [2], MSVC has always had a fairly up to date library, but the compiler lagged behind.

[1] For a long time libstdc++ lacked regex support, but people could get them from boost and mostly didn't care.

[2] Stephan T. Lavavej, not the library :)