Go is a language that centers around concurrency, to the point where two of the main features—channels and goroutines—are part of the built-in package. We will now see how they work and what their basic functionalities are, starting with goroutines, which make it possible to execute parts of an application concurrently.
Understanding goroutines
Comparing threads and goroutines
Goroutines are one of the primitives used for concurrency, but how do they differ from threads? Let's read about each of them here.
Threads
Current OSes are built...