2 ms·
This is nitpicky, but Python threads are kernel threads. It's the GIL that restricts CPython to a single core. OTOH goroutines are green threads multiplexed on
by wting 12y ago
This is nitpicky, but Python threads are kernel threads. It's the GIL that restricts CPython to a single core.
OTOH goroutines are green threads multiplexed onto kernel threads (aka N:M thread model).