---

Locks versus channels in concurrent Go

Compare two ways to share information with goroutines, one using synchronized shared memory and the other using channels.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis