rust-atomics-and-locks icon indicating copy to clipboard operation
rust-atomics-and-locks copied to clipboard

A couple less "concrete" suggestions

Open helixbass opened this issue 1 year ago • 0 comments

The content that the question is about

No response

The question

Here are a couple of other notes that I took while going through the book that are more general feedback/suggestions about particular sections (vs typos etc):

  • Chapter 3 - the explanation of fences feels like it could have been fleshed out a bit more, I came away slightly confused as to what exactly it guarantees and why/how
  • Chapter 5: I could use a bit more of an explanation of the stuff around Channel<T> being Sync if T: Send (I've read about Send/Sync but feel a bit fuzzy on those generally) eg why exactly is it ok to implement Sync under those conditions and how exactly does that flow through the code to give us the desired/expected use of the channel across threads?

(no need to try and explain these here unless you feel very compelled to, more just suggestions for those sections of the book)

I found the book to be written at a very high level of quality throughout, I appreciated how "focused" and "sober" it was, so thank you!

helixbass avatar Mar 19 '23 16:03 helixbass