Mike Acton Data-Oriented Design

2015/4/5 18:32

Another data related talk from cppcon:

Related Slides : http://macton.smugmug.com/gallery/8936708_T6zQX#!i=593426709&k=ZX4pZ


  • Everything is a data problem.
  • Hardware is the platform.
  • Coders job is the transform data not to write code.
  • Good to think about the transforms you are applying when you write code.
  • Keep data that is use with each other close together.
  • Bools in structs provide low information density
  • can push data out of cache lines

00:28:00 Interesting Example about cache reads, and compiler optimization space.

00:41:50 Bools in structs

01:02:00 Last minute decision making is not a good idea

From the QA at the end he mentions that Link Time Optimization and Profile Guided optimization are too slow to use in code.