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

Rust (well, LLVM really) will automatically pass any "large" struct by reference, which in practice is going to be anything more than a few words (I think in the current implementation, it might actually be two). Unless the function call is inlined, of course, in which case LLVM can do pretty much whatever it wants.


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

Search: