CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
-
Not SyncedSo Hi there, everyone.
-
Not SyncedMy name is Chandler Carruth.
-
Not SyncedI work for Google
-
Not SyncedI work on our C++ language platform
-
Not SyncedI work on our C++ compilers
-
Not Syncedspecifically the Clang and ?
-
Not SyncedAnd I'm here to talk to you a little about performance.
-
Not Syncedand efficiency, and making code fast,
-
Not Syncedand all the different things that go into that.
-
Not SyncedBut before I do too much
-
Not SyncedI want to give actually give you guys a little bit of a
-
Not Syncedone might say are expectations.
-
Not SyncedBecause I have been reading the twitter feed
-
Not Syncedfrom all these folks, that talk about all these crazy good questions
-
Not SyncedI just want you guys to essentially know this is my view
-
Not Syncedof what Performance 101 should be.
-
Not SyncedOkay? This is going to be kind of an intro talk.
-
Not SyncedYou guys are hard core, really deep performance nuts.
-
Not SyncedYou may be a little bit bored, and please be kind,
-
Not Syncedbecause I'm going to gloss over some things
-
Not Syncedyou could go into thoroughly if you really want to
-
Not SyncedWe're going to talk about efficiency, performance,
-
Not Syncedalgorithms and data structures.
-
Not SyncedAnd the first thing we are going to do is we're not going to talk about them.
-
Not SyncedWe're going to talk about why anyone cares about them.
-
Not SyncedHow many folks here think it's really important to have high performance in C++? Like certain that it's super important?
-
Not SyncedEveryone thinks it's important!
-
Not SyncedAnd the folks here have a really clear idea why performance is important.
-
Not SyncedNow, all the people who didn't raise their hands the second time,
-
Not SyncedPlease reconsider raising your hand the first time.
-
Not SyncedWe actually need to understand why performance is important in C++,
-
Not Syncedbefore we actually decide it's important, we're going to care a lot about it.
-
Not SyncedI'm going to tell you why I care about performance in C++.
-
Not SyncedMost of it comes down to a quote from Nicolas Werth.
-
Not SyncedWhich I will try to pronounce correctly but fail miserably.
-
Not SyncedI actually really like a lot of our stuff,
-
Not SyncedI think he really encapsulates a lot of my thoughts about the philosophy of software here.
-
Not SyncedThe software is getting slower more rapidly than (1:58)
-
Not SyncedBut that's what happened
-
Not SyncedWe now have to care about
-
Not SyncedAnd we essentially
-
Not SyncedYou have to choose one
-
Not SyncedWe're going to choose small
-
Not SyncedThe other problem
-
Not SyncedWhat do we do about the battery
-
Not SyncedHow many folks here have charged their phone today
-
Not SyncedThat's a problem.
-
Not SyncedThat's not a feature, that's a bug.
-
Not SyncedHow many
-
Not SyncedWe've entered
-
Not SyncedPower became relevant
-
Not SyncedPower efficient instructions
-
Not SyncedOptimizing for power usage
-
Not SyncedBecause this is mostly total junk science.
-
Not SyncedHere is the number one
-
Not SyncedFinish running the program
-
Not SyncedThe faster your software runs, the lest
-
Not SyncedIf I run
-
Not SyncedBut it's not, okay?
-
Not SyncedHere's the thing.
-
Not SyncedWe've only
-
Not SyncedWe figured out how to turn them off.
-
Not Syncedif you have a
-
Not Syncedthe way it conserves power is by turning itself off
-
Not SyncedThe more
-
Not SyncedSo we actually want to make code faster
-
Not SyncedThere are some extreme exceptions to it
-
Not SyncedBut 99.999999% of the time
-
Not SyncedBut batteries aren't the only
-
Not SyncedYou'll note that
-
Not SyncedThe only thing it is doing is taking electricity and turning it into heat.
-
Not SyncedThat is it's job
-
Not SyncedAnd unfortunately, electricity costs a lot of money
-
Not SyncedAnd so power becomes very, very important
-
Not SyncedAnd I find it interesting
- Title:
- CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
- Description:
-
- Video Language:
- English
- Team:
- Captions Requested
Show all