Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODOS #1

Open
14 of 31 tasks
toyboot4e opened this issue Dec 27, 2021 · 0 comments
Open
14 of 31 tasks

TODOS #1

toyboot4e opened this issue Dec 27, 2021 · 0 comments

Comments

@toyboot4e
Copy link
Owner

toyboot4e commented Dec 27, 2021

Not on master yet.

  • Type boundaries
    • Add #[derive(Component)]
    • Add #[derive(Resource)] as in Bevy?
    • Send, Sync, NonSend. Components are Send and Sync by their definition (in toecs). Non-Send resource should be fetched with NonSend and NonSendMut. res_scope needs to be relaxed to accept non-send resource types.
  • API / ergonomics
    • EntityMut for explicit entity validation? → No (Make sure to invalidate Entity #3)
    • Add #[derive(GatBorrowWorld)] #[derive(AutoFetch)] for user-defined borrow types
    • Add #[derive(ComponentSet)] for easier insertion
    • Add World::run_arg, just like run_with_data in shipyard
  • Borrow improvements
    • Add lifetime-free BorrowWorld: GatBorrowWorld with the GAT hack
    • Remove the GAT hack with the real GAT coming in Rust
    • Implement GatBorrowWorld AutoFetch for tuples. This is great for system-like function with ordinary parameters, just like RenderCommand in Bevy or run_with_data in shipyard
    • Add World::run_ex where &mut World is allowed
  • One-shot parallel / sequential execution
    • Detect access "confliction" before run
    • Wrap return type into SystemResult if necessary
    • rayon or custom task scheduler
  • More from Bevy
    • Add CommandBuffer, Command
    • Optional fetch query (Option<Res<T>>, ..)
    • Blueprint?
    • Reflection / runtime inspector?
  • Groups and layout
    • Create component families
    • Add group/ungroup procedures
    • Refactor query module
    • Add DenseIter
    • Add explicit declaration/fetch of group
  • Scheduler?
    • Add BoxSystem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant