Stroustrup Reveals What's New In C++ 11 305
snydeq writes "Bjarne Stroustrup discusses the latest version of C++, which, although not a major overhaul, offers many small upgrades to appeal to different areas of development. From the interview: 'I like the way move semantics will simplify the way we return large data structures from functions and improve the performance of standard-library types, such as string and vector. People in high-performance areas will appreciate the massive increase in the power of constant expressions (constexpr). Users of the standard library (and some GUI libraries) will probably find lambda expressions the most prominent feature. Everybody will use smaller new features, such as auto (deduce a variable's type from its initializer) and the range-for loop, to simplify code.'"
Re:News? (Score:5, Funny)
That said, as a professional C++ developer working in HPC, this is exciting.
Stop pretending and get back to your FORTRAN!
and in the next revision... (Score:5, Funny)
Re:I want auto! (Score:1, Funny)
Don't wonder, hover your mouse cursor over the variable and behold the glory of tooltips.
I also don't ever want to use my mouse.
Re:For my next trick (Score:2, Funny)
That's way to verbose. I overloaded the ;
Re:I want auto! (Score:5, Funny)
chances that oracle will see the light? :-)
Last time they saw the Sun, it did not end well...
Re:So what is a good book to learn C++11 (Score:5, Funny)
Dante's Inferno. Sample quote:
Obscure, profound it was, and nebulous, So that by fixing on its depths my sight - Nothing whatever I discerned therein.
Re:In practice it's like a different language. (Score:4, Funny)
That's fine, right? No more complex than the C version. Well, almost. Let's make French the target language. We want to turn 'the black cat' into French. Now we have a problem. In French, the word order is different. The result we want has the colour after the noun.
It seems like it would be a lot easier to just change the word order of the offending languages than to screw up perfectly good C++.