3 ms·
> but multiple goroutines can run on multiple threads simultaneously Is goroutines very effective with CPU-bound computation tasks?
by est 10y ago
> but multiple goroutines can run on multiple threads simultaneously
Is goroutines very effective with CPU-bound computation tasks?
- insertnickname 10y agoI don't know if it's "very effective" (compared to what?), but it's fine to do CPU-bound computation in goroutines. The Go runtime will try to schedule goroutines to run in parallel on different threads.