Programming Rust
Fast, Safe Systems Development
Publisher: O'Reilly Media
Final Release Date: March 2016
Pages: 400

With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters are available, and the final ebook bundle is released.

This practical book introduces systems programmers to Rust, the new and cutting-edge language. You’ll learn how Rust offers the rare and valuable combination of statically verified memory safety and low-level control—imagine C++, but without dangling pointers, null pointer dereferences, leaks, or buffer overruns.

Author Jim Blandy—a former maintainer of GNU Emacs and GNU Guile—demonstrates how Rust has the potential to be the first usable programming language that brings the benefits of an expressive modern type system to systems programming. Rust’s rules for borrowing, mutability, ownership, and moves versus copies will be unfamiliar to most systems programmers, but they’re key to Rust’s unique advantages.

This book presents Rust’s rules clearly and economically; elaborates on their consequences; and shows you how to express the programs you want to write in terms that Rust can prove are free of broad classes of everyday errors.

Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming Rust
 
4.6

(based on 13 reviews)

Ratings Distribution

  • 5 Stars

     

    (9)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Well-written (12)
  • Helpful examples (11)
  • Easy to understand (10)
  • Accurate (9)
  • Concise (8)

Cons

No Cons

Best Uses

  • Intermediate (11)
  • Novice (6)
  • Expert (4)
    • Reviewer Profile:
    • Developer (12), Sys admin (3)

Reviewed by 13 customers

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

A must read if you are serious about Rust

By Freinn

