u/rochein r/haskell • Recommends
#chandlercarruth#cachelocality#std::unordered_map
CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"
189K subscribers • 103 videos on Hallway • Conference channel
- Recommended by 10 people: 7 on Hacker News, 1 on Lobsters, 1 in engineering communities and 1 curated list.
- A classic. People kept recommending it from 2014 to 2024.
- Presented by Chandler Carruth
- Linked in the descriptionCppCon/CppCon2014
Intermediate. Assumes working knowledge.
234K views12 years ago10 recommendations
Systems programmingComputer scienceC++Performance and optimizationData structures
Chandler Carruth explains how modern CPU architectures make data structure choice and memory layout more critical for performance than algorithmic complexity.
cppcon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2014 -- Why do you write C++ code? There is a good chance it is in part because of concerns about the performance of your software. Whether they stem from needing to run on every smaller mobile devices, squeezing the last few effects into video game, or because every watt of power in your data center costs too much, C++ programmers throughout the industry have an insatiable desire for writing high performance code. Unfortunately, even with C++, this can be really challenging. Over the past twenty years processors, memory, software libraries, and even compilers have radically changed what makes C++ code fast. Even measuring the performance of your code can be a daunting task. This talk will dig into how modern processors work, what makes them fast, and how to exploit them effectively with modern C++ code. It will teach you how modern C++ optimizers see your code today, and how that is likely to change in the coming years. It will teach you how to reason better about the performance of your code, and how to write your code so that it performs better. You will even learn some tricks about how to measure the performance of your code. -- Chandler Carruth leads the Clang team at Google, building better diagnostics, tools, and more. Previously, he worked on several pieces of Google’s distributed build system. He makes guest appearances helping to maintain a few core C++ libraries across Google’s codebase, and is active in the LLVM and Clang open source communities. He received his M.S. and B.S. in Computer Science from Wake Forest University, but disavows all knowledge of the contents of his Master’s thesis. He is regularly found drinking Cherry Coke Zero in the daytime and pontificating over a single malt scotch in the evening. -- Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctfWhy it's here
10 people recommend thisWhat people say. Engineers frequently recommend this talk to explain why contiguous memory layouts outperform node-based structures like hash maps on modern CPUs.
Moments people linked to
amakson Hacker News • Recommends
On “Std::string half of all allocations in the Chrome browser process”
slavik81on Hacker News • Recommends
On “Ask HN: How can I learn about performance optimization?”
programming-talkscurated list on GitHubRecommends
Under “C++”
yoklovon Hacker News • Recommends
On “The Care and Feeding of C++'s Dragons (2013) [video]”
sanderjdon Hacker News • Recommends
On “The Case for Controlled Side Effects”
humanrebaron Hacker News • Recommends
On “Why I don't spend time with Modern C++ anymore”
amakson Hacker News • Recommends
On “C++ for Games: Performance, Allocations and Data Locality”
adrianNon Hacker News • Recommends
On “Diving into the world of hash tables”
alexhutchesonon Hacker News • Recommends
On “On modern hardware the min-max heap beats a binary heap”
pushcxon Lobsters • Recommends
u/ewmailingin r/C_Programming • Mentions
On “Creating a Linked list library C/C++”
u/skeetoin r/C_Programming • Mentions
On “Why is there no C conference?”
Skerilyoon Stack Overflow • Mentions
On “Can I Use C++ vector insted of queue for FIFO order”
u/skeetoin r/compsci • Mentions
On “What does /r/compsci think of green computing? We've developed an online compiler that measures software energy consumption.”
u/ewmailingin r/C_Programming • Mentions
On “Dynamic array versus queuing then dequeuing into an array.”