People demand parallelism from programming languages a lot more than they actually use it when offered.
In the case of CPU parallelism, yes. The task has to be CPU-bound in that case.
-
-
Then yes, that sort of comes for free with the runtime: https://golang.org/pkg/runtime/ Look for GOMAXPROCS.
-
My experience is that people don’t use goroutines to parallelize computations much, for the same reason they don’t in C++.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.