This is pretty old but just wanted to mention you don't need Arc; as at least not now. All threads with shared mutable data are already in an Arc and require types that have Send + Sync.
Thanks! You're right, I didn't fully understand Arc at the time at all. I've chronicled a few ways I plan to improve this code, but still haven't gotten around to it...
Glad the yew stuff was useful!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is pretty old but just wanted to mention you don't need Arc; as at least not now. All threads with shared mutable data are already in an Arc and require types that have Send + Sync.
I enjoy your posts, especially that yew one.
Thanks! You're right, I didn't fully understand
Arc
at the time at all. I've chronicled a few ways I plan to improve this code, but still haven't gotten around to it...Glad the yew stuff was useful!