Been hearing a lot about ECS in rust - are there any good resources for looking at why this is a useful pattern? Most mentions of it are wrt: games engines, and was wondering for its applications elsewhere? @rustlang @steveklabnik
-
-
Replying to @Andysomniac @rustlang
Raph Levien did a pretty cool talk on how he's applying ECS patterns to GUI applications: https://www.youtube.com/watch?v=4YTfxresvS8 …
1 reply 0 retweets 5 likes -
The key thing I took away from discussions on this topic with
@raphlinus is the benefit in Rust in separating the different concerns of a widget into different structures. Not fully ECS, perhaps, but not the bag of mutable state you usually find in a widget class.1 reply 0 retweets 2 likes
What @robtsuk said. I'd say it's an application of "data oriented design," which I think is very generally useful in Rust (as an alternative to interior mutability). I'm also interested in a more rigorous ECS approach, but that needs more thought to be applied outside games.
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.