[[Rust]] [[What is a segmentation fault]] Undefined behaviour is prevented by compiler checks. For example we can't use an undefined variable in a function call. If that were unchecked it's behaviour is undefined: - it could cause a segvault - it could cause no harm - it could become the target of a hack A list of behaviours considered undefined: https://doc.rust-lang.org/reference/behavior-considered-undefined.html