Re:A million ways to die from a data race in Go
by rollulus on Tuesday November 25, 2025 @04:36AM
(#46044080)
TL;DR. Author with “years of experience of shipping to prod” mutates globals without a mutex and is surprised enough to write a blog.
[ Parent
| on HN ]
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.