Go: Goroutine, OS Thread and CPU Management
ℹ️ This article is based on Go 1.13.
Creating an OS Thread or switching from one to another can be costly for your programs in terms of memory and performance. Go aims to get advantages as much as possible from the cores. It has been designed with concurrency in mind from the beginning.