Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Goroutines are not threads. You can have a dozen goroutines which would only run on a smaller subset of OS threads.


They 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: