r/cpp • u/tcbrindle Flux • Feb 23 '17
The C++17 Lands
https://fearlesscoder.blogspot.co.uk/2017/02/the-c17-lands.html11
u/mr_snowf1ake Feb 23 '17
This is fantastic. I think my fav is either "friend", "nest of the cute long long", or the "mysterious sfinae scroll". By the way, what do the labels on the compass rose represent?
2
u/ZMeson Embedded Developer Feb 23 '17
I would like to know too.
I was thinking "B" being a predecessor language and "Ch" being a interpreted version of C++. While "r" is a language, it is not really related to C++ at all. And "Ttb" isn't a language as far as I know. So I'm probably going down the wrong road with this train of thought.
3
u/FastACC Feb 23 '17 edited Feb 23 '17
its not Ch. but Eh., probably exception handling, and its not R but F, no idea for the Ttb.
3
u/alenacpp Feb 24 '17
Not even close :-)
(The letters are F, B, Eh and Ttb)
3
u/ZMeson Embedded Developer Feb 24 '17
OK, so you're the author of the image. What do all those mean?
Ttb = (Intel) Threading Building Blocks?
Eh = Exception handling?
2
u/FastACC Feb 25 '17 edited Feb 25 '17
It could represents iterator behavior:
F and B => forward/backward
Eh. => Exception handling if invalid
Ttb. => unsure: type trait bidirectional or as we are iterating a map something linked to the binary tree.1
1
2
8
u/ZMeson Embedded Developer Feb 23 '17 edited Feb 23 '17
Truely awesome. I think we'd all do things a little different -- which is OK. The map doesn't need changing, but I'm curious how redditors would have changed the map. Here's the small changes I would have made:
Add a statue of a Moses-like figure holding tablets titled "Meyer's Effective Rules"
Had a corner in the South West separated by a mountain range titled "Fairer Pastures" and put a road going over the mountain range. On that road, I would have put a carriage titled "Alexandrescu and Meyers".
Considered having istream coming from a mountain to Ios Lake and leave ostream going out to sea. Of course, I don't know how iostream would fit in there then.
Made the dragon more fierce.
Put bugs of different varieties in more locations. (Only one needs a label though.)
Add a "Testing grounds" area with mentions of Catch, Google Test, Google Mock, Fake-It, and an aging CppUnit.
Replace the "WTL" ship with at least one of the following: SFML, Cinder, pugixml, Xerces, and/or fmtlib.
4
u/dodheim Feb 23 '17
On that road, I would have put a carriage titled "Alexandrescu and Meyers".
And Abrahams. :-[
2
u/ZMeson Embedded Developer Feb 24 '17
I know he's working on Swift for Apple, but does that mean he's not involved anymore with C++ at all? If so, that is indeed a bummer.
4
u/STL MSVC STL Dev Feb 24 '17
Abrahams hasn't participated in C++ Standardization for a long time. He stopped around the time I started attending meetings (circa 2012, I think).
0
1
3
u/cpp_dev Modern C++ apprentice Feb 24 '17
optional and variant capitulated, they are part of C++17.
1
1
1
u/rohbotics Student and Roboticist Feb 24 '17
Why Alexandrescu?
2
u/ZMeson Embedded Developer Feb 24 '17
He's not really involved in C++ anymore. He's become the main D evangelist.
2
u/banedeath Feb 24 '17
Anyone wanna talk about c17 random memory corruption? I haven't heard of this
1
1
u/tomilovanatoliy Feb 23 '17
What is the latest addition? "Template argument deduction for class templates"?
1
1
-10
u/quad99 Feb 23 '17
3
0
Feb 23 '17
[deleted]
17
16
u/tcbrindle Flux Feb 23 '17
I'm sure most people have seen Elena Sagalaeva's well-known C++ maps before. She's now updated them for C++17.
For comparison, here's the C++03 version and the C++11 version.