4,453 karma · joined January 2, 2021
(There is a trick you can abuse to access the type everywhere: https://docs.rs/never-say-never/latest/never_say_never/)
This is incorrect. The compiler has always treated `Infallible` as uninhabited, and used that fact for optimizations. The downside of its lack of compiler support is losing out on the coercions. (The article is excellent otherwise)
> Volatile operations are permitted to trap. The compiler may not assume that execution will continue after a volatile operation.
This isn't true. Rust UB is meant to only be possible to trigger via `unsafe` code, but if you do trigger it, the compiler is free to do whatever it wants, and in practice it will make full use of that freedom. Rustc uses LLVM, it shares most of its optimizations with Clang!
Not really—it massively increased Iran's influence in the area, which is why in 2007 they had to panic, reverse course, and start backing al-Qaeda again ("the redirection").