Hacker News new | past | comments | ask | show | jobs | submit login

> Go programmers have a habit of manually microoptimizing short-lived allocations to keep escape analysis "happy"

I've been writing Go for 8+ years and have never done this, and I wouldn't approve a code review of a teammate that did this.




But that's what the article says: "We started creating tools to help our users find objects that escaped and if it was minor they could make changes to the code and help the compiler allocate on the stack."


"Tools used by a small minority of users to find performance issues," != "Go programmers have a habit of microoptimizations to avoid heap allocations." You are being disingenuous.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: