Java vs. Kotlin is a different matter. It's still an open question if C++ even could match Rust's features, not to say if it (the committee) wants to, and the answer seems to be "no".
Algorithms that safely mutate the same data structure on multiple threads and do so safely because of some complex algorithmic properties that guarantee that the changes do not overlap?
[–] gmueckl 4 days ago
[–] afdbcreid 4 days ago
[–] gmueckl 4 days ago
[–] afdbcreid 4 days ago
If you mean things that formally create a data race, then C++ cannot do that either.
[–] tcfhgj 4 days ago
[–] gmueckl 4 days ago
[–] tcfhgj 4 days ago
[–] gmueckl 4 days ago