Slashdot Mirror


Stroustrup Reveals What's New In C++ 11

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.'"

4 of 305 comments (clear)

  1. Re:News? by busyqth · · Score: 5, Funny

    That said, as a professional C++ developer working in HPC, this is exciting.

    Stop pretending and get back to your FORTRAN!

  2. and in the next revision... by busyqth · · Score: 5, Funny

    S-expressions, continuations, hygenic macros...

  3. Re:I want auto! by godrik · · Score: 5, Funny

    chances that oracle will see the light? :-)

    Last time they saw the Sun, it did not end well...

  4. Re:So what is a good book to learn C++11 by LizardKing · · Score: 4, 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.