Optimizing Game Performance with SIMD Parallel Computing

Optimizing Game Performance with SIMD Parallel Computing

Author: Yu Yisai Part One: Introduction Game engines are filled with a large number of calculations, among which the most typical are vector operations, matrix operations, and quaternion operations. They share a common point: in most cases, data is grouped into sets of 4 numbers, with one or more calculations performed between two sets of … Read more

Implementation and Application of Vector Calculations in C++

Implementation and Application of Vector Calculations in C++

In numerical computation and scientific programming, vectors are one of the most fundamental data structures. Whether in linear algebra, computational geometry, or machine learning and engineering modeling, vector operations always play a core role. This article implements several classic vector operations based on C++ template classes and demonstrates their results through examples.1. Vector Addition and … Read more