Hacker News new | past | comments | ask | show | jobs | submit login

> - 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.




To be specific, the ones _that occur_ at run-time. It's not a "will maybe kinda sorta detect data race conditions" situation.


Ah, fair enough! I thought it was a heuristic one. What sort of performance impact does it have?


See 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: