AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Use Registers in Java
Go has this property on its package imports that there aren't any cycles. And so for each function, you can say, well, I passed a pointer to it. But when that function was done, it did not save a copy of that pointer anywhere else. It didn't store it into the heap or anywhere else. Go also does something called escape analysis which is very different from what other programming languages do. So just because you make a point, there are reasons sometimes to make a pointer to something.