Session Name: | A Data-oriented Programming Paradigm for Optimal Performance |
Speaker(s): | Milo Yip |
Company Name(s): | Tencent Technology Co., Ltd. |
Track / Format: | Programming |
Did you know free users get access to 30% of content from the last 2 years?
Overview: | 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. |