The Rust Performance Book
nnethercote.github.io
nnethercote.github.io
Kudos for his work, and for making Rust compilation faster for all of us.
That being said, it looks to me like the main concern here is surfacing Rust specifics, rather than general performance concerns.
Having said that, Section 16 does have general optimization advice, and I will consider adding some brief notes about the things you mentioned there.
Thanks for the suggestion.
Someone could explain things like cache via Rust, but the information is language agnostic, whereas this book is very much Rust specific.
Rust Book: https://doc.rust-lang.org/book
Rust Rand Book: https://rust-random.github.io/book
Rust WebAssembly Book: https://rustwasm.github.io/book
Rust Unstable Book: https://doc.rust-lang.org/beta/unstable-book/index.html
Rustonomicon: https://doc.rust-lang.org/beta/nomicon/index.html
Cargo Book: https://doc.rust-lang.org/cargo
Which seems to be generated by https://github.com/rust-lang/mdBook
Now, I don't see why "book" should seem so grand. Remember when reference books would come out as a "bible"?
As for bounds check, here's a relevant issue raised on rand crate: https://github.com/rust-random/rand/issues/592
One can dig for a kind of "unsafe assertions" with https://doc.rust-lang.org/std/hint/fn.unreachable_unchecked.... (so the random code, for example, could have before returning value 'if x >= upper { unsafe { unreachable_unchecked() } }')
To me a book has chapters, sequence, etc.