8 ms·
Goroutines are not threads. You can have a dozen goroutines which would only run on a smaller subset of OS threads.
by laumars 13y ago
Goroutines are not threads. You can have a dozen goroutines which would only run on a smaller subset of OS threads.
- willvarfar 13y agoThey are threads. Technically they are "green threads". The runtime does not map them to OS threads, although technically if it chose to it could, because goroutines are abstract things and the mapping to real threads is a platform decision.