Switch branches/tags
Nothing to show
Find file History
steveklabnik copy second edition to 2018 edition
Also update the GitHub links of first and second edition
Latest commit acc5ee2 Apr 5, 2018
Permalink
..
Failed to load latest commit information.
theme Second edition is now the definitive edition Feb 21, 2018
README.md copy second edition to 2018 edition Apr 5, 2018
SUMMARY.md import first draft of TRPL Mar 3, 2017
associated-types.md import first draft of TRPL Mar 3, 2017
attributes.md fix some links Mar 15, 2017
bibliography.md fix(bibiliography): link to thesis by Florian Apr 29, 2017
borrow-and-asref.md Fix up even more links in the first edition. Mar 15, 2017
casting-between-types.md Rename C-like enum to Field-less enum Nov 22, 2017
chapter_1.md import first draft of TRPL Mar 3, 2017
choosing-your-guarantees.md fix typos Jan 11, 2018
closures.md Check that we don't use any unstable features. Mar 23, 2017
comments.md import first draft of TRPL Mar 3, 2017
concurrency.md fix typo Jan 11, 2018
conditional-compilation.md import first draft of TRPL Mar 3, 2017
const-and-static.md Fixed statement about static and Sync Jan 29, 2018
crates-and-modules.md 1st edition: change either-or sequence for improved clarity Apr 5, 2017
deref-coercions.md fix some links Mar 15, 2017
documentation.md Update book to Mar 20, 2017
drop.md fix some links Mar 15, 2017
effective-rust.md import first draft of TRPL Mar 3, 2017
enums.md import first draft of TRPL Mar 3, 2017
error-handling.md Remove description from error handling Apr 1, 2018
ffi.md Add missing syntax highlighting in Variadic Macros sexion in FFI Mar 2, 2018
functions.md import first draft of TRPL Mar 3, 2017
generics.md Fix up even more links in the first edition. Mar 15, 2017
getting-started.md import first draft of TRPL Mar 3, 2017
glossary.md fix one more link Mar 20, 2017
guessing-game.md Add spaces around the = sign in dependencies Apr 19, 2017
if-let.md import first draft of TRPL Mar 3, 2017
if.md import first draft of TRPL Mar 3, 2017
iterators.md Clarify value of base on first iteration of fold Jun 2, 2017
lifetimes.md Fix Rust ignore sections. Jul 22, 2017
loops.md Update loops.md Mar 26, 2017
macros.md Grammar improvements of #731 Jun 1, 2017
match.md import first draft of TRPL Mar 3, 2017
method-syntax.md import first draft of TRPL Mar 3, 2017
mutability.md Fix an inconsitent coding style May 6, 2017
operators-and-overloading.md Fix up even more links in the first edition. Mar 15, 2017
ownership.md import first draft of TRPL Mar 3, 2017
patterns.md import first draft of TRPL Mar 3, 2017
primitive-types.md Fix up even more links in the first edition. Mar 15, 2017
procedural-macros.md Fix misindent and comment text spacing on Procedural Macros page Feb 21, 2018
raw-pointers.md Fix up even more links in the first edition. Mar 15, 2017
references-and-borrowing.md Remove superfluous return May 9, 2017
release-channels.md fix typo Jan 12, 2018
strings.md Fix up even more links in the first edition. Mar 15, 2017
structs.md Fix Rust ignore sections. Jul 22, 2017
syntax-and-semantics.md import first draft of TRPL Mar 3, 2017
syntax-index.md fix refence to byte-and-byte-string-literals May 13, 2017
testing.md Update book to Mar 20, 2017
the-stack-and-the-heap.md Fix unit abbreviation Mar 14, 2018
trait-objects.md Fix up even more links in the first edition. Mar 15, 2017
traits.md Rename normal and inverse functions Mar 28, 2017
type-aliases.md Fix up even more links in the first edition. Mar 15, 2017
ufcs.md import first draft of TRPL Mar 3, 2017
unsafe.md Update Unstable Book links to reflect to new layout. Apr 17, 2017
unsized-types.md import first draft of TRPL Mar 3, 2017
using-rust-without-the-standard-library.md Update Unstable Book links to reflect to new layout. Apr 17, 2017
variable-bindings.md Fix up even more links in the first edition. Mar 15, 2017
vectors.md Fix up even more links in the first edition. Mar 15, 2017

README.md

The Rust Programming Language

Welcome! This book will teach you about the Rust Programming Language. Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages aren’t good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. It improves on current languages targeting this space by having a number of compile-time safety checks that produce no runtime overhead, while eliminating all data races. Rust also aims to achieve ‘zero-cost abstractions’ even though some of these abstractions feel like those of a high-level language. Even then, Rust still allows precise control like a low-level language would.

“The Rust Programming Language” is split into chapters. This introduction is the first. After this:

Source Code

The source files from which this book is generated can be found on GitHub.