@erik Depending on the details, I believe this is being addressed. I think this is something the Traverse people want, and they're big contributors to winit. Also, Mads Marquart (another winit contributor) is working on objc2 and there's a strong sense of migrating toward that.
Keep in mind though, there are a lot of constraints coming from the platforms themselves in terms of what you can, can not, and must do on the UI thread, especially if you want it to be actually safe.
@raph
Re people working on it: fantastic!
Re safety concerns: fully agree, it must be done within the constraints of safety - afaik the metal and opengl APIs don't have any problems running on other threads, as long as other safety parameters are upheld.
I'm working on consumer apps using mixed UIKit/SwiftUI/OpenGL with video playback and am looking to migrate the OpenGL parts to use #Bevy. Initial tests are promising but I was surprised... (1/2)