in C++, Data-oriented design, Game tech

Great Presentation on Data-Oriented Design

Memory CPU gapA few days ago, Tony Albrecht posted the slides of his presentation titled “Pitfalls of Object-Oriented Design” [1]. Even though the title is really broad and could easily be misinterpreted, it’s not just a general bash on OOD. Instead, it’s very much focused on how object-oriented design is not a good match for high-performance apps (games) on modern hardware architectures with slow memory access and deep memory hierarchies. His proposed solution: Data-oriented design. Spot on!

If you haven’t seen the presentation, go download it right now. It’s really well put together and he has some great detailed examples on how caches are affected with traditional object-oriented design vs. a more data-oriented approach.

[1] Thanks to Christer Ericson for pointing that out.

    • Hello,
      it’s 5 years since you wrote that: “Now we just need a language that encourages that”. I’ve just came over topic DOD and I like it. I would like to know, if there is such language or if any language has capabilities to write easily DOD way. Since most of current languages are focused on OOP.

Comments are closed.


  • Tweets that mention Games from Within | Great Presentation on Data-Oriented Design -- June 13, 2015

    […] This post was mentioned on Twitter by Margie and Team BuzzID, Rui Abrantes. Rui Abrantes said: object-oriented design vs. data-oriented design. For modern hardware architectures with slow memory access (eg: iphone) […]