Skip to content

Instantly share code, notes, and snippets.

@ocornut
Last active December 7, 2024 17:24
Show Gist options
  • Save ocornut/cb980ea183e848685a36 to your computer and use it in GitHub Desktop.
Save ocornut/cb980ea183e848685a36 to your computer and use it in GitHub Desktop.

Memory Optimization (Christer Ericson, GDC 2003)
http://realtimecollisiondetection.net/pubs/GDC03_Ericson_Memory_Optimization.ppt

Cache coherency primer (Fabian Giesen)
https://fgiesen.wordpress.com/2014/07/07/cache-coherency/

Code Clinic 2015: How to Write Code the Compiler Can Actually Optimize (Mike Acton)
http://gdcvault.com/play/1021866/Code-Clinic-2015-How-to

Gallery of Processor Cache Effects
http://igoro.com/archive/gallery-of-processor-cache-effects/

CppCon 2014: Mike Acton "Data-Oriented Design and C++"
https://www.youtube.com/watch?v=rX0ItVEVjHc

What's New in CPUs Since the 80s and How Does It Affect Programmers?
http://danluu.com/new-cpu-features/

Relative Memory Access speeds (short interactive thing)
http://www.overbyte.com.au/misc/Lesson3/CacheFun.html

CPU Caches and Why You Care, Effective Modern C++ and more (Scott Meyers)
http://www.aristeia.com/TalkNotes/ACCU2011_CPUCaches.pdf
http://www.aristeia.com/videos.html

Modern C++: What You Need to Know
https://www.youtube.com/watch?v=1oHEYk6xuvQ&feature=youtu.be&t=23m30s

Handmade Hero Day 112 - A Mental Model of CPU Performance
https://www.youtube.com/watch?v=qin-Eps3U_E

Optimizing software in C++ (Agner Fog)
http://agner.org/optimize/optimizing_cpp.pdf

Physics Optimization Strategies (Sergiy Migdalskiy, Valve, GDC 2015)
http://media.steampowered.com/apps/valve/2015/Migdalskiy_Sergiy_Physics_Optimization_Strategies.pdf

Modern Microprocessors, a 90 minutes guide
http://www.lighterra.com/papers/modernmicroprocessors/

Native Code Performance and Memory: The Elephant in the CPU
https://channel9.msdn.com/Events/Build/2013/4-329

Intel's Overview of cache
https://web.archive.org/web/20070211091515/http://download.intel.com/design/intarch/papers/cache6.pdf (was http://download.intel.com/design/intarch/papers/cache6.pdf)

What every programmer should know about memory
http://lwn.net/Articles/250967/

Data Oriented Design Resources (a curated list of data oriented design resources):
https://github.com/taylor001/data-oriented-design

Chandler Carruth - Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!
https://www.youtube.com/watch?v=nXaxk27zwlk

Andrei Alexandrescu - Writing Fast Code - code::dive conference 2015
https://www.youtube.com/watch?v=vrfYLlR8X8k and https://www.youtube.com/watch?v=9tvbz8CSI8M

Ulrich Drepper - Utilizing the other 80% of your system's performance: Starting with Vectorization
https://www.youtube.com/watch?v=DXPfE2jGqg0

Keith O'Conor - Know Your Architecture: Performance Programming for Gamedev Students
http://fragmentbuffer.com/docs/PerformanceProgramming.pdf

Vectorization (SIMD) and Scaling | James Reinders, Intel
https://www.youtube.com/watch?v=hyZMssi_gZY

A Crash Course in Modern Hardware by Cliff Click
https://www.youtube.com/watch?v=OFgxAFdxYAQ

@mmozeiko
Copy link

Physics Optimization Strategies (Sergiy Migdalskiy, Valve, GDC 2015)

@gpakosz
Copy link

gpakosz commented Sep 20, 2015

Efficiency with Algorithms, Performance with Data Structure ( Chandler Carruth, Google, CppCon 2014)

@gpakosz
Copy link

gpakosz commented Sep 20, 2015

Performance Optimization, SIMD and Cache (Sergiy Migdalskiy, Valve) — rehash of Sergiy Migdalskiy GDC 2015 talk: Performance Optimization for Physics

@MattPD
Copy link

MattPD commented Oct 2, 2015

CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"
https://www.youtube.com/watch?v=nXaxk27zwlk

@MattPD
Copy link

MattPD commented Dec 8, 2015

There's also Data Oriented Design Resources (a curated list of data oriented design resources):
https://github.com/taylor001/data-oriented-design

@MattPD
Copy link

MattPD commented Jan 18, 2016

Andrei Alexandrescu - Writing Fast Code - code::dive conference 2015

Ulrich Drepper - Utilizing the other 80% of your system's performance: Starting with Vectorization - Applicative 2015
https://www.youtube.com/watch?v=DXPfE2jGqg0

Copy link

ghost commented Feb 16, 2016

Keith O'Conor - Know Your Architecture: Performance Programming for Gamedev Students
http://fragmentbuffer.com/docs/PerformanceProgramming.pdf

@oboff
Copy link

oboff commented Aug 21, 2016

Vectorization (SIMD) and Scaling | James Reinders, Intel
https://www.youtube.com/watch?v=hyZMssi_gZY

@annartum
Copy link

A Crash Course in Modern Hardware by Cliff Click
https://www.youtube.com/watch?v=OFgxAFdxYAQ

@swarupsahoo
Copy link

@ocornut
Copy link
Author

ocornut commented Mar 1, 2019

Added and fixed the above, thanks all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment