3 ms·
No. Go programs currently require a one-line instruction to tell them how many cores to use. Without that one line, they will only use one core. The go program
by carbocation 14y ago
No. Go programs currently require a one-line instruction to tell them how many cores to use. Without that one line, they will only use one core.
The go program in question was written without that instruction; therefore, it's only allowed to use one core.
- igouy 14y ago>only allowed to use one core< Only "allowed" by who? If you mean that "the Go program in question" is by-design a sequential program then -- yes of course it is! The contributed Go programs that were written for multi-core use more than one core -- http://benchmarksgame.alioth.debian.org/u32q/program.php?test=fannkuchredux&lang=go&id=1 http://benchmarksgame.alioth.debian.org/u32q/program.php?tes...