Hello,
Yet about Rust..
You will notice by reading the following that by taking
a mutable referenced to a variable, you will notice that
you can not after that read or write to the variable, and
i think that this will lesser parallelism in scenarios that
you have more parallelism, so it is like the Reade-Write Lock pattern,
so i think to higher parallelism in those scenarios you have to go
to unsafe Rust and this is not good.
Read the following to noticed it:
https://manishearth.github.io/blog/2015/05/17/the-problem-with-shared-mutability/
Thank you,
Amine Moulay Ramdane.