this is thread number 145342 this is thread number 145413 this is thread number 145512 this is thread number 145343 this is thread number 145414 this is thread number 145513 ... no errors. runs stable, consumes all cores, no feeling of overloading the system. code: package main import "fmt" func main() { const nthreads = 1 * 1000 * 1000 for i := 0; i < nthreads; i++ { go func(i int) { fmt.Printf("this is thread number %v\n", i }(i) } } Eat this, Rust! dict.cc: rust: Rost {m}