This book is a guide for you to learn the Rust Programming Language. The first part of the book is a guide for you on how to get started with the Rust programming language. The author takes you through the initial steps of setting up the environment and writing your “Hello Word!” program. The various primitive data types supported in Rust have been discussed, hence you will know how to use them when programming. You are also guided on how to work with Rust variables. Conversion of types through casting has been discussed in detail; hence, you will know how to convert one type to another. The control of the flow of execution has been discussed. You will learn how to use the various flow control statements in Rust. Loops have also been explored in detail to help you learn how to perform Rust task repeatedly. The author guides you on how to match patterns in Rust. The storage of data by use of vectors has also been explored. Closures and Traits are also popular Rust features. The author has discussed them in detail. The following topics have been discussed in this - Getting Started with Rust - Primitives -Variables - Type Casting - Flow Control - Loops - Functions - Traits - Pattern Matching - Vectors - Generics - Closures
This book claims to teach programming in RUST. It does, to the extent that, having read it, one can declare simple functions, very simple classes, and have some vague ideas about generics and closures.
Unfortunately, of the actual aspect of RUST that makes it worthwhile as a language in its own right (multi-threading), there is nothing. Instead the language is presented as a kind of C++ for toddlers. Thinking of which, the attempted explanation of pass by reference as opposed to pass by value is nearly incomprehensible and definitely misleading.
This was the perfect intro book for the Rust programming language. Each chapter was just the right length and the examples and exercises throughout the book were perfectly scoped. I'll be keeping my eye on Max Sharp. Excellent writing.