DODRocketsRaylib
Raylib implementation of my CppCon 2025 keynote demo (OOP vs AoS vs SoA)
Install / Use
/learn @vittorioromeo/DODRocketsRaylibREADME
DODRocketsRaylib
This is a RayLib implementation of my CppCon 2025 keynote demo.
More Speed & Simplicity: Practical Data-Oriented Design in C++
How to build and run
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
cd ..
./build/DODRocketsRaylib.exe
Untick "Enable Rendering" and maximize rocket spawn rate + simulation time to compare the update time difference between the various memory layouts.
Consider using -DCMAKE_CXX_COMPILER=clang++ if the system version of GCC is not recent enough to compile C++20.
