3 ms·
> - Go can still have data races ... To catch them, you must use the race detector... To catch _some of_ them :) No guarantee that they will all be caught.
by azth 12y ago
> - Go can still have data races ... To catch them, you must use the race detector...
To catch _some of_ them :) No guarantee that they will all be caught.
- slimsag 12y agoTo be specific, the ones _that occur_ at run-time. It's not a "will maybe kinda sorta detect data race conditions" situation.
- azth 12y agoAh, fair enough! I thought it was a heuristic one. What sort of performance impact does it have?
- kibwen 12y agoSee https://golang.org/doc/articles/race_detector.html https://golang.org/doc/articles/race_detector.html > The cost of race detection varies by program, but for a > typical program, memory usage may increase by 5-10x and > execution time by 2-20x.