hackertube.io

code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care

NOKIA Technology Center Wrocław · talk · Watch on YouTube

What it is

Scott Meyers explains how CPU caches work and why they matter for performance, covering cache levels, access speeds, associativity, and effects in multithreaded code. The focus is C++ and cache-aware, data-oriented programming.

Why Hacker News recommends it

HN points to it as the go-to explanation of why memory layout beats pointer-chasing structures on real hardware.

  • 3 people recommended it
  • 3 different months
  • 1 strong recommendations
  • first 2018, last 2023

What HN commenters said

  1. “They're mostly about C++ and cache aware/data oriented programming.”

    Talk on cache-aware, data-oriented programming.

    drainyard, 2018-10 · Strong recommendation · in “Ask HN: What are some of the best technical talks you've heard?”

  2. “Here is a good visualization on access speeds for each level of cache”

    Visualizes access speeds across cache levels and main memory.

    jimmy1, 2018-04 · Recommendation · in “Intel brings a six-core i9 CPU to laptops”

  3. “Scott Meyers had a very good talk which contained this information”

    Covers cache associativity and conflict misses.

    coppsilgold, 2023-04 · Recommendation · in “Beautiful branchless binary search”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: cache, performance, c++, data-oriented design, memory hierarchy

Also recommended by the same people