|
|
|
|
|
by oconnor663
542 days ago
|
|
In my experience there are two versions of "fighting the borrow checker". The first is where the language has tools it needs you to use that you might not've seen before, like enums, Option::take, Arc/Mutex, channels, etc. The second is where you need to stop using references/lifetimes and start using indexes: https://jacko.io/object_soup.html |
|
So basically raw pointers with extra hoops to jump through.