Return to Video

CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"

  • Not Synced
    So Hi there, everyone.
  • Not Synced
    My name is Chandler Carruth.
  • Not Synced
    I work for Google
  • Not Synced
    I work on our C++ language platform
  • Not Synced
    I work on our C++ compilers
  • Not Synced
    specifically the CLANG and ?
  • Not Synced
    And I'm here to talk to you a little about performance.
  • Not Synced
    and efficiency, and making code fast,
  • Not Synced
    and all the different things that go into that.
  • Not Synced
    But before I do too much
  • Not Synced
    I want to give actually give you guys a little bit of a
  • Not Synced
    one might say are expectations.
  • Not Synced
    Because I have been reading the twitter feed
  • Not Synced
    from all these folks, that talk about all these crazy good questions
  • Not Synced
    I just want you guys to essentially know this is my view
  • Not Synced
    of what Performance 101 should be.
  • Not Synced
    Okay? This is going to be kind of an intro talk.
  • Not Synced
    You guys are hard core, really deep performance nuts.
  • Not Synced
    You may be a little bit bored, and please be kind,
  • Not Synced
    because I'm going to gloss over some things (:52)
  • Not Synced
  • Not Synced
    And so it's important to
  • Not Synced
    And to give you an idea of
  • Not Synced
    I have to mention, he actually wrote
  • Not Synced
    I did not actually realize thi
  • Not Synced
    We're going to come back to
  • Not Synced
    So, how many foks
  • Not Synced
    Anyone?
  • Not Synced
    It's a good book
  • Not Synced
    Okay. I actually think that the idea that software is getting
  • Not Synced
    And for a parti
  • Not Synced
    There was a pretty similar event
  • Not Synced
    how we look at computing devices
  • Not Synced
    and this event was the iPhone
  • Not Synced
    When Steve Jobs
  • Not Synced
    But he was
  • Not Synced
    Mobile was
  • Not Synced
    It took the world
  • Not Synced
    But that's what happened
  • Not Synced
    We now have to care about
  • Not Synced
    And we essentially
  • Not Synced
    You have to choose one
  • Not Synced
    We're going to choose small
  • Not Synced
    The other problem
  • Not Synced
    What do we do about the battery
  • Not Synced
    How many folks here have charged their phone today
  • Not Synced
    That's a problem.
  • Not Synced
    That's not a feature, that's a bug.
  • Not Synced
    How many
  • Not Synced
    We've entered
  • Not Synced
    Power became relevant
  • Not Synced
    Power efficient instructions
  • Not Synced
    Optimizing for power usage
  • Not Synced
    Because this is mostly total junk science.
  • Not Synced
    Here is the number one
  • Not Synced
    Finish running the program
  • Not Synced
    The faster your software runs, the lest
  • Not Synced
    If I run
  • Not Synced
    But it's not, okay?
  • Not Synced
    Here's the thing.
  • Not Synced
    We've only
  • Not Synced
    We figured out how to turn them off.
  • Not Synced
    if you have a
  • Not Synced
    the way it conserves power is by turning itself off
  • Not Synced
    The more
  • Not Synced
    So we actually want to make code faster
  • Not Synced
    There are some extreme exceptions to it
  • Not Synced
    But 99.999999% of the time
  • Not Synced
    But batteries aren't the only
  • Not Synced
    You'll note that
  • Not Synced
    The only thing it is doing is taking electricity and turning it into heat.
  • Not Synced
    That is it's job
  • Not Synced
    And unfortunately, electricity costs a lot of money
  • Not Synced
    And so power becomes very, very important
  • Not Synced
    And I find it interesting
Title:
CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
Description:

more » « less
Video Language:
English
Team:
Captions Requested

English subtitles

Incomplete

Revisions Compare revisions