News for hackers. Stuff that matters.
Re:When to use generics by cyphar on Friday April 15, 2022 @03:16AM (#31037380)
That's probably a better way of explaining the behaviour. My point was more that this pattern is a very common way of getting a pointer to a primitive type value (since you can't just do &5 in Go). It seems likely that Go would optimise this to just creating a stack allocated value.

There are no comments on this comment yet.