4 ms·
My first thought it was a joke ... ;) Learn Rust with entirely too many linked lists (2019) - https://news.ycombinator.com/item?id=22390662 https://news.ycomb
by adeptima 4y ago
My first thought it was a joke ... ;)
Learn Rust with entirely too many linked lists (2019)
- https://news.ycombinator.com/item?id=22390662 https://news.ycombinator.com/item?id=22390662
- https://rust-unofficial.github.io/too-many-lists/index.html https://rust-unofficial.github.io/too-many-lists/index.html
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