Search results
The Rust Programming Language. by Steve Klabnik and Carol Nichols, with contributions from the Rust Community. This version of the text assumes you’re using Rust 1.76.0 (released 2024-02-08) or later. See the “Installation” section of Chapter 1 to install or update Rust.
- The Rust Programming Language
The Rust Programming Language. by Steve Klabnik and Carol...
- Foreword
Foreword. It wasn’t always so clear, but the Rust...
- Introduction
The Rust language hopes to support many other users as well;...
- 1 Getting Started
The Rust Programming Language. Getting Started. Let’s start...
- 2 Programming a Guessing Game
A few of Rust’s number types can have a value between 1 and...
- 5 Using Structs to Structure Related Data
Using Structs to Structure Related Data. A struct, or...
- 6 Enums and Pattern Matching
Enums and Pattern Matching. In this chapter, we’ll look at...
- 7 Managing Growing Projects with Packages, Crates, and Modules
The Rust Programming Language. Managing Growing Projects...
- 10 Generic Types, Traits, and Lifetimes
Generic Types, Traits, and Lifetimes. Every programming...
- The Rust Programming Language
Rust is a multi-paradigm, general-purpose programming language that emphasizes performance, type safety, and concurrency. It enforces memory safety—meaning that all references point to valid memory—without a garbage collector.
- Graydon Hoare
- 1.73.0, / October 5, 2023; 9 days ago
- May 15, 2015; 8 years ago
People also ask
Is rust a programming language?
Why is rust a foreign function interface?
What's new in the 2018 edition of the Rust language?
When did rust become a Linux language?
Welcome to The Rust Programming Language, an introductory book about Rust. The Rust programming language helps you write faster, more reliable software. High-level ergonomics and low-level control are often at odds in programming language design; Rust challenges that conflict. Through balancing powerful technical capacity and a great
- 2015
- 2016
- 2017
- 2018
- 2019
- 2020
1.2 — Parallel Codegen:Compile time improvements are a large theme to everyrelease of Rust, and it's hard to imagine that there was a short time whereRust had no parallel code generation at all. 1.3 — The Rustonomicon:Our first release of the fantastic "Rustonomicon", abook that explores Unsafe Rust and its surrounding topics and has become a great...
1.6 — Libcore: libcoreis a subset of the standard library that onlycontains APIs that don't require allocation or operating system level features.The stabilization of libcore brought the ability to compile Rust with no allocationor operating system dependency was one of the first major steps towards Rust'ssupport for embedded systems development. 1...
1.15 — Derive Procedural Macros: Derive Macros allow you to create powerfuland extensive strongly typed APIs without all the boilerplate. This was thefirst version of Rust you could use libraries like serde or diesel'sderive macros on stable. 1.17 — Rustbuild: One of the biggest improvements for our contributors tothe language was moving our build ...
1.24 — Incremental Compilation:Before 1.24 when you made a change in yourlibrary rustc would have to re-compile all of the code. Now rustc is a lotsmarter about caching as much as possible and only needing to re-generatewhat's needed. 1.26 — impl Trait: The addition of impl Traitgives you expressivedynamic APIs with the benefits and performance of ...
1.34 — Alternative Crate Registries:As Rust is used more and more inproduction, there is a greater need to be able to host and use your projectsin non-public spaces, while cargo has always allowed remote git dependencies,with Alternative Registries your organisation can easily build and share yourown registry of crates that can be used in your proj...
1.42 — Subslice patterns: While not the biggest change, the additionof the ..(rest) pattern has been a long awaited quality of lifefeature that greatly improves the expressivity of pattern matchingwith slices.
Aug 12, 2019 · Generics, smart pointers, multithreading, trait objects, and advanced pattern matching. Using Cargo, Rust's built-in package manager, to build, test, and document your code and manage...
Chapter 1 explains how to install Rust, how to write a “Hello, world!” program, and how to use Cargo, Rust’s package manager and build tool. Chapter 2 is a hands-on introduction to writing a program in Rust, having you build up a number guessing game.
Jul 10, 2018 · The Rust Programming Language fully embraces Rust’s potential to empower its users. This friendly and approachable guide will help you build not only your knowledge of Rust but also your...