4 ms·
Go/C programs that race can also run with inconsistent data. Nothing guarantees you a segfault under torn writes. In practice, Java programs tend to pick up on
by qcnguy 1y ago
Go/C programs that race can also run with inconsistent data. Nothing guarantees you a segfault under torn writes.
In practice, Java programs tend to pick up on data races very quickly because they mutate some collection and the collections framework has safety checks for this.