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

Well, it depends. I mean, generally, you want to give flexibility to your users. Maybe I _do_ want to stack allocate an ExpensiveStruct for some reason. You can always Box the struct to have it on the heap.


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

Search: