YouTube home Comedy Week on YouTube
Upload

Bjarne Stroustrup: How C++ Combats Global Warming

bigthink bigthink·9,177 videos
479,801
14,765
Like     Dislike 9

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like bigthink's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike bigthink's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add bigthink's video to your playlist.

Uploaded on Jun 13, 2011

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

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Top Comments

  • jacoblister

    His head has wings!

    · 48

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate jacoblister's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate jacoblister's comment.
    in reply to canufi (Show the comment)
  • Borislav Mitev

    And so is C++'s efficiency and speed.

    · 5

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Borislav Mitev's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Borislav Mitev's comment.
    in reply to canufi (Show the comment)

All Comments (103)

Sign in now to post a comment!
  • Keylogger27328

    Asm runs faster and uses a lot less space. C++ is good for high level programming though.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Keylogger27328's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Keylogger27328's comment.
    in reply to Borislav Mitev (Show the comment)
  • Leaf682

    Optimizing is CHANGING, REMOVING, AND adding code, not just adding code. If you simply add more code without changing or removing anything logic will tell you that it reduces performance for that block because there is one more command there than before. Would you like me to explain how something else works, or do you understand basic logic now?

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.
    in reply to micro5eb (Show the comment)
  • micro5eb

    "If you add more code then it will reduce performance"

    Bullshit. Create a simple program that does a task like generating prime numbers. Next, add optimisations. Is your code longer? If the answer is no then you aren't optimising, you are refactoring, or your algorithm was useless to begin with.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate micro5eb's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate micro5eb's comment.
    in reply to Leaf682 (Show the comment)
  • ariscop

    Of the 4 of you, i wonder who was writing C++ and who was writing C with a C++ compiler.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ariscop's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ariscop's comment.
    in reply to nejtilsvampe (Show the comment)
  • Jerry Ku

    Less server farms, less electricity used up, less global warming. Good. More money saved by the owner of the server farms, he then spends that money on a bigger house and bigger car. D'oh! Back to square one.

    · 2

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Jerry Ku's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Jerry Ku's comment.
  • nejtilsvampe

    As an electrical engineering student, C++ is extremely useful. Whenever you're dealing with software that is supposed to work with hardware, C++ is really good.

    Basicly, every programming language is a tool. You use different tools for different tasks.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate nejtilsvampe's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate nejtilsvampe's comment.
    in reply to Erik Johansson Andersson (Show the comment)
  • Leaf682

    C++ wouldn't be called C++ if it there was nothing different, it would just be called C. C++ has more features (i.e. classes, etc.) therefore, using those features slows down the language. I'm not saying it's noticeable, but it's still there.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.
    in reply to bajan13k (Show the comment)
  • bajan13k

    ...but C is a subset of C++, so it's not really faster (i.e. the code it generates doesn't run any faster because of the language), you can use the same idioms.

    You can do inline ASM in either if you're really that speed sensitive.

    As for writing programs, how long it takes to write depends on the programmer more so than the language, if it is C vs. C++. Again, you can just use C++ as if it was "a better C".

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate bajan13k's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate bajan13k's comment.
    in reply to Leaf682 (Show the comment)
  • Leaf682

    Nonsense, basic logic will tell you that if you add more code, it will reduce performance. This may or may not be noticeable, but that's not the point. The point is, C is faster than C++ , even if it's only slightly faster, but for some applications (like calculations on super computers) the difference matters, and they'd use C instead.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Leaf682's comment.
    in reply to Erik Johansson Andersson (Show the comment)
  • y35n00b5

    Languages change constantly, syntax rarely does.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate y35n00b5's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate y35n00b5's comment.
    in reply to Erik Johansson Andersson (Show the comment)
  • Loading comment...
Loading...
Advertisement
Loading...
Working...
Sign in to add this to Watch Later