3 ms·
> I happen to write like I talk, it gets good and bad reviews. I found it unusually clear, which I liked a lot. There was a bit at the end to do with unsafe t
by kybernetikos 13y ago
> I happen to write like I talk, it gets good and bad reviews.
I found it unusually clear, which I liked a lot. There was a bit at the end to do with unsafe that was a bit difficult to follow, but a sentence like 'but wait, RWArc is just a library, how come it was able to do the thing that I said the compiler wouldn't let you do?' would have cleared it up just fine.
- steveklabnik 13y ago> but a sentence like 'but wait, RWArc is just a library, how come it was able to do the thing that I said the compiler wouldn't let you do?' would have cleared it up just fine. Hmmm. Isn't that what this says? > So, the Rust language does not allow for shared mutable state, yet I just showed you some code that has it. How’s this possible? The answer: unsafe.
- kybernetikos 13y agoWell for me at least, you're introducing the language so it seems like RWArc is part of that. I have no idea as to whether or not there are any little cheats put into things like RWArc that are not available to other code, so emphasizing that RWArc is the kind of thing I could have written myself would have helped me understand. It's that jump from being introduced to RWArc to considering how it might have been implemented that wasn't obvious to me.
- steveklabnik 13y agoGotcha. It seems a few other people had this issue too, I'll take care of it in the next iteration. Thank you!
- kybernetikos 13y agoThanks for doing this, I've got much more appetite for reading about rust than can easily be sated, so it's very gratifying to have someone explain the key concepts so clearly and well.
- steveklabnik 13y agoAny time. If only there were five of me!