suu / tags / andrei alexandrescu

Tagged with “andrei alexandrescu” (4) activity chart

  1. Going Native 2012 - Interactive Panel: Ask Us Anything Day 2

    To end the event, why not have all the speakers on stage to answer any questions you may have, ones that formed as your mind was bent over the last 48 hours. Here are some C++ titans in front of you - what are you going to ask them? What do you want to know? Ask the GoingNative 2012 speakers anything (within reason and subject to destruction by the moderator ). There should be lots to talk about. Don’t be shy!

    This is an interactive panel. This means you, the attendee in the room or online, will be first class members of the conversation - you drive it. You ask the questions. The theme has been provided. Where do you want to take it? It’s up to you.

    —Huffduffed by suu one year ago

  2. Going Native 2012 - Static If I Had a Hammer by Andrei Alexandrescu

    Andrei Alexandrescu All right, the C++11 Standard is done. Can we go home? Definitely not - progress waits for no one.

    For all its might, C++11 is not addressing a few basic needs in template programming. For example, you’d hate to have to define a new function or indeed a whole new class wherever you need an "if" statement; yet, this is exactly what we do for template code. Also, conditional overloading using the likes of std::enable_if is syntactically bulky and semantically ham-fisted (as is visible with constructors and other special functions).

    This talk describes a new proposal (joint work with Herb Sutter and Walter Bright): a "static if" construct that works much like "if", just during compilation. It’s reminiscent of #if, just done copiously right.

    With "static if" a lot of generic code becomes radically simpler, which in turn enables idioms that today are too complex to be usable. This proposal for C++ benefits from a large body of experience within the D programming language.

    —Huffduffed by suu one year ago

  3. Going Native 2012 - Interactive Panel: The Importance of Being Native

    In 2011, we saw a resurgence of interest in native code - in C++ in 2011 and in C++11. Is this "C++ Renaissance" a flash in the pan? Is it a long-term trend?

    This is an interactive panel. This means you, the attendee in the room or online, will be first class members of the conversation - you drive it. You ask the questions. The theme has been provided. Where do you want to take it? It’s up to you.

    —Huffduffed by suu one year ago

  4. Going Native 2012 - Variadic Templates are Funadic - Andrei Alexandrescu

    Variadic templates are arguably the most profound change in the core language brought about by C++11. Curiously, however, the C++ community still tiptoes carefully around them: variadic templates enjoyed less coverage than features such as "auto" or lambdas. Part of the reason is that more popular features simplify expression of existing designs, which makes said features easier to understand and use.

    Variadic templates, however, not only simplify design and use of advanced libraries such as Boost MPL, but also enable a host of new uses.

    This talk provides a solid coverage of variadic fundamentals, including typelists, the archetypal "safe printf" mechanics, and tuple construction and access. It also discusses more advanced uses, such as structured argument lists.

    —Huffduffed by suu one year ago