News for hackers. Stuff that matters.
Re:The Repeated Deaths of OOP (2015) by hgs3 on Sunday June 06, 2021 @10:04AM (#27413230)
> I know of no ECS languages.

Any language with mixins and reflection can do ECS. e.g. Use mixins (components) and reflection to check which mixins an object (entity) has, then executing a code path (system) based upon that answer. Many dynamic languages, like Ruby, support this combination of features. I think the issue is many game developers work in C++ which lacks them.

There is a school of thought that design patterns are actually missing language features [1]. ECS seems like a text book case.

[1] http://wiki.c2.com/?AreDesignPatternsMissingLanguageFeatures

Re:The Repeated Deaths of OOP (2015) by anonymoushn on Sunday June 06, 2021 @12:23PM (#27414165)
ECS is commonly implemented without reflection. What are these implementations missing?
Re:The Repeated Deaths of OOP (2015) by hgs3 on Sunday June 06, 2021 @03:31PM (#27415615)
If the language in question has decent reflective capabilities, then I'd question why they don't use it. Perhaps they ran some benchmarks and found the language runtime performance lacking or maybe they are implementing the ECS pattern to the letter (e.g. using an integer to represent an "entity") as opposed to implementing ECS as a concept.