Interview: Bjarne Stroustrup Discusses C++ -- William Wong

William Wong recently interviewed Bjarne Stroustrup for Electronic Design.

Interview: Bjarne Stroustrup Discusses C++

by William Wong

Much of the content will be familiar to those who've seen or read other recent interviews, but it's a nice concise summary of the essence of C++ including examples in code. If someone you know wonders why C++ was created, or what is the essence of its purpose as a language, or how modern C++ code looks and feels, this article is a good place to send them.

Add a Comment

Comments are closed.

Comments (2)

0 0

asceai said on Oct 29, 2013 01:22 PM:

I'm confused. In the interview Bjarne gives an example of returning a vector that would be optimised with move in C++11, but wouldn't it already be optimised (with RVO) even in C++98?
0 0

Bartosz Bielecki said on Oct 30, 2013 01:48 AM:

@asceai First, I believe Bjarne didn't mention NRVO due to the fact it's an optimization done by the compiler, so the C++ standard (coauthored by Bjarne) doesn't help here. Second, he probably didn't want to get to the nitty-gritty details of when an (N)RVO can be applied which greatly scares a developer who doesn't know whether the 10MB table will be copied. Rvalue semantics works always, so that's a guarantee he can make.