Hacker News new | ask | show | jobs
by steveklabnik 453 days ago
An example of unsafe not for performance is when interacting with hardware directly.
1 comments

or the operating system!

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