TODO 2.1 KB

123456789101112131415161718192021222324252627
  1. * long term feature: templated generic vm
  2. * long term feature: shared_ptr less locator
  3. * long term feature: shared_ptr less resource cache
  4. * custom allocators and EnTT allocator-aware in general (long term feature, I don't actually need it at the moment) - see #22
  5. * debugging tools (#60): the issue online already contains interesting tips on this, look at it
  6. * runner proposal: https://en.wikipedia.org/wiki/Fork%E2%80%93join_model https://slide-rs.github.io/specs/03_dispatcher.html
  7. * work stealing job system (see #100)
  8. - mt scheduler based on const awareness for types
  9. * meta: sort of meta view based on meta stuff to iterate entities, void * and meta info objects
  10. * allow for built-in parallel each if possible
  11. * allow to replace std:: with custom implementations
  12. * remove runtime views, welcome reflection and what about snapshot?
  13. * types defined at runtime that refer to the same compile-time type (but to different pools) are possible, the library is almost there
  14. * add opaque input iterators to views and groups that return tuples <entity, T &...> (proxy), multi-pass guaranteed
  15. * add fast lane for raw iterations, extend mt doc to describe allowed add/remove with pre-allocations on fast lanes
  16. * registry.each<T...>(first, last) by iterators, entities/components guaranteed
  17. * multi component registry::remove and some others?
  18. * built-in support for dual (or N-) buffering
  19. TODO
  20. * custom (decoupled) pools ==> double buffering, shared components, multi-model
  21. * use direct access (pool-like) also for context variables
  22. * add take functionality, eg registry.take(entity, other); where it takes the entity and all its components from registry and move them to other
  23. * add merge functionality, eg you have entity with A-B, and "apply" a clone from an entity with B-C. B gets replaced, C gets added, and A stays
  24. - cloning all/part of the components are both required and a target entity on which to stomp your stuff could help
  25. - clone is just clone, creating new entity. But yeah, both "clone-all", and "clone-components"
  26. - for "apply", again both All and Components, and maybe an enum of what kind of apply "dont overwrite, overwrite, add-only"