Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In general, when doing low level optimization of Go code, avoiding allocations is the biggest bang for your buck.

I have found this to be the truth. I'm making a game in Go, and have learned that a smooth framerate depends on programming with allocation awareness. Always know where and when your memory is coming from.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: