You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to remove all guarantees with respect to data races from the language
specification, effectively leaving them as undefined behavior or at least
implementation-defined behavior (as there can potentially be a more secure
implementation that provides basic safety guarantees in presence of data races). Pretend
that it's bug fix wrt Go1 guarantee.
Two reasons:
1. Current implementations don't implement what's specified about data races in the
spec. Gcc and llvm middle-ends assume race-free programs.
2. Sapphire concurrent GC algorithm assumes race-free programs as well.
Fixing the implementations will incur extremely high cost.
Here is proposed wording:
https://golang.org/cl/101330056/diff/40001/doc/go_mem.html
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: