Re:Why I Program in Go
by ericbb on Sunday January 06, 2013 @12:45AM
(#5015471)
It's not about escape analysis.
The programmer explicitly specifies when to use pointers. Whenever pointers are not used, the object is stored in-place (for example, on the stack, in the array or slice, or in the struct).
The programmer explicitly specifies when to use pointers. Whenever pointers are not used, the object is stored in-place (for example, on the stack, in the array or slice, or in the struct).