"programming Rust" book, paper versions shipping yet?


#12

Which points to either good or bad market research, Germany is a huge sub-community.


#13

Heh–I thought that maybe you’d be entitled to the first copy off the press!

Edit: nvm–just realized this is the O’Reilly book. :slight_smile:


#14

I live in the U.S. and got my copy around Jan 4th via Amazon. So far, I’ve gotten to chapter 16. I’ll probably share a more complete review once I finish.

My literal first impressions of “Programming Rust” is that it’s physically thicker than I expected for a first edition. In terms of actual content, I’m really enjoying it right now. The book does a good job at comprehensively introducing each feature of the language. For instance, the chapter on Iterator walks through almost all of the adapters and shows examples of each one at work. Speaking of examples, this book has a lot of diagrams and pictures in it! Probably my favorite things about it that I couldn’t get out of TRPL are the pictures of data structures (roughly) laid out in memory. The book is very visual and detailed, as a result I’ve been enjoying finding out about details of the language that I probably should know, but just never ended up learning. Best example of this would be the Utility Trait chapter that goes through all the weird traits that seem to be implemented for everything, but don’t obviously belong to the api of a well known std module like net, io, vec, or sync. Traits like AsRef, Borrow, From, Deref, etc. It walks through them all and explains why they’re useful. I also found the chapter on closures pretty helpful as it gives a good walk-through of FnOnce, FnMut, and Fn.

I’m somewhere between a beginner and an intermediate with Rust and I found this book to be a good review of the language for someone looking to call themselves an Intermediate. Much of it was stuff I already learned via either programming Rust on my own, reading parts of TRPL, and reading Stack Overflow answers. But even then, it filled a lot of holes in my understanding. Much of Rust’s online documentation is designed non-linearly around hyperlinks in some way, shape, or form, making it easy to casually perused, but unlikely to provide 100% coverage in understanding. It’s easy to get distracted and miss something. Programming Rust reveled many details about the language I just never got around to learning that I probably should have learned sooner. Stuff like the From and Into trait. It really helps that I’m actively working on a project right now, because every detail that the book teaches me is not so much a pedantic summary of a language feature, but more of a “Did You Know” discussion of the language - and I found myself discovering a lot of odd things that had clear practical value to my code in the immediate future.

The book is also quite funny and breaks up the long expanses of exposition with humorous examples and asides. As someone who doesn’t find reading textbooks to be the most electrifying form of reading, I found the timbre and tone of the book to be quite pleasant. The book was a cozy companion to my curiosity during the snow storm that hit the east coast early January.

The one thing it’s missing that other books of its ilk tend to include are mini-projects and exercises. Programming Rust has some cool projects at the beginning of the book, most notably the Mandelbrot set rendering program, but past that the book sticks to short code examples, tables, and diagrams. I’m not complaining (I love the diagrams!), but I felt I should point this out in case you find the utility of exercises important and/or like understanding concepts by tinkering with the code of a self-contained program. This is not the O’Reilly edition of Rust by Example.

Overall, I like this book a lot so far and would definitely recommend it to any beginner whose already written a fair amount of Rust code and is looking for a comprehensive and concrete walk-through of the Rust programming language.


#15

Hi,

Does anyone know if there’s also DRM free version of the book available? I would prefer not to buy Kindle version as much as possible.


#16

can confirm it is a regional issue :frowning: mine is listed as 5-6 Feb (preordered somewhen september/october). Amazon Germany :frowning:


#17

Programming Rust has already sold out its first printing. The second printing seems to be available and shipping now.

I have no idea how international distribution works. Apparently the length of the book constrains which printing companies can handle it.

I’m still waiting for my local bookstore (Powell’s Books) to stock it!


#18

Thanks very much for the kind words! I’m glad to hear the book has been useful to you.

Chapters 20 and 21, on concurrency and unsafe code, have more extended examples. Some have substantial parts that aren’t directly related to the chapter’s material, so we omit them, but the full code is available on https://github.com/ProgrammingRust/.


#19

I ordered mine on Jan 3rd from amazon.com, it arrived in England on Jan 16th.

Pretty quick turnaround!


#20

@infynyxx The book is available DRM-free in ePUB or PDF format on Google Play at https://play.google.com/store/books/details/Jim_Blandy_Programming_Rust?id=hcc_DwAAQBAJ

You may want to check the Free Sample first before purchasing.


#21

Oh! Congratulations :book: :heart:
Must be a nice feeling as author!

I’m looking forward to it even more after all the feedback here :smile:


#22

I ordered it last September/October time frame of 2017. It arrived about 2 weeks ago. So far has been a great book. However, there are some others out there that I started reading last year that have served me well too. There are three of them published by Packt but here is a link to one of them.


#23

Got mine from Amazon.de on Saturday. Yay! :fireworks:


#24

Got mine last week, really liking it so far. I’m relatively new to systems programming and I feel like Rust is gradually softening the learning curve. The book is good for beginners but can also serve a sort of structured reference for those who flip around and focus on different topics. Keep up the good work!


#25

Hi Lawrence

I am new to systems programming too, just wondering what resources you’re using to get going with systems programmming, outside of the rust books and exercism


#26

Hi Jonny,

Studying Go or another successor-to-C/C++ language like D, Nim, Crystal etc. can help understand primitive types, memory management and coroutines, plus the ability to play around with a somewhat more mature package ecosystems (Go’s package library is enough to keep one busy for a long time.)

I also think learning at least a little C/C++ to understand what influenced the creation of Rust is a worthy exercise. I love Rust because it distills wisdom gained from years of systems programming and manual memory management.


#27

I purchased mine from Amazon USA on 18 January and received it in Australia on 22 January. The copyright page shows it’s the second release dated 2018-01-05.


#28

Regarding the availability in Germany, I now feel quite happy by having bought the ebook’s draft version a loooong time ago :grinning:


#29

I’ve considered the eDraft quite a few times as well, but in the end stuck to my dead-tree decision.

Something about sunk cosycost, or something :wink:


#30

Got mine today (Sweden) and also second release for my part. Looking forward to read it :slight_smile:


#31

Heads up: the ebook of Programming Rust is available as part of the Functional Programming Bundle by Humble Bundle at https://www.humblebundle.com/books/functional-programming-books. The ebook is DRM free and available in ePUB, pdf and MOBI formats.

You’ll need to pay at least $15 to unlock Programming Rust.

This is a time-limited bundle and expires 13 days from the time I post this.