Skip to main content
DevSecOps, pentesting and blue team. Writeups and tooling.

m58

DevSecOps ยท Pentest ยท Blue team

Hero

DevSecOps, pentesting, blue team. Posts below or use the menu.

Recent

Rust: & vs * (references and dereferencing)

·566 words·3 mins
& borrows a value. * follows a reference to reach the value behind it. The syntax is small, but it sits right in the middle of Rust’s ownership model. If references feel awkward at first, that is normal. In Rust they are not just pointers with nicer spelling. They are part of the language’s safety model.