zlacker

[return to "A Look at Rust from 2012"]
1. srott+h5m[view] [source] 2025-12-03 15:41:14
>>todsac+(OP)
> rest of the post is me trying to make sense of the tutorial on borrowing. It has fried my brain and negatively affected my skills in modern Rust, so be wary

I think that tutorial discouraged me from really getting into Rust

◧◩
2. sota_p+jvp[view] [source] 2025-12-04 15:47:14
>>srott+h5m
I’m no expert in Rust, but have done a couple of very minimal weekend projects. In the time I’ve read up on Rust, I’ve always looked at the borrow mechanism like an extreme/overactive implementation of RAII from C++, that is triggered with every context change.

Would be interested to hear where this analogy breaks down from someone more experienced than me.

[go to top]