News for hackers. Stuff that matters.
Re:A Simple Entity Component System (2019) by robertlagrant on Wednesday August 31, 2022 @03:37PM (#32667253)
Might be a misread, but this feels a little similar to relational vs columnar databases. Relational databases store a thing's data together; columnar store a type of data together.
Re:A Simple Entity Component System (2019) by sparkie on Wednesday August 31, 2022 @03:45PM (#32667342)
A relational DB can store data however it wants, including columnar formats. The interface presented to the programmer (SQL) just abstracts away the details.

ECS are more similar to the relational model than OOP is, and do not necessarily suffer the same 'object–relational impedance mismatch'.

Re:A Simple Entity Component System (2019) by robertlagrant on Friday September 02, 2022 @02:53PM (#32694482)
I'm pretty sure a relational DB stores data per-row in a table, whereas columnar databases store data per-column. I don't know how using SQL (or not) affects this.