CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"
CppCon3 HN recommenders · recommended in 3 months, 2015–2020
talk · advanced · evergreen · 2015–2020 on HN
Chandler Carruth walks through tuning C++ performance, from writing benchmarks to analyzing results on real CPUs and compilers. It focuses on small-scale problems such as loop kernels, data structures and algorithms, and on keeping compilers from optimizing b…
HN recommends it as an eye-opening primer on benchmarking and performance analysis, especially for people who have not benchmarked on Linux.
Up next
3 mo on HNRun containers on bare metal already!
Bryan Cantrill
3 HN recommender · 2015–2025
6 mo on HNZebras All the Way Down - Bryan Cantrill, Uptime 2017
Code & Supply
6 HN recommender · 2018–2025
7 mo on HNPrinciples of Technology Leadership | Bryan Cantrill | Monktoberfest 2017
RedMonk Tech Events
9 HN recommender · 2018–2025
5 mo on HNBryan Cantrill from Joyent on Manta: internet-facing object storage facility that features compute
AI Council
4 HN recommender · 2014–2026
6 mo on HN"Voice Driven Development: Who needs a keyboard anyway?" by Emily Shea
Strange Loop Conference
5 HN recommender · 2020–2023
3 mo on HNMaciej Ceglowski - Barely succeed! It's easier!
webdirections
3 HN recommender · 2015–2020
2 mo on HNThe Material Science of Metal 3D Printing
Real Engineering
3 HN recommender · 2019–2024
2 mo on HNThe Forgotten Art of Structured Programming - Kevlin Henney [C++ on Sea 2019]
cpponsea
2 HN recommender · 2021–2022
16 mo on HNHow Python was Shaped by leaky Internals, Armin Ronacher, Flask framework
Видео с мероприятий {speach!
15 HN recommender · 2017–2025
11 mo on HNCppCon 2015: Andrei Alexandrescu “std::allocator...”
CppCon
7 HN recommender · 2017–2025
12 mo on HNPreventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc)
DevGAMM
14 HN recommender · 2020–2025
10 mo on HN"Performance Matters" by Emery Berger
Strange Loop Conference
12 HN recommender · 2019–2025
4 comments from Hacker News
Here's a few: - "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!" ▶ this video - "Understanding Compiler Optimization" link - "Optimizing the Emergent Structures of C++" link - "Efficiency with Algorithms" link The first one is really good if you've never benchmarked anything in a Linux environment. Or if you otherwise want to learn how to investigate how C++ gets turned into machine code.
There is a very interesting talk [1] by Chandler Carruth that I stumbled upon last weekend that is very much related to this [1] ▶ this video
Interestingly, there's quite a bit that's needed to ensure you bypass some compiler optimizations. Here's an ey-opening (for me) talk[1] on benchmarking C++ and compilers which touched on it. 1: ▶ this video
> Anecdote: Optimum C blew away all the other C compilers on a magazine benchmark article because it figured out that the benchmark code did nothing and deleted it. I remember this problem being discussed in a CPPCon talk a few years ago, and some ways to "trick" the (modern) compilers into not optimising away the benchmark code - I think it was Chandler Carruth's "Tuning C++" talk: ▶ this video