DEV Community

Discussion on: Rust + ReasonML - a beginner's love story

Collapse
davidwhit profile image
DavidWhit

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.

Collapse
deciduously profile image
Ben Lovy Author

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!