Simple Code, High Performance
What it is
Casey Muratori's University of Twente guest lecture is a case study in how straightforward code can cut thousands of lines and tens of seconds of runtime down to a few dozen lines running in under a second. It uses concrete examples to show why software is often an order of magnitude slower than it should be.
Why Hacker News recommends it
HN people recommend it to anyone wanting a practical sense of what CPUs can really do and why abstraction layers cost so much performance.
- 6 people recommended it
- 6 different months
- 3 strong recommendations
- first 2021, last 2025
What HN commenters said
“Casey Muratori's (who has been on here a lot lately) talk nails it [1]”
Explains developers don't realise how fast code could run
DrBazza, 2021-11 · Strong recommendation · in “An Epic future for SPJ”
“I highly recommend watching it.”
Practical, high-level understanding of CPU architecture and SIMD optimization
mrv_asura, 2022-03 · Strong recommendation · in “Algorithms for Modern Hardware”
“Casey Muratori's talks[0] on performance and optimization sparked an interest in me to start putting thought into what the CPU actually does”
Sparked interest in what the CPU actually does
Pr0ject217, 2022-12 · Strong recommendation · in “What we can learn from vintage computing”
“Here Casy explains a grass planting algorithm for games, where white noise wouldn't be suitable.”
Grass planting algorithm showing blue noise in games
ocharles, 2021-12 · Recommendation · in “Why can’t you design noise in frequency space?”
“I'd recommend two talks that come with a very different perspective from what you usually hear”
Shows what optimal performance looks like via grass planting optimization
mtzet, 2024-03 · Recommendation · in “Ask HN: How can I learn about performance optimization?”
“Casey Muratori started a whole educational webseries about this”
Educational series on hardware getting faster while user experience stays the same
kleiba, 2024-11 · Recommendation · in “I Waited 10B Cycles and All I Got Was This Loading Screen”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: optimization, simd, cpu architecture, casey muratori, game programming, abstraction cost
Also recommended by the same people
tutorialHandmade Hero Day 021 - Loading Game Code DynamicallyMolly Rocket · 2 HN recommenders · 2021–2024
talkCppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon · 9 HN recommenders · 2015–2026
explainerBut what is a neural network? | Deep learning chapter 13Blue1Brown · 16 HN recommenders · 2017–2025
talkHow Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach! · 15 HN recommenders · 2017–2025
talkCppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon · 7 HN recommenders · 2017–2025
talkPreventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc)DevGAMM · 14 HN recommenders · 2020–2025
talk"Performance Matters" by Emery BergerStrange Loop Conference · 12 HN recommenders · 2019–2025
talkThe Thirty Million Line ProblemMolly Rocket · 11 HN recommenders · 2018–2024