Live data from Hacker News

Next Iteration of “The Rust Programming Language” Book

rust-lang.github.io

11–20 of 111 posts

Re: Next Iteration of “The Rust Programming Language” Book

#11
I have found this book to be an excellent resource. Also I have been supplementing it with the oreilly book "Programming Rust" (early release at this point) which has also been great. http://shop.oreilly.com/product/0636920040385.do I have had very little experience with C style languages in the past and am mostly scripting until recently.

Re: Next Iteration of “The Rust Programming Language” Book

#12

Sigh. Looks like it's time for round 5 of time to learn Rust(my personal failing, not meant as a slight against the language at all). Has the pace of sweeping changes to the language slowed down in the past year? I rode the Ember train from 1.4 to now and it was an extremely ehausting process to get to 2.0 with nearly every version requiring frustrating architectural rewrites. The upgrade from 2.0 to 2.8 took like 15…

It's been, god, 3 years now since I've started writing large Golang applications and I've yet to look back on a project ~6 months later without noticing flaws in design/architecture/intuitiveness. You are not alone in your hurdles.

Re: Next Iteration of “The Rust Programming Language” Book

#13
post #5

This new book isn't finished yet, is it? If I remember correctly [0], there were several more chapters to go, and a likely timeline of months... [0] https://github.com/rust-lang/book/issues

It is not yet finished, no-- Chapters 15 to the end are merely outlines at this point.

Re: Next Iteration of “The Rust Programming Language” Book

#14

This book has been hugely helpful for me to get started in Rust. I've been following since the original "Rust for Rubyists" from Steve Klabnik. Steve if you are listening, thanks for putting all the hard work into the original book, the revision as The Rust Programming Language, and this most recent revision.

Thanks to Steve and also carols10cents for this excellent revision.

<3

Re: Next Iteration of “The Rust Programming Language” Book

#15
post #5

This new book isn't finished yet, is it? If I remember correctly [0], there were several more chapters to go, and a likely timeline of months... [0] https://github.com/rust-lang/book/issues

Definitely not finished yet. The complete text of Chapter 19 is currently:

  More Lifetimes
  Lifetimes that depend on other lifetimes

  'a: 'b stuff: subtyping
  Higher ranked trait bounds
   
  for
  
  Needed for closures

Re: Next Iteration of “The Rust Programming Language” Book

#16

Echo all the positives about the book. Thank you. I hope the quick link to the rust playground in the sample code stays around. Also curious, is this supposed to be reflected on Rust Stable at https://doc.rust-lang.org/stable/book/

The new revision of the book is using mdbook, which hasn't yet implemented playground support [1].

An RFC has recently been accepted to start the infrastructure of featuring the new book (and other resources) on doc.rust-lang.org/book, but the implementation isn't done yet. Soon!

[1] - https://github.com/azerupi/mdBook/issues/29 [2] - https://github.com/rust-lang/rfcs/blob/master/text/1828-rust...

Re: Next Iteration of “The Rust Programming Language” Book

#17

Another excellent book is "Programming Rust"[1], especially if you already know C/C++ 1 - http://shop.oreilly.com/product/0636920040385.do

I've been reading the early access version for a while now, and it is excellent. I hadn't had much luck with the "official" documentation, previously.

Jim Blandy's writing is an exemplar for good teaching technique, and this book is shaping up to be the go-to recommendation for learning Rust, in my opinion.

Re: Next Iteration of “The Rust Programming Language” Book

#18

Sigh. Looks like it's time for round 5 of time to learn Rust(my personal failing, not meant as a slight against the language at all). Has the pace of sweeping changes to the language slowed down in the past year? I rode the Ember train from 1.4 to now and it was an extremely ehausting process to get to 2.0 with nearly every version requiring frustrating architectural rewrites. The upgrade from 2.0 to 2.8 took like 15…

> Has the pace of sweeping changes to the language slowed down in the past year?

Up until Rust 1.0 in the spring of 2015, my Rust code broke once or twice a week. Since then, I've had zero breakage.

Re: Next Iteration of “The Rust Programming Language” Book

#19

I'm reading the section on ownership. Valgrind usually thinks my 'modern C++' code is leak free, and when it complains I understand why, so I'm not a complete stranger to systems programming. But for whatever reason I have always run into a brick wall with rusts strange compiler messages regarding lifetimes. I read the previous books bit on ownership. I'm not sure if this new version is better written or I've come ac…

Prior to the recent change to the error format, I found Rust's error messages incredibly obtuse too. It's gotten a lot better lately though.

Re: Next Iteration of “The Rust Programming Language” Book

#20

Sigh. Looks like it's time for round 5 of time to learn Rust(my personal failing, not meant as a slight against the language at all). Has the pace of sweeping changes to the language slowed down in the past year? I rode the Ember train from 1.4 to now and it was an extremely ehausting process to get to 2.0 with nearly every version requiring frustrating architectural rewrites. The upgrade from 2.0 to 2.8 took like 15…

> Has the pace of sweeping changes to the language slowed down in the past year? Absolutely, Rust has been stable since 1.0 released in May 2015 with a promise of backwards compatibility and has largely upheld that promise.

Yeah although that doesn't mean the language isn't changing. Just that your old 1.0 code will still work.
Post reply on HN