Re:Go vs. Node vs. Rust vs. Swift on Ubuntu Linux 15.10
by sudorandom on Wednesday December 09, 2015 @09:32AM
(#10703794)
This is no longer true. With Go 1.5 and higher GOMAXPROCS is set to the number of CPUs available by default.
[ Parent
| on HN ]
Re:Go vs. Node vs. Rust vs. Swift on Ubuntu Linux 15.10
by grigio on Wednesday December 09, 2015 @11:28AM
(#10704621)
Yeah, I've read somewhere it should be the default behavior in Go 1.5, but currently it isn't, at least not in my system.
If I don't specify it all the computation use just one core
Re:Go vs. Node vs. Rust vs. Swift on Ubuntu Linux 15.10
by sudorandom on Wednesday December 09, 2015 @02:27PM
(#10706081)
This hasn't been my experience... You can also set that value using an environmental variable (GOMAXPROCS). You might want to make sure that isn't set in your environment. Otherwise, you might be experiencing a bug that you should probably report.
Reference: https://golang.org/doc/go1.5