That said, Rust does encourage message passing by default, but also gives you the ability to safely do shared-memory concurrency if you need.