Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
potato-peeler
3 days ago
|
parent
|
context
|
favorite
| on:
Go's escape analysis and why my function return wo...
If the variable was defined in the calling function itself, and a pointer was passed, I guess the variable will still be in the heap?
Yokohiii
3 days ago
[–]
Pointers escape to the heap by default.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: