Go Routines from Beginner to Expert
3 min readSep 29, 2020
What are Gorountines and Threads?
// Evaluation happens in the current go routine
// Execution happens in a new go routinego f(x, y, z)
A goroutine is a lightweight thread managed by the Go runtime, and a thread is the smallest unit of processing that can be performed in operating systems. Besides, a thread exists within a process, it means that a single process may contain multiple threads at the same time.