How C++ Combats Global Warming

Question: What are the most interesting trends in technology?

Bjarne Stroustrup:
Many things are interesting these days.  The interesting thing for me is the computers they have inside it.  And so when you see things, cars driving down there, planes flying and such, you can see them as a distributed computing system with wings or distributed computing system with wheels.  

I was over in Germany earlier in the year to speak to the German automotive software conference.  And I don’t know much about programming cars, but I got an invitation to go down and see how they programmed the BMWs, which is C++, so that'll be interesting.  Not that the other weren’t, but those are cool cars.  And I’ve worked with some people up at Lockheed Martin where they build the F-35s, the new fighter planes, which is C++ also.  So I get some insight in how things are used.  

And so at the bottom of all of this is the technology of the hardware, there’s the technology of the communications stuff between it, networking, and on the hardware side what has happened a lot is the multi-cores.  You get concurrent programming both from the physical distribution and for the... what’s under the chip themselves.  And this is interesting to me because my PhD topic was distribution and concurrency and such.  So I’ve been looking at that.  So that’s interesting.  

And a lot of the most interesting applications these days fall into that category. Take our cell phones: the last time I looked there are several processes.  Take a single... take an SLR camera, it’s got five or six processors in it and the cobble in the lenses, I mean, that's some interesting code there.  And so whether you think of that as technology or gadgets.  I think of them as a gadget.  I mean a cell phone or a new jetliner, they’re gadgets.  They are things you program and there’s programs in it, there’s techniques, lots of computers.  

What I haven’t talked about much about, and what I don’t think that much about is sort of the web kind of thing and the web business.  From my perspective, that’s somebody else’s business except when the scale becomes really huge.  So you have things like the Google search engines with C++ and I get interested, they get interested.  Facebook has recently turned to C++ because they needed the performance.  I guess in some way of saying here’s my contribution to dealing with global warming because if you can double the efficiency of those systems, you don’t need yet another server farm that uses as much energy as a small town.  

So my view is that the software and there’s computers in just about everything and if you look at interesting things, well, you find it.

Recorded August 12, 2010
Interviewed by Max Miller

Stroustrup talks about exciting trends in technology and about how the efficiency of C++ is helping save the environment.

Related Articles
Playlists
Keep reading Show less

Five foods that increase your psychological well-being

These five main food groups are important for your brain's health and likely to boost the production of feel-good chemicals.

Mind & Brain

We all know eating “healthy” food is good for our physical health and can decrease our risk of developing diabetes, cancer, obesity and heart disease. What is not as well known is that eating healthy food is also good for our mental health and can decrease our risk of depression and anxiety.

Keep reading Show less

For the 99%, the lines are getting blurry

Infographics show the classes and anxieties in the supposedly classless U.S. economy.

What is the middle class now, anyway? (JEWEL SAMAD/AFP/Getty Images)
Politics & Current Affairs

For those of us who follow politics, we’re used to commentators referring to the President’s low approval rating as a surprise given the U.S.'s “booming” economy. This seeming disconnect, however, should really prompt us to reconsider the measurements by which we assess the health of an economy. With a robust U.S. stock market and GDP and low unemployment figures, it’s easy to see why some think all is well. But looking at real U.S. wages, which have remained stagnant—and have, thus, in effect gone down given rising costs from inflation—a very different picture emerges. For the 1%, the economy is booming. For the rest of us, it’s hard to even know where we stand. A recent study by Porch (a home-improvement company) of blue-collar vs. white-collar workers shows how traditional categories are becoming less distinct—the study references "new-collar" workers, who require technical certifications but not college degrees. And a set of recent infographics from CreditLoan capturing the thoughts of America’s middle class as defined by the Pew Research Center shows how confused we are.

Keep reading Show less