Skip to content

Investigate supporting multi-threading for web apps #226

@TimJentzsch

Description

@TimJentzsch

See bevyengine/bevy#4078.

It would be nice if we could support the development of multi-threading features for web builds, as that could yield massive performance improvements.

Currently, contributors (and eventually, users) have to manually set environment flags and server headers. This creates a higher barrier to contributing to this development.
We should investigate whether we can implement some of these in the CLI to reduce the setup time and simplify contribution.

Depending on the type of change, we can either have it always active, or add a --multi-threaded flag to conditionally enable it.

Note that the changes shouldn't require changes in the Bevy application as well to make them work. This would break the CLI for non-multi-threaded apps.

Metadata

Metadata

Assignees

Labels

A-CLIRelated to the main CLI and not a more specific subcommandA-RunRelated to the bevy run commandA-WebBuilding or running Bevy apps targeting the browserC-FeatureMake something new possibleS-Ready-for-ImplementationThis issue is ready for an implementation PR. Go for it!

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions