hackertube.io

CppCon 2019: Matt Godbolt “Path Tracing Three Ways: A Study of C++ Style”

CppCon · talk · Watch on YouTube

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

  1. “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