News for hackers. Stuff that matters.
Re:Go concurrency isn't parallelism: Real world lessons with... by spullara on Saturday February 07, 2015 @02:28PM (#9015034)
Seems like you should probably never run the tests with -race. Is there a downside from that being the default?
Re:Go concurrency isn't parallelism: Real world lessons with... by bdarnell on Saturday February 07, 2015 @02:45PM (#9015073)
The only real downside is that it slows things down quite a bit (30s vs 12s for a full test run in my current project; I've seen both better and worse ratios in other projects). I've also seen a project that made heavy use of generated code and a race-enabled build would choke on the very large source files. But overall I agree that it seems worthwhile to make -race the default.