logoalt Hacker News

brabeltoday at 6:41 AM1 replyview on HN

It sounds incredibly dangerous in the hands of a usual go programmer who has no idea what the difference between the stack and the heap is.


Replies

nixon_why69today at 6:54 AM

Been a while since I used go but I remember it being kind of uniquely hard to tell? Like a struct is on the stack, but a *struct is maybe on the heap, depending on escape analysis?

show 1 reply