Hacker News new | ask | show | jobs
by 0x1ceb00da 739 days ago
Do you have any references? I thought all wgpu objects are wrapped with an Arc<Mutex<>>.
1 comments

That sounds wild to me. In c++ I remember a time where I increased the frame rate of a particle renderer from 20fps to 60fps+ simply by going from passing shared_ptr (Arc equivalent) to passing references.
Nevermind. Just an Arc<>.