In the Go Language, Mutexes are Dead

Long live channels!

Matthew Cannalte

--

I’m fairly new to programming in Go, but I’ve done my fair share of systems programming in other languages like C and C++. So, I’m accustomed to the old ways of handling concurrency and preventing race conditions. Namely, I expected Mutexes (mutual exclusions, i.e. concurrency locks) to be standard practice in Go, a language known for robust patterns of parallel…

--

--