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

True, however I only saw this happens to achieve max perf. I have very limited experience so this is confirmation bias from my end.



An example of unsafe not for performance is when interacting with hardware directly.


or the operating system!

opening stdout with file handle 0 is not guaranteed safe by the compiler. there's an "unsafe" somewhere in there.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: