Rust safety: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(new page) |
(add link) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Stub}} |
|||
For now just a collection of links to things to read, to be filled out with my own explanations later: |
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 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: |
* Pointer/reference types: |
||
** https://stackoverflow.com/a/45674912 |
** https://stackoverflow.com/a/45674912 |
||
** 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 |
||
* 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/ |
|||
[[Category:Programming]] |
[[Category:Programming]] |
Latest revision as of 21:36, 8 March 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
- 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/