Closed rj00a closed 6 months ago
I'm all for removing Send + Sync
and then having a breaking change if needed. :)
I could benefit from this in https://github.com/andrewgazelka/hyperion
@spikespaz fyi non-send
needs to compile with rayon
feature as well
All the data in the
World
currently requiresSend + Sync
bounds. This was done so that #4 could be implemented without a breaking change. However, I'm not sure I want this for a few reasons:Arc
andMutex
whenRc
andRefCell
is sufficient.Send + Sync
bounds make it difficult to work with frameworks likeggez
andsdl2
that have!Send + !Sync
requirements.bevy_ecs
has very significant overhead, to the point where many games can improve their performance by disabling it. This may be sufficient evidence that inter-handler parallelism is not worth implementing.Fetcher
may be sufficient for most users.I would rather not handicap this library indefinitely in order to support a feature which may not actually arrive.