-
-
Notifications
You must be signed in to change notification settings - Fork 4k
deprecate SimpleExecutor
#18753
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
deprecate SimpleExecutor
#18753
Conversation
It looks like your PR is a breaking change, but you didn't provide a migration guide. Please review the instructions for writing migration guides, then expand or revise the content in the migration guides directory to reflect your changes. |
mostly copied from previous pr
So what was `SimpleExecutor` good at? Not much. That's why we plan to remove it. Removing it will reduce some maintenance and consistency burdons on maintainers, allowing them to focus on more exciting features! | ||
|
||
If you were using `SimpleExecutor`, consider upgrading to `SingleThreadedExecutor` instead, or try `MultiThreadedExecutor` if if fits the schedule. | ||
It's worth mentioning that `SimpleExecutor` runs deferred commands inbetween *each* system, regardless of it it was needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to come earlier, and talk more about the UX side of things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call. Clearly justifying this to users is important. It's a lot better now I think. Thanks!
Co-Authored-By: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
…/ElliottjPierce/bevy into deprecate-simple-system-executor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Migration guide content looks good. Erring on the side of more rather than less is great! Thanks.
# Objective Contributes to bevyengine#18741 and bevyengine#18453. ## Solution Deprecate `SimpleExecutor`. If users run into migration issues, we can backtrack. Otherwise, we follow this up with bevyengine#18741 We can't easily deprecate the module too because of [this](rust-lang/rust#47238). ## Testing CI --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Cyrill Schenkel <cyrill.schenkel@gmail.com>
Objective
Contributes to #18741 and #18453.
Solution
Deprecate
SimpleExecutor
. If users run into migration issues, we can backtrack. Otherwise, we follow this up with #18741We can't easily deprecate the module too because of this.
Testing
CI