2 ms·
Their ECS implementation sounds like a full-fledged in-memory DB. Have there been serious attempts to use ECS outside of gamedev? The concepts are pretty inter
by kgeist 6y ago
Their ECS implementation sounds like a full-fledged in-memory DB.
Have there been serious attempts to use ECS outside of gamedev? The concepts are pretty interesting.
- alice-i-cecile 6y agoYou're not alone: the Bevy community's been exploring this too, both on the application side and the ECS-innovation side. The query caching is a neat trick that learns directly from DB's. Some of our most anticipated planned ECS features include secondary indexes (for things like looking up all entities in a particular cell) and relations (components that also point to another entity, inspired by FLECS[0]). 0: https://ajmmertens.medium.com/flecs-v2-3-and-v2-2-is-out-893d7888b508 https://ajmmertens.medium.com/flecs-v2-3-and-v2-2-is-out-893...
- epage 6y agoThat was the eye opener to me to understanding ECS and how to apply it, that Entities are just Primary Keys and Components are Tables in a database, just in-memory and with native types. Systems are just processing stages in attaching a feedback loop to the database