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

Couldn't you avoid doing allocations in Go?


You could, but once you're not allocating things, why not write it in a language without a GC?


You could (and many people do) avoid heap allocations by putting things on the stack.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: