Rust safety
Jump to navigation
Jump to search
- This article is currently a stub; it means I'm aware it's short and I probably intend to expand on the subject in the future!
For now just a collection of links to things to read, to be filled out with my own explanations later:
- Ownership and borrowing: https://stackoverflow.com/a/36137381
- Rust Ownership Rules: https://www.geekabyte.io/2020/02/rust-ownership-rules.html
- Ownership: https://rcoh.me/posts/rust-linked-list-basically-impossible/
- RustBelt paper: https://people.mpi-sws.org/~dreyer/papers/rustbelt/paper.pdf
- Pointer/reference types:
- Safe vs. unsafe:
- Unsafe (super)powers: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#unsafe-superpowers
- Safe abstractions: https://news.ycombinator.com/item?id=21971543
- "Leakpocalypse": http://cglab.ca/~abeinges/blah/everyone-poops/
- Lifetime annotations: https://www.reddit.com/r/rust/comments/feb31o/not_another_lifetime_annotations_post/fjosa7f/