GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
A Data-oriented Programming Paradigm for Optimal Performance
Object-oriented programming (OOP) is the most widely used programming paradigm, but OOP may not achieve optimal efficiency in computationally intensive applications due to the hardware bottlenecks shift from processor to memory. Therefore, the game industry has been worked on an alternative programming paradigm in recent years, called data-oriented programming (DOP). It aims at optimizing data storage and access patterns in order to achieve performance closed to hardware limit. This session will analyze the advantages and disadvantages of AOS/SOA storage layout for SIMD implementation. Then a design pattern called flexible table will be presented. It is flexible for storage layout and at the same time saves memory and improves performance. Finally the talk will show how these techniques are applied in games.
Did you know free users get access to 30% of content from the last 2 years?