Chapter 28

Data-Oriented Design

While object-oriented programming has been the dominant form of programming taught over the past four decades, it may surprise you to learn that object-oriented code doesn’t work at all well with modern memory architecture or multi-threaded computer processors. The alternative is data-oriented design. While not necessary in most projects, when needed, Unity’s Data-Oriented Tech Stack can cause code execution speed to increase by up to one thousand times!

In this chapter you will learn about DOTS and get a glimpse of the possible future of programming, along with a DOTS code tutorial.

The Theory of Data-Oriented Design

Data-Oriented Design (DOD) is not new, but it has seen a resurgence over the last two decades, ...

Get Introduction to Game Design, Prototyping, and Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.