Re:Practices for writing high-performance Go
by v_lisivka on Tuesday May 07, 2019 @09:36AM
(#19849152)
Concurrency in Rust is extremely easy, because it safe by design. Just import rayon crate and change iter() to par_iter() [1]. Compiler will point out to problems, e.g. it will not allow to send a type, which cannot be used concurrently, until it will be wrapped by Arc (atomic reference counter).
[1]: https://docs.rs/rayon/1.0.3/rayon/