News for hackers. Stuff that matters.
Re:Compile Go programs 7x faster by merb on Wednesday August 10, 2016 @09:13AM (#12261385)
Does `go build` use multiple core's?
Re:Compile Go programs 7x faster by IanCal on Wednesday August 10, 2016 @09:23AM (#12261474)
There's a flag for it, which didn't make a difference (edit - with the new 1.7 compiler it does, but it goes from half that speed to the same figure). Even with a perfect scaling, I'd be about 10x behind a post from 7 years ago.

Perhaps it's compiling a lot more lines than I think? Lots of bits of the standard library I should be including in the line count?

Re:Compile Go programs 7x faster by merb on Wednesday August 10, 2016 @01:54PM (#12263597)
actually I guess stdlib is compiled, too. But golang before 1.5 was faster to compile. I just wonder how much difference it would make with multicore's. I mean scala beats down my new Xeon E5-2670 workstation on all threads.