News for hackers. Stuff that matters.
Re:A case against security nihilism by tialaramex on Tuesday July 20, 2021 @09:36PM (#27901325)
A Race in Go is Undefined Behaviour. All bets are off, whatever happens, no matter how strange, is OK.

If you have a race which definitely only touches some simple value like an int and nothing more complicated then Go may be able to promise your problem isn't more widespread - that value is ruined, you can't trust that it makes any sense (now, in the future, or previously), but everything else remains on the up-and-up. However, the moment something complicated is touched by a race, you lose, your program has no defined meaning whatsoever.

Re:A case against security nihilism by gpderetta on Wednesday July 21, 2021 @05:24AM (#27904079)
Of course, but when talking about security, a race in Go would be very hard to exploit.

It is a different story in languages meant to run untrusted code of course.