News for hackers. Stuff that matters.
Re:Updating the Go Memory Model by slaymaker1907 on Monday July 12, 2021 @04:21PM (#27814624)
The killer feature over a mutex, in my opinion, is that mutexes encourage sharing by default which is terrible for both program correctness and performance.
Re:Updating the Go Memory Model by laumars on Monday July 12, 2021 @04:54PM (#27814997)
That depends massively on the kind of problems you’re trying to solve. I’ve written some software where channels were the right tool, and others where mutexes were the correct choice.