Comment

Comment by sfvisser

Unfortunately this write-up didn’t help me at all understanding pinning.

Alomost feels I need to read the article to the end in order to understand the assumptions at the start.

I guess I’m missing some context.

- what is ‘trivially moveable’? - why would I want to overload the assignment operator? - what is a move constructor? - why would this make memory safe apis tricky? - what does moving references outside unsafe code mean? - what now we suddenly talk about Pin and Unpin, without explaining them first.

I’m so confused

parent sfvisser 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton