Learn to program with Rust in an easy, step-by-step manner on Unix, Linux shell, macOS and the Windows command line. As you read this book, you'll build on the knowledge you gained in previous chapters and see what Rust has to offer.Beginning Rust starts with the basics of Rust, including how to name objects, control execution flow, and handle primitive types. You'll see how to do arithmetic, allocate memory, use iterators, and handle input/output. Once you have mastered these core skills, you'll work on handling errors and using the object-oriented features of Rust to build robust Rust applications in no time.Only a basic knowledge of programming is required, preferably in C or C++. To understand this book, it's enough to know what integers and floating-point numbers are, and to distinguish identifiers from string literals.After reading this book, you'll be ready to build Rust applications.What You'll LearnGet started programming with RustUnderstand heterogeneous data structures and data sequencesDefine functions, generic functions, structs, and moreWork with closures, changeable strings, ranges and slicesUse traits and learn about lifetimesWho This Book Is ForThose who are new to Rust and who have at least some prior experience with programming in some C/C++ is recommended particularly.
The book is **extremely informational**, and for that it would take 5 stars.
But the book is in desperate need of editing. I don't know how to explain it, but the book looks ungrammatical at times, primarily owing to the fact that the author seems to hold the word "such" in such (forgive the pun) regard so as to overuse it. And when I say overuse, I mean be prepared to see the word in what amounts to every other sentence in the book.
If you can look past that, then the book is great - I particularly enjoyed the comparison with examples in other languages (C and C++) and I also liked the last few chapters on lifetimes, which went into a lot more detail than other rust books I've read.