Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
debugnik
10 days ago
|
parent
|
context
|
favorite
| on:
Go's escape analysis and why my function return wo...
I first wrote an answer about how local variables can survive through a pointer, but deleted it because you're right that this Go code doesn't even address locals. It's a regular value copy.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: