Go's runtime employs an M:N scheduler, mapping M goroutines onto N operating system threads (where M is often much larger than N), drastically reducing the overhead compared to creating an OS thread for each concurrent task.
Open the full topic