Refterm Lecture Part 1 - Philosophies of OptimizationNew computers don't speed up old codecode::dive conference 2014 - Scott Meyers: Cpu Caches and Why You CareCppCon 2014: Mike Acton "Data-Oriented Design and C++"11 videos · 8 hr 23 min
Playlists

Mechanical Sympathy

Curated by Claude · 11 videos · 8 hr 23 min

A path through the performance talks Hacker News keeps linking whenever someone asks why software got slow. It starts with mindset (don't do needless work), moves to the memory hierarchy and data-oriented design, then to measuring honestly, and ends with two console war stories where all of it pays off.

Play all on YouTube
  1. 1
    Video frame: Refterm Lecture Part 1 - Philosophies of Optimization18:41

    Refterm Lecture Part 1 - Philosophies of Optimization

    Molly Rocket · Picked by 10 · 2021–2026

    An 18-minute opener that separates real optimization from 'non-pessimization', the idea HN cites most often to explain why modern software is slow.

  2. 2
    Video frame: New computers don't speed up old code19:25

    New computers don't speed up old code

    Matthias random stuff · Picked by 3 · 2025

    Matthias Wandel benchmarks old and new PCs and finds branchy code barely got faster in 15 years, which is why the rest of this list matters.

  3. 3
    Video frame: code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You Care1:16:58

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

    NOKIA Technology Center Wrocław · Picked by 3 · 2018–2023

    The plain explanation of cache levels and associativity that HN points to for why memory layout beats pointer chasing.

  4. 4
    Video frame: CppCon 2014: Mike Acton "Data-Oriented Design and C++"1:27:46

    CppCon 2014: Mike Acton "Data-Oriented Design and C++"

    CppCon · Picked by 9 · 2015–2026

    With the cache model in hand, Acton's blunt argument that a program's job is transforming data lands much harder; it is HN's default data-oriented design talk.

  5. 5
    Video frame: Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)46:40

    Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)

    ChimiChanga · Picked by 4 · 2024–2026

    The practical follow-up to Acton: struct-of-arrays and compact layouts applied to a real compiler, with measured wins in Zig.

  6. 6
    Video frame: CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”59:34

    CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step”

    CppCon · Picked by 9 · 2018–2026

    One data structure redesigned around the cache, step by step; HN calls it the definitive explanation of SwissTable, now behind Rust's and Go's maps.

  7. 7
    Video frame: How to Speed up a Python Program 114,000 times.59:11

    How to Speed up a Python Program 114,000 times.

    InfoQ · Picked by 3 · 2015–2022

    Proof this is not just a C++ story: a generalist's tour of pipelining and cache effects that HN liked for its humor and hardware knowledge.

  8. 8
    Video frame: "How NOT to Measure Latency" by Gil Tene42:59

    "How NOT to Measure Latency" by Gil Tene

    Strange Loop Conference · Picked by 9 · 2015–2026

    The turn from making things fast to knowing whether they are; commenters call the coordinated omission material life changing.

  9. 9
    Video frame: "Performance Matters" by Emery Berger42:15

    "Performance Matters" by Emery Berger

    Strange Loop Conference · Picked by 12 · 2019–2025

    Shows that code layout alone can swamp your optimization, and offers causal profiling as the fix; HN's standard answer to mysterious benchmark swings.

  10. 10
    Video frame: FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)18:20

    FIXING the ENTIRE SM64 Source Code (INSANE N64 performance)

    Kaze Emanuar · Picked by 7 · 2022–2025

    Everything above applied to a real console: Kaze finds bus contention and easy wins that make Mario 64 render several times faster.

  11. 11
    Video frame: How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica31:37

    How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica

    Ars Technica · Picked by 13 · 2020–2026

    The closer and the most-recommended war story here: Andy Gavin overwriting Sony's own library code in RAM to make the game fit.