Re:Why you can have millions of goroutines but only thousand...
by optician_owl on Monday October 08, 2018 @11:53PM
(#18173200)
> so you never really have expensive context switches
It can be possible only if there are no more "physical" threads than cores. And anyway a switching between async routines on the same "physical" thread requires a switching of routines contexts (go to the memory and update cashes).
It can be possible only if there are no more "physical" threads than cores. And anyway a switching between async routines on the same "physical" thread requires a switching of routines contexts (go to the memory and update cashes).