3 ms·
Goroutines are multiplexed onto a set of threads defined by the Go program. They're not each a full thread; it's more like Stackless Python's version of threads
by genbattle 15y ago
Goroutines are multiplexed onto a set of threads defined by the Go program. They're not each a full thread; it's more like Stackless Python's version of threads.
http://www.stackless.com/ http://www.stackless.com/
- rocha 15y agoGood point. Since the OP was talking about execution speed, I thought he was using the word thread to refer to OS threads.
- sausagefeet 15y agoEven still, performing number crunching on 4000 Go thread seems like a bad idea.