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

Use ModelActionX instance #850

Closed
wants to merge 6 commits into from

Conversation

lacasseio
Copy link
Member

To shift toward a more declarable action/job/system execution, we are moving toward isolation and descriptor based. It will allow us to move toward more parallelism as the constraint will follow the action/job/system model. Although the ModelActionX instances are more verbose, they fit nicely with our future work. It also allows us to abstract away how the jobs declare their constraints.

A quick note on the action/job/system model. Given the internal is closely related to an ECS design, we need to express the System better. At the moment, this aspect is non-existent. The system allows a certain ordering in the rule executions. The Job is what can be scheduled in parallel. It contains the constrain on required components and is executed for each matching entity. Finally, the action is what the developer writes. We are considering making things easier by declaring mutability and some unpacking strategy so we don't always have to deal directly with components/component references.

@lacasseio lacasseio force-pushed the lacasseio/use-model-action-directly branch from 51ec179 to e26c017 Compare October 2, 2023 17:28
@lacasseio
Copy link
Member Author

No longer in scope, see #858

@lacasseio lacasseio closed this Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant