]> git.proxmox.com Git - rustc.git/blob - src/doc/edition-guide/src/rust-2018/documentation/new-editions-of-the-book.md
New upstream version 1.53.0+dfsg1
[rustc.git] / src / doc / edition-guide / src / rust-2018 / documentation / new-editions-of-the-book.md
1 # New editions of the "the book"
2
3 ![Minimum Rust version: 1.26](https://img.shields.io/badge/Minimum%20Rust%20Version-1.26-brightgreen.svg) for the final version of the second edition
4
5 ![Minimum Rust version: 1.31](https://img.shields.io/badge/Minimum%20Rust%20Version-1.31-brightgreen.svg) for the 2018 edition
6
7 We've distributed a copy of "The Rust Programming Language," affectionately
8 nicknamed "the book", with every version of Rust since Rust 1.0.
9
10 However, because it was written before Rust 1.0, it started showing its age.
11 Many parts of the book are vague, because it was written before the true
12 details were nailed down for the 1.0 release. It didn't do a fantastic job of
13 teaching lifetimes.
14
15 Starting with Rust 1.18, we shipped drafts of a second edition of the book.
16 The final version was shipped with Rust 1.26. The second edition is a complete
17 re-write from the ground up, using the last two years of knowledge we’ve
18 gained from teaching people Rust.
19
20 You can purchase [a printed version of the second edition from No Starch
21 Press](https://nostarch.com/Rust). Now that the print version has shipped, the
22 second edition is frozen.
23
24 As of 1.31, the book has been completely updated for the 2018 Edition release.
25 It's still pretty close to the second edition, but contains information about
26 newer features since the book's content was frozen. Additionally, instead of
27 publishing separate editions of the book, only the latest version of the book
28 is published online. You’ll find brand-new explanations for a lot of Rust’s
29 core concepts, new projects to build, and all kinds of other good stuff.
30 Please [check it out](https://doc.rust-lang.org/book/index.html) and let us
31 know what you think!