3 ms·
Author here. Didn't really want to post this to the wider programming community yet, but oh well. This is basically the first draft. Lots of errors and TODOs.
by Gankro 11y ago
Author here. Didn't really want to post this to the wider programming community yet, but oh well.
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 https://github.com/rust-lang/rust/tree/master/src/doc/tarpl
- Analemma_ 11y agoNo problem! Is there someplace we can go to be alerted when it is ready?
- Gankro 11y agoSo 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.
- adamnemecek 11y agoChanged the title to "The Advanced Rust Programming Language Book Draft". Better :-)?
- Gankro 11y agoThanks!
- evmar 11y agoIn 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.
- Gankro 11y agoEven 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 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.
- themartorana 11y agoAgreed. 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...)
- dang 11y agoIf 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.
- Gankro 11y agoEh, I'm already at the top of HN. :P More eyes to find errors before it makes into the beta channel, hopefully!