Data-oriented design is a paradigm that boils down programming to transformations of data. Treating software in this way allows programmers to make better use of modern computing hardware, where transferring memory from RAM to the CPU cache is very slow and operating on large chunks of sequential ...
4
votes
1answer
453 views
A more data oriented design approach to Entity Component System game engine
I'm creating my first c++ game engine project (for learning purposes) and in it I've attempted to implement an entity/component system utilizing some data oriented design principles while also not ...
1
vote
2answers
47 views
How can I boost cache performance when storing objects in a scene with managed languages?
So, for reasons that I won't go into (has to do with my team more so than a good objective reason, unfortunately), I'm building a soft game engine in C# on top of SharpDX. C++ wasn't an option. I can'...
0
votes
1answer
206 views
Data-oriented design and Component Sytem cross-referencing
Let's assume we're talking about a game (engine) which is written in C++. This is more like a design question but I can't find any suitable description.
Component System
The Component System says ...
1
vote
1answer
114 views
How do I use data-orientated programming without object-orientated programming?
I have been reading many resources about data oriented programming, and one thing I understand about it is that it's about keeping chunks of memory together to improve performance. Other than that, I ...
3
votes
1answer
302 views
Data oriented design in physics engine
I am new to data oriented design and I am currently developing a physics engine as a hobby project. I am really interested in data orinted design but I am not sure how to apply data oriented design to ...
0
votes
2answers
530 views
Is object-oriented underestimated for game development? [closed]
I'd like to understand whether the object-oriented paradigm applied to game programming is bad, or whether it's just an urban legend.
A friend of mine is developing a game with HTML5 and Javascript ...
0
votes
2answers
288 views
How does this data oriented design retain level data, while still offering cache-wise benefits?
I'm almost sold on the concept of a data oriented engine; however, one thing still eludes me. If we pack the data from a large level into huge arrays, and go over them, any visibility system that we ...
1
vote
5answers
5k views
Entity System creating Components
Over every entity system I see implemented in C++, or even in Java/C# (e.g. the Artemis framework). I see components not allocated via a new operator (or something similar, e.g. std::make_shared). For ...
0
votes
1answer
1k views
How to resolve duplicate data in Entity Systems?
Whilst working on examples and upgrades for my C++ Entity System, something randomly caught the attention of my mind, by surprise: duplicate data. What I'm referring to is how an entity system that ...
8
votes
2answers
2k views
Example of Data Oriented Design
I can't seem to find a nice explanation of the Data Oriented Design for a generic zombie game (it's just an example, pretty common example).
Could you make an example of the Data Oriented Design on ...
6
votes
3answers
2k views
How can be data oriented programming applied for GUI system?
I've just learned basics of Data oriented programming design, but I'm not very familiar with that yet. I've also read
Pitfalls of Object Oriented Programming GCAP 09. It seems that data oriented ...