News for hackers. Stuff that matters.
Re:The Repeated Deaths of OOP (2015) by galangalalgol on Sunday June 06, 2021 @09:44AM (#27413099)
And that pattern is easy to implement in C or fortran 77 without being unidiomatic. So I don't vthing you need anything special.

Edit: to clarify, a system can just be a function, an entity just an ID and a component should be plain old data anyway, so a struct is perfect.

Re:The Repeated Deaths of OOP (2015) by ratww on Sunday June 06, 2021 @12:32PM (#27414231)
> a system can just be a function, an entity just an ID and a component should be plain old data anyway, so a struct is perfect.

Correct. This is exactly how most ECS frameworks are implemented today (except when it's implemented in languages that doesn't have those features, of course).