One of Rust’s most praised features is how it makes concurrent programming safe. In this article we are going to learn some ways to do concurrent programming and explain how Rust makes them safe compared to other programming languages. Working with threads We can start new threads with thread::spawn: 1 2 3 4 5 6 7 8 9 10 use std::thread; use std::time::Duration; fn main() { thread::spawn(|| { println!(