Live data from Hacker News

Next Iteration of “The Rust Programming Language” Book

rust-lang.github.io

31–40 of 111 posts

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

#31

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…

As others have said; Rust is very stable now.

I started trying to learn Rust at 0.7 (maybe a bit earlier, I can only find references to 0.7 in a few projects of mine). Boy howdy did that feel like an exercise in futility. I would set it aside for 3 weeks, revisit it, and find entire language constructs had been removed. I complained about this and Steve Klabnik graciously reminded me that it was a work in progress and that the work was being done out in the open intentionally. I really can't thank him enough for that since it caused me to go from frustrated to sympathetic. As a result I decided to not write the language off. And I'm glad I didn't. After things slowed down around the betas for 1.0 it became clear that Rust was worth learning. I haven't had a chance to use it professionally, but for personal projects I find myself reaching for Rust for problems that would have caused me to have reached for C in the past.

Also, Google has gotten significantly better about returning current and up to date information on Rust as well. Around 2013-2014 my biggest gripe was that I'd search for how to do something only to find advice that was woefully out of date. I haven't had that experience in well over a year now.

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

#32
I had tried running Rust for a few months now, but it didn't really clicked until I went through this book.

Thanks to the great explanations of the concepts of rust, the helpful exercises and examples, I have not only since been able to contribute to the RustLang, but also am in the process of a PR for Servo, created a website using rocket.rs, and started using Rust at work.

It's definitely true that the initial hump of learning Rust was more intense than other languages such as Python, but this book helped to alleviate a lot of the initial pain.

Thanks carols10cents & steveklabnik!

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

#33
People should know this isn't ready, and they should continue to use the current book. Chapers like this are just notes:

https://rust-lang.github.io/book/ch17-00-oop.html

This doesn't help anybody. Continue to use the rust book at:

https://doc.rust-lang.org/doc/stable/book/

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

#34
post #32

I had tried running Rust for a few months now, but it didn't really clicked until I went through this book. Thanks to the great explanations of the concepts of rust, the helpful exercises and examples, I have not only since been able to contribute to the RustLang, but also am in the process of a PR for Servo, created a website using rocket.rs, and started using Rust at work. It's definitely true that the initial hump…

Which book did you read this one or the stable one:

https://doc.rust-lang.org/doc/stable/book/

They aren't the same.

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

#35

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…

As others have said; Rust is very stable now. I started trying to learn Rust at 0.7 (maybe a bit earlier, I can only find references to 0.7 in a few projects of mine). Boy howdy did that feel like an exercise in futility. I would set it aside for 3 weeks, revisit it, and find entire language constructs had been removed. I complained about this and Steve Klabnik graciously reminded me that it was a work in progress an…

I started to write a VM in Rust and every weekend, when I managed to get some time for work it would usually no longer work and the reason for it had to be found in some mailing list or commit message.

I had to stop doing that and rewrote it in C.

'Fortunately' we had some other problems as well but Im still hopeful that Rust is the language you want to use for this in the future.

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

#37
post #33

People should know this isn't ready, and they should continue to use the current book. Chapers like this are just notes: https://rust-lang.github.io/book/ch17-00-oop.html This doesn't help anybody. Continue to use the rust book at: https://doc.rust-lang.org/doc/stable/book/

14 out of 20 chapters have at least a draft, so this is still useful, even if it's not complete. I generally tell people to start here and then go read the old book afterwards to get the stuff that's not there yet, if they have the energy.

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

#38
post #32

I had tried running Rust for a few months now, but it didn't really clicked until I went through this book. Thanks to the great explanations of the concepts of rust, the helpful exercises and examples, I have not only since been able to contribute to the RustLang, but also am in the process of a PR for Servo, created a website using rocket.rs, and started using Rust at work. It's definitely true that the initial hump…

You're very welcome! It means a lot to me that the book has helped you so much!! <3

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

#39
post #36

Is it possible to make a PDF or an offline version? Sometimes i like to read these sort of things while i'm on the train etc. I struggled to get the current rust book working on my ipad on the train without signal.

The current rust docs should be able to be installed offline; they used to come by default but now you need to run a rustup command.

Eventually we'll provide a PDF of this, but the HTML should work offline. This edition might need some tweaks first; it's a priority for me though.

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

#40
post #36

Is it possible to make a PDF or an offline version? Sometimes i like to read these sort of things while i'm on the train etc. I struggled to get the current rust book working on my ipad on the train without signal.

Good news! NoStarch will be printing an offline version soon ;)

Since we're concentrating on getting the text ready for print, we haven't been able to get pdf/offline reading working yet. https://github.com/rust-lang/book/issues/218

Post reply on HN