News for hackers. Stuff that matters.
Re:Async-await on stable Rust by bulldoa on Thursday November 07, 2019 @04:39PM (#21477590)
ah, that make sense, I think another user point out that spawning n goroutine does not actually spawn n physical threads but rather queue n task to m thread in the pool, so if we exhaust m thread, n-m task will be blocked.

Thanks for the explanation

I wonder what is the point where each trade off make sense (ie. what is consider heavy computation vs light computation, it probably is related to OS thread allocation time)

There are no comments on this comment yet.