A Study of Execution Performance for Rust-Based Object vs Data Oriented Architectures
Technical Report,01 Sep 2018,26 Mar 2020
Air Force Institute Of Technology Wright-Patterson AFB United States
Pagination or Media Count:
To investigate the Data-Oriented Design DOD paradigm, in particular, an architecture built off its principles the Entity-Component-System ECS. ECS is commonly used by video game engines due to its ability to store data in a way that is optimal for the cache to access. Additionally, the structure of this paradigm produces a code-base that is simple to parallelize as the workload can be distributed across a thread-pool based on the data used with little to no need for data safety measures such as mutexes and locks. A final benefit, although not easily measured, is that the DOD paradigm produces a highly decoupled code-base, resulting in more easily maintainable and extensible code.
- Computer Hardware