News for hackers. Stuff that matters.
Re:Data Race Patterns in Go by tialaramex on Wednesday June 15, 2022 @08:33AM (#31752020)
Ooh, I did not know this. Do you happen to know where the "no-out-of-thin-air" guarantee is for the 32-bit primitives? Presumably in the Memory model docs somewhere?
Re:Data Race Patterns in Go by kaba0 on Wednesday June 15, 2022 @10:06AM (#31753085)
I quickly glanced at the spec, but didn’t find it. But I didn’t make it up though, I remember reading it on the jvm mailing list and I found it here described by Brian Goetz himself: https://openjdk.org/projects/valhalla/design-notes/state-of-...
Re:Data Race Patterns in Go by tialaramex on Wednesday June 15, 2022 @03:24PM (#31758092)
Thanks for that, it makes sense but it's good to know somebody specifically thought about this rather than "Eh, it seems to work".