Handling Concurrency and Parallelism with Go
This lesson discusses the problem of synchronization in parallelism and concurrency. It explains how Go introduces goroutines to solve this problem.
We'll cover the following...
Introduction
As expected of a 21st century programming language, Go comes with built-in support for communication between applications and support for concurrent applications. These are programs that execute different pieces of code simultaneously, possibly on different processors or computers. The basic building blocks for structuring concurrent programs are goroutines and channels. Their implementation requires support from the language, the compiler, and the runtime. The garbage collection which Go provides is also essential for easy ...