Discover how to use Rust to write fast, secure, and concurrent systems and applications This book is intended for software developers interested in systems level and application programming, and are looking for a quick entry into using Rust and understanding the core features of the framework. It is assumed that you have a basic understanding of Java, C#, Ruby, Python or JavaScript. Starting by comparing Rust with other programming languages, this book will show you where and how to use Rust. It will discuss primitive types along with variables and their scope, binding and casting, simple functions, and ways to control execution flow in a program. Next, the book covers flexible arrays, vectors, tuples, enums, and structs. You will then generalize the code with higher-order functions and generics applying it to closures, iterators, consumers, and so on. Memory safety is ensured by the compiler by using references, pointers, boxes, reference counting, and atomic reference counting. You will learn how to build macros and crates and discover concurrency for multicore execution. By the end of this book, you will have successfully migrated to using Rust and will be able to use it as your main programming language.
Rust is a language that intrigues me. It seems it has a good deal of protections and clever structures to prevent problems that other languages have. And it usually outperforms C (at least, in the Euler tests).
But I really never really "got" the language just reading Rust By Example and The Rust Programming Language. So I bought this book.
Sure, it goes slowly to teach you the light intricacies of the language, but it never, in any point, goes deep into it, which is really annoying. It tries to pick a subject to tell how to code in Rust (using a theoretical game), but it never completes it. You never see the final product of all the stuff it was just explained. And some examples have nothing to do with it.
The problem with shallowness of the book gets exponentially worse when talking to complex subjects, like threading and unsafe blocks. Because it never goes too deep, you end up handing with simple threads the basically just add numbers, nothing something so complex that would actually require threads in the first place.
Also, it seems the book was not reviewed. There is one paragraph saying one thing (traits can't have implementations), just to, a few paragraphs later, showing exactly the opposite (like a trait with an implementation). There are two "We'll see X in the next section" with said next section just below it.
It's an ok introduction to Rust, but it goes short in several places.
Its a pretty solid initial introduction to Rust. I used this as a primer for some of the books that are available online from the Rust community and for that purpose it was perfectly adequate.
Contrariamente ad altri commenti qui su goodreads, ho trovato questo manuale molto più chiaro e ben organizzato rispetto a quello ufficiale.
Pur dando per scontato i fondamenti della programmazione (cosa siano una variabile e un ciclo, per esempio), procede velocemente ma in modo molto chiaro a spiegare i concetti del linguaggio, e contiene molte informazioni completamente assenti nel manuale ufficiale.
Diventa sempre più vago verso la fine, purtroppo, lasciando un po' troppi dubbi sulle parti più avanzate del linguaggio, ma probabilmente la loro trattazione completa avrebbe richiesto almeno altri due manuali della dimensione di questo.
This is a sufficient guide for learning the new Rust programming language. It's not very well written, and it doesn't cover very much, but it will give you the gist. It describes most of the basic concepts, but glosses over them too much for my tastes. It suffers from the same problems that the official Rust book has, which makes me wonder if he just took that book and re-wrote it in his own words. Cha-ching! Still, it did help me understand one or two things that have vexed me before, which I feel is sufficient to earn 3-stars. The author is not very good with English--there are many basic grammar mistakes--which I guess is fine, but doesn't this publisher hire any editors?
This book was a great introductory into the world of Rust for programmers. It covered a brief overview of the unique aspects of Rust. This was not an in depth introduction to programmer, so it would be very terse for beginners.
This "essential" book was extremely helpful in my understanding of Rust grammar, syntax, and pragmatics. Thanks Ivo for writing an extremely concise, no-bullshit book.