Hasta la próxima

Data-Oriented Entity Component System (in Godot)

0 vistas· 24/08/25
lopescar
lopescar
Suscriptores
0
En

In this video I will successfully gaslight (read: propagandize) you into loving Data-Oriented Design & pointer arithmetic, and despising RAII, all under the guise of implementing an ECS for Godot. THESE are the fruits of working in C; I am a river to my people!

Update 08/04/2025: I released a follow-up to this video covering why the multi-threaded code wasn't faster & addressing a HUGE BUG that I didn't catch that caused part of my code to be inappropriately fast. Please enjoy: https://youtu.be/YDfKZp3H84Q

Project Repo:
https://github.com/natsu-anon/ecs-demo

C++ GDExtension guide:
https://docs.godotengine.org/e....n/4.4/tutorials/scri

GDREGISTER_RUNTIME_CLASS() vs GDREGISTER_CLASS()
https://github.com/godotengine/godot/pull/82554

gingerBill's Memory Allocation Strategies Articles:
https://www.gingerbill.org/ser....ies/memory-allocatio

Data-Oriented Design book by Richard Fabian:
https://www.dataorienteddesign.com/dodbook/

Channel Discord Server (memes pls):
https://discord.gg/GekejwY9RG

MUSIC:
https://youtu.be/PWHFr9KJGBk?si=62d0FEROWc_b7wQB
https://youtu.be/2bP6KhNPtF8?si=VDWSODih9l3BGWg9
https://youtu.be/ZR6liu10mDM?si=dxRhSXxOLCEypGZ9
https://youtu.be/TcLlbkIFtvA?si=jozA2QglXoxyuQ9s
https://youtu.be/Xt4q-NZmFok?si=L-aR6FRwmbAIJ95n

CHAPTERS
0:00 charmedimsure
0:15 I sell you a used 2017 toyota camry (very low miles)
1:31 ECS compared to OOP
3:34 Object Pooling
4:01 Custom Memory Allocators
5:22 SEXY FUNCTION ALERT!!!
5:37 Entities & a table
7:06 Components
7:41 System (lol lmao)
7:56 Updating Component Data
9:21 Freeing Entities & Components
10:34 ECS + Multimesh demo
11:14 Grug-Brained Multithreading
12:47 Parallel ECS demo
13:36 Data-Oriented Hyperboost
14:47 Tradeoffs
17:34 Thank you for watching!
18:51 The Baking Segment

Mostrar más

 0 Comentarios sort   Ordenar por


Hasta la próxima