ECS is really interesting as a system architecture. But it's very much still in the "React in 2012 without contexts or hooks" phase -- lots of boilerplate and passing data around, at least in Rust/Bevy.
-
-
Show this thread
-
(I realized ECS is not very googleable -- it stands for "entity-component-system".)
Show this thread
End of conversation
New conversation -
-
-
CBOO vs functional strikes again
@StefanKarpinskiThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I feel like ECS is a hacky workaround for a language’s lack of extensible records in the same way the “visitor pattern” is a hacky workaround for a language’s lack of algebraic data types and pattern matching. Or is there something else there?
-
I’ve never seen a language with extensible records, so can’t say 100%. I searched and found Elm, but it just lets you define type aliases. You would need structural subtyping to make that work as traits do. Are you thinking of a specific lang?
- Show replies
New conversation -
-
-
"You can have it all: abstraction and good cache performance" was an interesting paper relevant to this, attempting to abstract over SoA vs AoS styles of programming: https://www.doc.ic.ac.uk/~scd/ShapesOnwards.pdf …
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD