3 ms·
I believe that Go routines are implemented as work-stealing under the hood. Idle threads pick up runable Go routines from other threads. There was a design doc
by eloff 10y ago
I believe that Go routines are implemented as work-stealing under the hood. Idle threads pick up runable Go routines from other threads.
There was a design document about this from 4 years ago, but I'm not sure how well it reflects the current implementation:
https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sLKhJYD0Y_kqxDv3I3XMw/edit https://docs.google.com/document/d/1TTj4T2JO42uD5ID9e89oa0sL...