What's the difference between references and pointers in Rust?

from blog ntietz.com blog, | ↗ original
I've been working on writing a Rust training course, and one of the things I struggled with explaining in there was the difference between references and pointers. Ultimately, the underlying representation is the same: both hold an address for some memory. The difference between them is ultimately in semantics. References have some rules enforced...