News for hackers. Stuff that matters.
Re:Component Graph System (2017) by enbugger on Friday July 16, 2021 @11:52AM (#27857578)
>Performance-wise, some overhead may come from reference-counting the components

Well, that's what ECS gets rid of and mainly benefits from that. Doesn't returning it back mean going back to OOP? What's the point then?

Re:Component Graph System (2017) by Kinrany on Friday July 16, 2021 @03:18PM (#27860121)
I believe the main benefit is a constrained form of dynamic typing.

You don't want to lose compile-time type checking and intellisense, and you want to keep most of the performance benefits. But you want to be able to add data types without recompiling.