4 ms·
The ownership and model makes working with pointers a lot more complicated, which is the core of a good graph or doubly-linked list datatype. > Learn Rust With
by itishappy 2y ago
The ownership and model makes working with pointers a lot more complicated, which is the core of a good graph or doubly-linked list datatype.
> Learn Rust With Entirely Too Many Linked Lists
> In this series I will teach you basic and advanced Rust programming entirely by having you implement 6 linked lists. In doing so, you should learn:
* The following pointer types: &, &mut, Box, Rc, Arc, *const, *mut, NonNull(?)
* Ownership, borrowing, inherited mutability, interior mutability, Copy
* All The Keywords: struct, enum, fn, pub, impl, use, ...
* Pattern matching, generics, destructors
* Testing, installing new toolchains, using miri
* Unsafe Rust: raw pointers, aliasing, stacked borrows, UnsafeCell, variance
https://rust-unofficial.github.io/too-many-lists/ https://rust-unofficial.github.io/too-many-lists/