Hacker News new | ask | show | jobs
by casualsuperman2 5198 days ago
The current weekly release has (and Go v1 will have) runtime.NumCPU() so you can do runtime.GOMAXPROCS(runtime.NumCPU())
1 comments

Is that the default? If not, why not?