// I need to

ModernizeUpgrade without breaking it RescueFix what someone else started Build NewTurn an idea into a product Reach More PeopleGet found, get used, include everyone

// Company

Case StudiesExpertiseAbout + CareersResourcesContact Book a call →
≡articleBuild New

Return of the Guru: Sutter Back for C++14

Herb Sutter is reviving Guru of the Week for C++14. What GotW is, how its graded puzzles work, and why C++ developers should follow along.

Art+Logic May 15, 20131 min read

From the Art+Logic archive · written in 2013. The tools may have moved on; the thinking still holds.

Image of Guru-Nanak-Dev-Jayanti

Due to the requirements of a long-running project, I’ve been behind the times in C++ compiler technology. I’ll soon be emerging from this cave, which is why I’m glad to discover that Herb Sutter is again picking up Guru of The Week (GotW).

I don’t think there are many who care about C++ who haven’t found their way to GotW before, but for those unfamiliar, Herb poses a set of questions about a C++ fragment he provides. He starts with a simple question for the junior gurus, and each question after is more difficult.  After readers have some time to come up with their own answers, he posts his solutions which are frequently sublime.

For those who are already familiar, the past GotWs are now being updated, making this a valuable refresher course. He’s adding entirely new questions to educate us as well.

With the many new features and changes in the latest C++ standard, and compilers becoming more complete as we speak, it’s the perfect time for GotW’s reemergence. Even more pleasing is the fact that he has decided to do this not for the C++11 standard, but to instead focus on the upcoming C++14 standard. He notes that C++14 is feature complete, and will soon be current; in fact, some compilers are already implementing its features. Besides, as he says, “C++14 is a small delta, a minor release aimed mainly at ‘completing C++11.’ And it does complete C++11…”

In any case, this is a good resource for picking up best practices, such as avoiding temporary objects or the differences in the many new initialization styles. He’s only three posts in, now is a great time to pick it up.

GotW #1

keep going

More to explore in Build New.

All Build New resources →
let's talk

Got a problem like this one?

Tell us what's stuck. A real person replies within one business day.

Talk to our team →

Talk to people who know software, not a sales script.

Your first call is with Aja, our VP of Sales. He'll help make sure you're solving the right problem. Here's what you'll cover together:

  1. What you're trying to accomplish

    The business goal first, then the technology.

  2. Possible approaches

    And the tradeoffs of each, in plain language.

  3. Risks you may not have considered

    Technical and business, before they cost you.

  4. Whether AI changes the math

    What's practical, and what's just hype for your project.

  5. Sensible next steps

    Even if the right next step is not us.

book-a-call.ics

Loading the scheduler…

Open the booking page →

Some problems are easier to explain in writing. Send us a few lines about what you're working on, and we'll reply within one business day. Helpful to include:

  1. What the software does, or should do
  2. What's stuck, or what's worrying you
  3. Any deadline or budget you have in mind
note.md

Loading the form…