TODO 2.6 KB

123456789101112131415161718192021222324252627282930313233
  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. * empty components model allows for shared components and prefabs unity-like
  14. - each with entity return the shared component multiple times, one per entity that refers to it
  15. - each components only return actual component, so shared components are returned only once
  16. * types defined at runtime that refer to the same compile-time type (but to different pools) are possible, the library is almost there
  17. * add opaque input iterators to views and groups that return tuples <entity, T &...> (proxy), multi-pass guaranteed
  18. * add fast lane for raw iterations, extend mt doc to describe allowed add/remove with pre-allocations on fast lanes
  19. * registry.each<T...>(first, last) by iterators, entities/components guaranteed
  20. * multi component registry::remove and some others?
  21. * can I use opaque connection also for the emitter?
  22. * built-in support for dual (or N-) buffering
  23. TODO
  24. * custom (decoupled) pools ==> double buffering, shared components, multi-model
  25. * use direct access (pool-like) also for context variables
  26. * add take functionality, eg registry.take(entity, other); where it takes the entity and all its components from registry and move them to other
  27. * 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
  28. - cloning all/part of the components are both required and a target entity on which to stomp your stuff could help
  29. - clone is just clone, creating new entity. But yeah, both "clone-all", and "clone-components"
  30. - for "apply", again both All and Components, and maybe an enum of what kind of apply "dont overwrite, overwrite, add-only"
  31. * meta: copy on aliasing should make an actual copy of the value, not of the pointer (steal has a similar problem)
  32. * meta: almost always aliasing method