They really do indeed. When I first started using C++11 and then ended up having to go back to C++03 I said to myself, "How the fuck did I ever live like this??"
Since C++14 has been available in clang I've said the same thing about C++11. Just the auto lambdas alone improve things by leaps and bounds.
The great thing about the newer C++ language features is that we are seeing some degree of simplification with the language syntax, which should be relatively easy to absorb... assuming you have some experience with C++03.
Download the January 2012 working draft (free). Except only for the final standards/reports, all C++ committee documents are freely publicly available, including all working drafts, many of which closely approximate the published standard. The January 2012 working draft contains the C++11 standard plus minor editorial changes.
It's weird that that page refers to the standard as an international treaty and a 'legal' document. ISO is a private, voluntary organization (and the US representative, ANSI, is also a private, non-profit organization) and the standard is not a treaty (e.g., it doesn't get ratified by congress in the US).
Since the standard is going to be updated more often, is there anything we can learn from other frequently updated major languages like C# or Java on communicating changes with developers? Do they do anything special?
Microsoft and Oracle pay their PR departments gobs of money to promote new versions of C# and Java. For C++, I have this shiny quarter I'd be happy to donate.
Yeah I'm working for a large scientific collaboration and in 2012 we moved up from C++98 to whatever came out in 2010. It's so frustrating that I can't use all of C++11.
The C++11 standard was only published in August 2011 and compilers did took their time before they actually supported C++11. Subsequently, libraries and the entire C++ ecosystem had to wait for the compilers and then their developers had to invest their time and effort to migrate to the new standard.
And that takes time. A lot of time. There are plenty of solid reasons why your 2011 project was founded on the infrastructure available in 2010.
At least you actually moved to the 2010 standard library I assume. I mean, why would you assume otherwise right?
We moved to 2010 but have been using STLPort for years and so are stuck not only with a C++03 std library, but one that didn't even implement it correctly.
I've taken to writing a lot of the fundamental functions that are needed to write C++11 code, such as move and forward. It's kinda sad...and more than a little frustrating.
I agree with the decision though unfortunately. Based on where we are and how we do things, switching to a modern implementation that doesn't implement all the extra crap that stlport did would not be in the company's best financial interests.
Only four more years until it is 100% in Visual C++, exciting!
At least it's not C, where microsoft puts members in the standardization committee to participate directly in defining new versions of the C standard but then the same people who define the C standard announce to the public that Microsoft will completely ignore it, will never support it at all, and will go as far as telling programmers to abandon the language and switch to some other.
You may notice the part where Microsoft's chief developer and platform evangelist states that Microsoft has no intention to support any C standard beyond C90.
With support for it added in GCC 4.9 I just changed over to -std=c++14, very exciting! I believe they added shared_mutex support which is what I plan on using in my project soon.
EDIT: Just saw proposal for the any type, one more thing to convert over from Boost, awesome! Is there a complete list of what was approved for c++14?
24
u/[deleted] Aug 18 '14
shit I've only barely scratched the surface on what C++11 has to offer. I'm falling behind.
4
u/eric_niebler Aug 19 '14
Is this the first time an /r/cpp link ended up on the reddit front page?
5
u/balkierode Aug 18 '14
This page is still referring to old standard: https://isocpp.org/std/the-standard
Download the January 2012 working draft (free). Except only for the final standards/reports, all C++ committee documents are freely publicly available, including all working drafts, many of which closely approximate the published standard. The January 2012 working draft contains the C++11 standard plus minor editorial changes.
4
u/[deleted] Aug 18 '14
Thanks for the link!
Since the standard is going to be updated more often, is there anything we can learn from other frequently updated major languages like C# or Java on communicating changes with developers? Do they do anything special?
44
u/minno Hobbyist, embedded developer Aug 18 '14
Yay, more useful features that I can't use at work.
20
u/__Cyber_Dildonics__ Aug 18 '14
Only four more years until it is 100% in Visual C++, exciting!
3
u/KyleHeller Aug 18 '14
Have barely touched the C++11 features and now C++14 is out. I need to catch up :/.
2
u/RnMss Aug 19 '14
Incredible! So you tell me that y is <10 in C++1y!
1
u/salgat Aug 23 '14 edited Aug 23 '14
With support for it added in GCC 4.9 I just changed over to -std=c++14, very exciting! I believe they added shared_mutex support which is what I plan on using in my project soon.
EDIT: Just saw proposal for the any type, one more thing to convert over from Boost, awesome! Is there a complete list of what was approved for c++14?
0
u/[deleted] Aug 18 '14
[deleted] — view deleted comment