top | item 41034235

(no title)

weavie | 1 year ago

I've been programming Rust professionally for several years now and being totally honest I don't really understand Pin that well. I get the theory, but don't really have an intuitive understanding of when I should use it.

My usage of pin essentially comes down to "I try something, and the compiler complains at me, so I pin stuff and then it compiles."

It's never been such a hurdle in the day to day coding I need to do that I've been forced to sit down and truly grok it.

discuss

order

01HNNWZ0MV43FF|1 year ago

Same. It's one of my most common cases of "Just avoid unsafe and be glad some smart compiler folks already solved this all for me"

Whereas in C++ I was regularly treading in the water of "stuff I don't know, but must use" and getting eaten by crocodiles