The compiler is too restrictive of what you are allowed to do with the language, because it needs statically-managed lifetimes for the borrow checker
Good C and C++ programmers are already mentally managing allocation lifetimes, it requires constant attention if you want correct software. If you are finding lifetimes in Rust challenging, it is indicative that you aren't properly considering the lifetimes of your heap allocations in C or C++.
The value of rust is that it allows you to alleviate the cognitive burden associated with managing the lifetimes of allocated data, which also means you can almost fully learn it without that knowledge, but then when it pops up, you are forced to notate references to that data in a specific way. In all other languages, this is optional, it may display a warning, and then it manifests as the worst kind of bug, or is solved with an inefficient solution such as garbage collection and instead results in a memory leak.
In rust, it is a compile time check with a hard error rather than a warning to force the consideration of the allocation's lifetime on the programmer and to force an explicit notated extension of the bounds of that lifetime beyond the scope-bound ownership defaults.
This is the "restrictiveness" and "friction" that gets mentioned over and over again in relation to learning rust. If you were already considering these things in your software which if you are writing in a compiled systems language you should be, this a very easy action to do and the benefit is you know when a change violates that boundary immediately rather than years later through an obscure bug report that is hard to reproduce and trace back to the offending code. If you have spent years working on software written in C++, you know just how fantastic this really is and how much time and effort this saves.
Take a look at:
https://rust-unofficial.github.io/too-many-lists/
Someone wrote a book about how to implement linked lists in Rust. I rest my case.
This book is a tool to learn the ownership, borrowing and lifetime rules in the context of a familiar data structure, it isn't to show you how you are supposed to write a linked list and shouldn't be used as an example for how you should implement one. Unfortunately,
people of gender can't help themselves and put their gay
exceptional individual opinions about why linked lists are so hecking bad.
I wrote one for
NiggerLisp last year and I didn't mention it because I didn't think it was that notable of a data structure to implement in rust. I still don't think it is, the parse tree is way more interesting.
Anything that doesn't fit neatly in their gay little paradigm suddenly gets labeled as unsafe, hated vehemently, and quickly shouted down en masse as a cardinal sin of a shitty programmer. They always think they know better.
Ironically, it is the
person of gender that has the most binary and extreme opinions in all domains of life, the things they state in their
meatball blogposts are not reality, it is just their stupid opinion and should only be observed from a distance. I didn't think
person of gender blogposts did so much damage, I wrongly assumed that people extract the interesting parts and discard the retardation. That doesn't mean there isn't some wisdom behind some things that the
person of gender themselves don't understand. For them it's a cult, it makes up their whole narcissistic identity, so of course violations of the sanctity of memory safety are hated. It's unhinged.
I'm honestly half tempted to look into Rust properly just to write a "Rust for C/C++ programmers" that's actually tolerable...
I learned it to shit on it in online discussions to own the shills with my superior C and C++ skills, and it pains me to like it and use it for most things despite the poisonous faggotry surrounding it online. I find myself embarrassed whenever some gay shit happens with rust because it is treated as a monolithic entity that contains everything to do with it ever including people who just use it because it's good. It would be so much easier to switch to something else and avoid the online faggotry entirely, but I don't because it's that good on its own.
If you want some help with that book/guide/whatever, I'd gladly contribute.