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

I think a real world use case for structs is for avoiding allocating objects in performance critical code [1] - though I'm not sure it is required in the vast majority of code.

[1] http://stackoverflow.com/questions/22894877/avoid-allocation...




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

Search: