Re:Golang’s most important feature is invisible
by kgeist on Sunday January 23, 2022 @02:55AM
(#30044435)
Goroutines are multiplexed onto a finite number of OS threads, which is usually a pretty small number. If you launch a new goroutine, a funky CGO call will still block an entire OS thread, it won't change anything as far is blocking is concerned. When all OS threads are blocked the runtime will spawn additional OS threads, so in the worst case it can degenerate to "OS thread per request".
[ Parent
| on HN ]
There are no comments on this comment yet.