CHAPTER 5
Concurrency
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 ...
Get Tanmay Teaches Go: The Ideal Language for Backend Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.