News for hackers. Stuff that matters.
Re:Making a Go program 70% faster with a one character change by morelisp on Monday November 14, 2022 @03:14PM (#33600306)
This isn't semantics, though, but implementation. As far as I'm aware there's no way to "observe" the copy short of digging into runtime debugging tools, so I think it's still fair to say the language has pass-by-value semantics. In C++ we still refer to things returned-by-value as returned by value despite the reality of NRVO, etc.

There are no comments on this comment yet.