News for hackers. Stuff that matters.
Re:A million ways to die from a data race in Go by allcentury on Tuesday November 25, 2025 @10:33AM (#46046755)
There’s an example of a mutex too…
Re:A million ways to die from a data race in Go by scoodah on Tuesday November 25, 2025 @08:33PM (#46053118)
An example where they’re creating a new mutex every time they call a function and then surprised when multiple goroutines that called that function and got entirely different mutexes somehow couldn’t coordinate the locks together.

That isn’t a core misunderstanding of Go, that’s a core misunderstanding of programming.