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

Archetype invariants #5

Closed

Conversation

alice-i-cecile
Copy link
Member

@alice-i-cecile alice-i-cecile commented Apr 14, 2021

RENDERED

Archetype invariants are global rules about which archetypes can exist in a Bevy app's ECS.
By defining which components must or cannot coexist, we can enforce domain-specific rules to ensure correctness.
Once these rules are encoded into our ECS, we can leverage them to improve performance in a large variety of ways.

First discussed in bevyengine/bevy#1481.

@alice-i-cecile
Copy link
Member Author

Closing for now as its on the backburner. Ping me if you want me to prioritize this work, or give advice on your own RFC for this.

Weibye pushed a commit to Weibye/rfcs that referenced this pull request Apr 24, 2022
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

Successfully merging this pull request may close these issues.

1 participant