Comment by kaba0

Comment by kaba0 9 days ago

1 reply

That would mean it, yes. And yeah there is a bug in rust's borrow checker which can trigger something like that for some very special, "no human will ever write code like that" case. But this is an implementation detail for a semantically memory safe language, while in go's case having UB is a language primitive here.

Thaxll 9 days ago

The trigger for Go is exactly "no human will ever write code like that".