Please stop moving the goal posts from “program concurrency” to “distributed or multi-process transactions.” It subtracts from the conversation.
Rust is honest about what it does and doesn’t do.
I am not moving goal posts, rather talking about issues that many apparently lack the knowledge to understand how many variants of data races exist in an application.
Quite understanable given the majority of developers that keep writing single threaded applications.
https://blog.knoldus.com/how-we-can-do-fearless-concurrency-...
Now rewrite the same blog post using SQL queries to update the same counter variable on a table row.
The Rustonomicon is quite clear that it wouldn't work,
> However Rust does not prevent general race conditions.
> leaving to the reader that it works the same way regardless of what resources are being accessed.
If that's how readers envision that non-language-managed resources work, they should go back to CS102 right now.
And concerning the nomicon, it explicitly states that Rust can't handle all races condition, I don't get your point.