May 2021
Intermediate to advanced
208 pages
4h 42m
English
Welcome to Chapter 5! You’ve progressed quite far down your journey of learning Go, and you’re now at the level where you can competently implement simple and intermediately complex applications in Go. However, to really master Go, and to unlock its full potential, you need to be familiar with a cornerstone in modern computing: concurrency. By enabling a computer to do multiple things at the same time—or by switching across multiple execution streams—you can run tasks that computers of the past could never have done.
Once you’ve finished this chapter, you’ll be able to answer the following questions:
• What is a thread and a process?
• What’s the difference between concurrency and parallelism?
• How do green threads ...