Jump to ratings and reviews
Rate this book

Rust Essentials

Rate this book
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.

186 pages, Kindle Edition

First published May 27, 2015

11 people are currently reading
13 people want to read

About the author

Ivo Balbaert

16 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
5 (11%)
4 stars
18 (41%)
3 stars
15 (34%)
2 stars
5 (11%)
1 star
0 (0%)
Displaying 1 - 8 of 8 reviews
Profile Image for Julio Biason.
199 reviews28 followers
February 22, 2016
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.
1 review
November 29, 2017
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.
379 reviews10 followers
April 27, 2016
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.
421 reviews84 followers
December 17, 2015
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?
7 reviews
April 5, 2016
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.
Profile Image for Alvaro Tejada Galindo.
179 reviews5 followers
April 4, 2017
To be honest...the book is not bad...but if you have read the Book of Rust before...then this book doesn't really add that much...

My take is...if you're new to Rust...then this is a nice and small introduction...but if you already have some Rust experience...just move on...
Profile Image for Daniel Apatiga.
41 reviews1 follower
May 21, 2016
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.
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.