upvote
> PPS The Java memory model is just superior to Rust's in every way...deal with it.

I don't see it. In Safe Rust we can't write a Data Race so we get SC/DRF because we know we don't have a data race. If we write unsafe Rust we do need to be careful not to break the rules and introduce a data race.

In Java we do not get such a promise at all, just the SC/DRF proof, any of our code might race. However, if we do lose Sequential Consistency we still have defined behaviour, we probably no longer understand how our program behaves (if it's not trivial) but we can say e.g. "I didn't write any code to delete the database" and so conclude it doesn't delete the database.

This doesn't seem like a clean win. I can see valuing either proposition more, but "in every way" I don't get that.

reply
>PPS The Java memory model is just superior to Rust's in every way...deal with it.

You forgot the interpreter itself. Good luck.

reply