Indie iPhone game development

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.

  • Digg
  • del.icio.us
  • Facebook
  • Reddit
  • StumbleUpon
  • email
  • PDF

Related posts:

  1. Data-Oriented Design (Or Why You Might Be Shooting Yourself in The Foot With OOP)
  2. Managing Data Relationships

Post Metadata

Date
December 20th, 2009

Author
Noel



1 Comments


  1. He’s hardly alone with that. I believe Mike Acton has been a rather vocal proponent of that… (http://macton.smugmug.com/gallery/8936708_T6zQX#593426709_ZX4pZ for example..)

    Now we just need a language that encourages that ;)


1 Trackbacks/Pingbacks

  1. Tweets that mention Games from Within | Great Presentation on Data-Oriented Design -- Topsy.com 21 12 09