2
lorentz
6d

I think the most important lesson you have to learn before discovering new Rust becomes easy is that edge cases matter, because formal descriptions almost never start with the most visible attribute; they start with the strongest one.

Almost every datastructure is Unpin, or should be at any rate. The benefit of Pin is that you can get rid of that *almost*, and define your operations for arbitrary sections of program state.

Comments
  • 1
    Async Rust isn't easy or nice, but learning it was relatively straightforward because I stopped trying to read what I'm supposed to do out of the definitions and started referring to sample code for the "how" and the definitions only for "why"
Add Comment