News for hackers. Stuff that matters.
Re:Benefits of named return values in Go by pcwalton on Friday June 30, 2017 @11:55AM (#14671527)
The memory dependence analysis must prove the memory is unaliased, which ensures among other things that no other thread can have a reference to it. Presumably in Go return pointers are guaranteed to be unaliased.

There are no comments on this comment yet.