Computer-Ag am WvS Blog der Computer-AG am Werner von Siemens Gymnasium Berlin

25. September 2020


Filed under: Allgemein,ECS,OOP — admin @ 14:34

Zwei aus Felix Klasse sind da, Long-Yang und ein „Neuzugang“. Angelo und Morten sind auch da.

The key difference between OOP and ECS is that in OOP, the behavior and data of an entity would all be part of the same object. In ECS, behavior and data are decoupled between components and systems.

Comment: „Sounds like C with extra steps. Dennis Ritchie strikes again.“ Author Sander Mertens „More or less. To really take advantage of ECS, you’ll want to use a specialized memory allocator and job dispatching system (more or less like what Unity did). You can write vanilla C code „the ECS way“, but having a framework that does this for you would help.“

Sander Mertens, vermutlich der: Bzw. hier: