Re:The Advanced Rust Programming Language Book Draft
by adamnemecek on Thursday July 30, 2015 @09:51PM
(#9979482)
Changed the title to "The Advanced Rust Programming Language Book Draft". Better :-)?
Re:The Advanced Rust Programming Language Book Draft
by Gankro on Thursday July 30, 2015 @09:56PM
(#9979505)
Thanks!
Re:The Advanced Rust Programming Language Book Draft
by dang on Thursday July 30, 2015 @11:05PM
(#9979706)
If you'd prefer that we demote the post until the material is more ready, I think it's reasonable to offer an author that prerogative.
Re:The Advanced Rust Programming Language Book Draft
by Gankro on Friday July 31, 2015 @12:33AM
(#9979935)
Eh, I'm already at the top of HN. :P
More eyes to find errors before it makes into the beta channel, hopefully!
Re:The Advanced Rust Programming Language Book Draft
by Analemma_ on Thursday July 30, 2015 @09:48PM
(#9979471)
No problem! Is there someplace we can go to be alerted when it is ready?
Re:The Advanced Rust Programming Language Book Draft
by Gankro on Thursday July 30, 2015 @09:53PM
(#9979494)
So it's in nightly today, so barring a tragedy it will land in stable in ~8 weeks I think. I'll probably repost it everywhere when that happens.
This and The Book are living documents anyway -- they'll never be done. This just literally landed last night, though.
Re:The Advanced Rust Programming Language Book Draft
by evmar on Thursday July 30, 2015 @10:05PM
(#9979533)
In a book that opens with "Unlike The Rust Programming Language we will be assuming considerable prior knowledge", you don't need the simple ownership example.
Re:The Advanced Rust Programming Language Book Draft
by Gankro on Thursday July 30, 2015 @10:16PM
(#9979570)
Even if assuming considerable knowledge, it's nice to be able to refresh the reader on basics here and there. That text is largely just reserving the right to not explain everything (also I'm moving away from it in general).
Also: what example? There's like a hundred examples.
Edit: If you mean the examples here: https://doc.rust-lang.org/nightly/adv-book/ownership.html
They're a recurring example that we deconstruct in later sections. There's no need to make them needlessly complicated.
Re:The Advanced Rust Programming Language Book Draft
by themartorana on Thursday July 30, 2015 @10:50PM
(#9979662)
Agreed. I work in Go, JS, Python, bash, Lua, Objective-C, Java, and C# (among others) every week. Sometimes I need a quick refresher on the topic at hand.
(How many times I've put a colon at the end of a Lua function line...)
This is basically the first draft. Lots of errors and TODOs.
Source is here if you want to file issues or patches: https://github.com/rust-lang/rust/tree/master/src/doc/tarpl