News

Explicit Is Better Than Implicit -- K-ballo

tales-of-cpp.PNGTales of C++, Episode 5:

Explicit Is Better Than Implicit

The Zen of Python tell us that Explicit is better than Implicit. This is good advice for any and all languages, but what are the implications in the C++ lands? There is one particular C++ feature that relates directly to that advice; one important enough that grants on its own the introduction of a keyword. That feature is user-defined conversions and that keyword is explicit.

C++ and Beyond 2013 is sold out

cb13-soldout.pngAs interest in C++ continues to increase, not only are we seeing more C++ events, but they’re selling out quickly. This spring, both the Clang/LLVM developer conference and C++ Now 2013 (formerly BoostCon) were sold out long in advance.

Today, C++ and Beyond 2013 reported it has sold out nearly six months in advance. A waitlist is available.

If you missed registering for C++ and Beyond, check out additional C++ events coming up around the world in the Upcoming Events section on the sidebar. More major C++ events in Fall 2013 will be announced shortly...

LLVM 3.3 is released!

You can download either the source or prebuilt executables from the LLVM web site

Clang 3.3 includes full C++11 support, as well as a suite of run-time checkers to help find bugs in your programs.

For more information, check out the release notes for LLVM and for Clang

Meeting C++ 2013 full schedule is available

meeting-c++.PNGThe complete schedule has now been posted for the Meeting C++ conference to be held on November 8-9 in Düsseldorf, Germany.

The conference includes talks by ISO C++ standards committee members like Eric Niebler, Peter Sommearlad, Peter Gottschling, and more. Here are a just a few highlights:

  • Keynote: C++11 and No-Compromise Library Design (Eric Niebler)
  • Simpler Code through C++11 (Peter Sommerlad)
  • Scaling with C++11 (Edouard Alligand)
  • Modern C++ Network Programming (Glyn Matthews)
  • UI prototyping and development for multiple devices in C++ (John Thomas)
  • C++1y: Concepts Lite (Peter Sommerlad)

See the announcement for additional interesting talks.

 

C++11: The Future Is Here -- Bjarne Stroustrup

stroustrup-accu2013.PNGStroustrup's ACCU keynote video is now available online.

C++11: The Future Is Here

Bjarne Stroustrup

Summary: Bjarne Stroustrup keynotes on what C++ is in general, how C++11 makes simple things even simpler, resource management, generic programming, and concurrency.

Regular Expressions 101: Regex in C++11 -- Brian Overland

overland_brian_c.jpgNew at InformIT:

Regular Expressions 101: Regex in C++11

by Brian Overland

From the article:

... You don't really need to know how it works. In fact, you only need to know a few things:

  • The regular expression grammar used by the C++11 regex library functions
  • The relevant C++11 functions and how to call them

The first part of this article focuses on the default regex grammar used in C++11: the ECMAScript grammar. You'll generally want to use ECMAScript, because it provides powerful capabilities while being easy to use. For simplicity, I'll focus on this grammar. ...

GotW #93 Solution: Auto Variables, Part 2 -- Herb Sutter

The solution to the latest GotW problem is now available:

GotW #93 Solution: Auto Variables, Part 2

by Herb Sutter

From the article:

As you worked through these cases, perhaps you noticed a pattern: The cases are mostly very different, but what they have in common is that they illustrate reason after reason motivating why (and how) to use auto to declare variables.

Let’s dig in and see...

When Is It Safe to Move an Object Instead of Copying It? -- Andrew Koenig

andy1.jpgARK's latest, hot off the press:

When Is It Safe to Move an Object Instead of Copying It?

by Andrew Koenig

From the article:

Last week, I introduced the idea of moving objects, and explained that moving an object is usually better than copying it if the original is not going to be used again. Now I'd like to explain how the compiler can figure out during compilation when to move objects instead of copying them.

As is so often the case with such problems, the obvious solution is wrong. Consider this code fragment: ...

Core C++, 8 and 9: From do-while to variadic array sorter to lambdas -- Stephan T. Lavavej

core-8-9.PNGThe two latest C++ lectures by Stephan T. Lavavej, the eponymous STL, are now available:

Core C++, 8 of n

In part 8, STL digs into the do-while loop, casts, one definition rule (ODR), and his variadic template array sorter. There is a lot of information in this episode, so get comfortable, tune in, and learn.

Core C++, 9 of n

In part 9, STL digs into lambdas and other expressions. Lambdas are very useful and you've no doubt been enjoying them in your modern C++ programming. As you can imagine, STL will go deep and teach you things about lambdas that you may not know. You'll also learn a lot about order of precedence and associativity for expressions in only the way Stephan can teach you (thorough treatment). Tune in.