CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
What it is
Matt Godbolt builds a toy path tracer in C++ in three different styles and compares them on clarity, testability, compile time and run-time performance. The talk was given at CppCon 2019.
Why Hacker News recommends it
HN points to it as a concrete demonstration of object-oriented versus cache-friendly design and the performance effects of branch misprediction.
- 1 people recommended it
- 1 different months
- 1 strong recommendations
- first 2019, last 2025
What HN commenters said
“On OOP versus more cache friendly approaches and branch prediction this talk from CPPCon 2019 is great”
Compares OOP and data-oriented design, with branch misprediction effects.
meheleventyone, 2019-10 · Strong recommendation · in “Mispredicted branches can multiply your running times”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: c++, path tracing, data-oriented design, branch prediction, cache
Also recommended by the same people
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkLexical Scanning in Go - Rob PikeGoogleFOSSSydney · 13 HN recommenders · 2012–2025
talkCppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”CppCon · 9 HN recommenders · 2018–2026
talkRustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine WestRust Programming Language · 9 HN recommenders · 2018–2023
talkCppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon · 13 HN recommenders · 2016–2024
talkIdeas about a new programming language for games.Jonathan Blow · 7 HN recommenders · 2014–2025
talkCppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon · 9 HN recommenders · 2015–2026
talkHow I program CEskil Steenberg · 8 HN recommenders · 2017–2025