Difference between revisions of "Rust safety"
Jump to navigation
Jump to search
(add link) |
(add link) |
||
Line 9: | Line 9: | ||
** Raw pointers: https://doc.rust-lang.org/1.30.0/book/first-edition/raw-pointers.html | ** Raw pointers: https://doc.rust-lang.org/1.30.0/book/first-edition/raw-pointers.html | ||
** https://doc.rust-lang.org/1.30.0/book/first-edition/choosing-your-guarantees.html | ** https://doc.rust-lang.org/1.30.0/book/first-edition/choosing-your-guarantees.html | ||
− | * Unsafe (super)powers: https://doc.rust-lang.org/book/ch19-01-unsafe-rust.html#unsafe-superpowers | + | * 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/ | * "Leakpocalypse": http://cglab.ca/~abeinges/blah/everyone-poops/ | ||
[[Category:Programming]] | [[Category:Programming]] | ||
[[Category:Rust]] | [[Category:Rust]] |
Revision as of 23:29, 25 February 2020
- 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
- Ownership: https://rcoh.me/posts/rust-linked-list-basically-impossible/
- 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/