Path Tracing in C++: Three Styles Compared
CppCon · Talk · YouTube title: CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”
Why it's here
HN points to it as a concrete demonstration of object-oriented versus cache-friendly design and the performance effects of branch misprediction.
What it covers
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.