from Spain

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Programming Rust:

    The title is misleading. This isn't a book about Rust. That's what you will learn here:

    - Calculus, how and why complex numbers rule the world we perceive.
    - You could lose your boat because of the inconceivable evil of the banks.
    - Oriental food clearly tastes better than Rust, and even better than the monoingredient salads.
    - It offers a scientific, complete and infallible criterion to find out if a language is functional, based on the empirical test.
    - In the last part of last chapter, you are taught to do a "hello world" in Rust, to completelly justify the purchase of this book.

    This is the humour sense that made me enjoy this book a lot.

    Jokes appart, this book is awesome. Is a little gem that only needs a little polishment because it's an early release version. I've not finished all chapters but worked them until chapter 13.

    My advices are:

    - Read chapters 4 and 5 with pen(cil) and paper. For mediocre minds like mine a text editor simply doesn't suffice.
    - Do you think Rust is ugly? The first time I've readed Rust code I thought that, and still I do. But Rust is magic. I come from a Haskell background so some concepts are easier for me to grasp because I've grasped them before, but with an arsenal composed by:

    - This book (first read)
    - The Rust book (official, online)
    - Stack Overflow & IRC for doubts.

    You can achieve an excellent knowledge about what Rust is about and build awesome, fast things.

    The review is 5 stars clearly, because with some number of slow, careful readings you can learn rust to the crate-building level, and learn how the low level part of Rust works for using it in your profit.

    (0 of 1 customers found this review helpful)

     
    5.0

    Provides a detailed introduction to the language.

    By Niklas

    from Sweden

    About Me Developer

    Verified Buyer

    Pros

    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Novice

      Comments about oreilly Programming Rust:

      Easy read, that contains numerous useful examples.

      (2 of 2 customers found this review helpful)

       
      5.0

      Great book - wrote 1st non-trivial program after 1chapter

      By Timo

      from Mannheim, Germany

      About Me Developer, Maker

      Verified Reviewer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

          Comments about oreilly Programming Rust:

          I really like that books starts with couple of example, which demonstrate language's features so elegant way, for example mandlebrot with plots to demonstrate thread-safety;

          The book was easy to read and it explained the language core (e.g borrowing, reference and error handling) very clear way; KUDOS to authors!

          (1 of 2 customers found this review helpful)

           
          5.0

          Excellent, taking into account such fast moving target

          By Paul Kraszewski

          from Warsaw, Poland

          About Me Designer, Developer, Educator, Maker, Sys Admin

          Verified Buyer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • In-depth
          • Up-to-date
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice

            Comments about oreilly Programming Rust:

            Review of a book still in-writing is a bit early request. Despite still incomplete, this book is the best of all Rust books currently on market (and I've read them all). Excluding Rustonomicon, it is the most in-depth Rust manual, yet starting from reasonably low prior-knowledge requirements.

            It's really hard to write an up-to-date book for such fast moving target as Rust is. Especially in the situation, that plenty of tools and libraries base on Rust-nightly features, making it even more volatile destination.

            One thing I'm missing is some sort of stdlib guide/map/summary - something like second half of Ruby "pickaxe" book. I understand this would make the book obsolete at a much faster pace, though.

            (1 of 1 customers found this review helpful)

             
            4.0

            A detailed and good written reference for the Rust language

            By Florian

            from Berlin, Germany

            About Me Fullstack Devops

            Verified Buyer

            Pros

            • Helpful examples
            • Well-written

            Cons

            • Too Rust Idiomatic

            Best Uses

            • Expert
            • Intermediate

            Comments about oreilly Programming Rust:

            I used this book to start learning Rust after feeling a bit overwhelmed by the online Resources. I have strong background in dogmatic object oriented languages like C++, Java and so on.

            The currently available chapters were a very good read and the examples were easy to reproduce and understand.

            Nevertheless i had some difficulties to figure out how to map more dogmatic object oriented concepts into Rust's very lightweight implementation of data binding and inheritance.

            By reading the book understanding the importance and role of probably the most central concept of Rust Patterns was the most challenging problem to overcome. After that programming Rust turned out to become a real joy. Thank you very much!

            (5 of 10 customers found this review helpful)

             
            3.0

            Examples often don't compile

            By Brayden

            from Saskatoon, SK

            About Me Developer

            Verified Reviewer

            Pros

            • Accurate
            • Concise
            • Easy to understand
            • Well-written

            Cons

            • Too many errors

            Best Uses

            • Intermediate

            Comments about oreilly Programming Rust:

            It's a great book, and I can forgive the examples not compiling because it's still an early-release book. However, for beginners like myself who want to actually compile the example, then tweak the code to see what happens, this book lacks a little bit. It takes quite a bit of effort to get the examples to compile.

            (4 of 4 customers found this review helpful)

             
            5.0

            Best Introduction to Rust so far

            By Sal Mangano

            from Oyster Bay , NY

            About Me Developer

            Pros

            • Accurate
            • Easy to understand
            • Well-written

            Cons

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Programming Rust:

              Even though I bought the incomplete early access e-book it has proven to be the resource I was looking for in order to get over the Rust learning curve. I finally feel confident that I can start a significant Rust project and avoid most of the pitfalls I know I would encounter if I relied solely on the docs. The author has a good writing style and a good command of the Rust language. I can't wait until more chapters become available.

              (4 of 4 customers found this review helpful)

               
              5.0

              Adds depth to understanding

              By Steve

              from Saint Louis

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate

                Comments about oreilly Programming Rust:

                A great example of a book that doesn't patronize, and that does not skimp on conveying real understanding. Having read the free books and got a start into Rust, this book adds real depth. Great work so far!

                (5 of 5 customers found this review helpful)

                 
                5.0

                Must Read if you are developing in Rust

                By Venkat

                from Sunnyvale California

                About Me Developer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Must Read
                • Well-written

                Cons

                  Best Uses

                  • Intermediate
                  • Novice

                  Comments about oreilly Programming Rust:

                  I have started reading this book through Early access. I have read first 5 chapters. Even with that I can confidently say, if you are planning to use Rust in development, this book is must read. I can't wait for the rest of the book to be available. Authors do a thorough job of explaining concepts and giving concise examples. I wish they will write more such books in Rust in future.

                  (3 of 3 customers found this review helpful)

                   
                  4.0

                  Lots of good details

                  By chas

                  from San Marcos, TX

                  About Me Developer, Sys Admin

                  Verified Buyer

                  Pros

                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Programming Rust:

                    I got this during the early edition, and I already cannot wait for the next chapters to come out. As a beginner to Rust I found this book very useful. The graphics are very helpful to getting a visual understanding of different borrowing type restrictions. There is much to Rust that is going on, and the simple syntax can actually be misleading. I can see why it can be such a joy to work in this language, because many of the features of the language work so well together that the code can look so simple. One example is the Rust try! macro. By taking advantage of the the type system Rust reminds me how simple Haskell makes dealing with errors as they seem to just flow through the code as the type system helps you handle them in an elegant way. Both Go and Rust make you deal with all errors, however, I find in Go the first thing many programmers try to do is find a way to simplify all the error checking. Rust can do this naturally for you. There has been much detail presented in each Chapter I've read so far, and I can already tell when the book is finished I will have to read it all over again to try to cement in each the concepts presented. I believe it will make me a much more proficient Rust programmer.

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Pre-Order  Print:  $59.99
                    July 2017 (est.)