On unsafe Rust
A common misunderstanding is that unsafe Rust is more liberal than safe Rust. It is not. The same invariants apply, but instead of the compiler, it’s your job to uphold them.
Unsafe Rust is what you write when in any other language you would have written a C extension. It is a very rare thing to do.