I write code and talk about writing code

Go Sync or Go Home: Advanced Concurrency Techniques for Better Go Programs

Posted on Jun 27, 2023 @ Gophercon EU 23

Go is known for being fast and efficient, enabling developers to write concurrent programs with lightweight threads and easy-to-use API. In order to take advantage of goroutines and synchronize between them, you’ve probably used bits of the sync package. But to get the most out of Go’s concurrency model, knowing the basics isn’t enough. In this talk we will dive into the standard sync package and the x/sync package, getting to know lesser-known features that can be used to improve your code. We will discuss several use cases for each synchronization pattern, and how to take your existing code and make it more robust by using these features.

Video Slides