This sort of practice is present in the implementation of every mainstream programming language. 'Unsafe' operations are the bread and butter of computation.
As far as use in libraries, you wont get the same performance without it in most of the places it is used. This is much like Python's 'unsafe' use of C modules for performance.