2 ms·
> other types that let you pick and choose which guarantees you want the compiler to enforce The current book has a chapter with a title that's almost literall
by steveklabnik 10y ago
> other types that let you pick and choose which guarantees you want the compiler to enforce
The current book has a chapter with a title that's almost literally this: https://doc.rust-lang.org/stable/book/choosing-your-guarantees.html https://doc.rust-lang.org/stable/book/choosing-your-guarante...
- akiselev 10y agoThat chapter is where I got that phrasing but it's literally the chapter right before the one on the FFI, an advanced topic with unsafe code! In the bottom third of the book. I'm talking about scattering bits of that chapter all over the book, including the first concrete language chapter on Variable Bindings. There's over thirty chapters between "Ownership" and "Choosing your Guarantees" which I think creates massive friction for new developers who never even get to that chapter before getting frustrated and giving up.
- steveklabnik 10y ago> the chapter right before the one on the FFI The "Effective Rust" section of the book is in no particular order; each chapter is self-contained and can be read without the others. That is one reason why the new book does not have this chapter, though. It's organized differently.
- akiselev 10y agoYeah the new book looks much better (Although it's hard to evaluate onboarding since I'm past the beginner stage). Thank you for all your work! I don't mean to be critical, I'm just very much invested in Rust's mass adoption :) Is there any discussion on the genesis of the new book I can find? I'm curious to see the thought process behind the rewrite.