mouse0w0 / mouse0w0.github.io

https://mouse0w0.github.io
5 stars 0 forks source link

游戏引擎多线程架构研究 | 耗子的博客 #40

Closed mouse0w0 closed 4 years ago

mouse0w0 commented 4 years ago

https://mouse0w0.github.io/2019/11/18/Research-on-Game-Engine-Multi-threading-Architecture/

传统游戏开发过程中使用的多是单线程游戏循环,使得游戏在元素较多时面临性能问题。而由于摩尔定律,芯片在单核心频率上的提升愈发困难,转而向多核心发现发展。因此解决游戏性能问题唯有做好多线程设计,提高CPU多核性能运用。最近在开发体素沙盒游戏引擎的过程中,对游戏引擎的多线程架构做了很多思考和设计,最终还是深觉实体组件系统(Entity-Component-System)架构最适合游戏引擎的高性能应用。接