Programming with Rust, 1st edition

Published by Addison-Wesley Professional (8 December 2023) © 2024

  • Donis Marshall
Products list

Access details

  • Instant access once purchased
  • Fulfilled by VitalSource

Features

  • Add notes and highlights
  • Search by keyword or page
Products list

Access details

  • Instant access once purchased
  • Fulfilled by VitalSource

Features

  • Add notes and highlights
  • Search by keyword or page

Title overview

Build your Rust programming skills from the fundamentals through the language features that shape how Rust code works. Programming with Rust takes an accessible, example-rich approach, beginning with core concepts before progressing to ownership, lifetimes, references, traits, patterns and memory. You'll explore the techniques and mindset behind Rust while learning how to handle errors, organise code with modules and work with concurrency. Short, focused chapters make complex concepts easier to approach, helping you develop practical Rust skills whether you're new to programming with Rust or an experienced developer adding it to your toolkit.

Develop the skills to write and understand Rust programs while gaining confidence with its distinctive approach to programming. You'll work with variables, strings, collections, functions and control flow before tackling ownership, lifetimes, generics, closures and traits. Explore threads, memory and macros, along with practical topics including unit testing, unsafe code and Rust's development tools. You'll also learn how to interoperate with legacy code bases, giving you a foundation for applying Rust alongside existing technologies and expanding your capabilities as a developer.

Who It's For

For newcomers and professional developers alike, including developers at all levels who want to learn Rust from the basics through its more advanced language features and practical development techniques.

Table of contents

  • Chapter 1: Introduction to Rust
  • Chapter 2: Getting Started
  • Chapter 3: Variables
  • Chapter 4: Strings
  • Chapter 5: Console
  • Chapter 6: Control Flow
  • Chapter 7: Collections
  • Chapter 8: Ownership
  • Chapter 9: Lifetimes
  • Chapter 10: References
  • Chapter 11: Functions
  • Chapter 12: Error Handling
  • Chapter 13: Structures
  • Chapter 14: Generics
  • Chapter 15: Patterns
  • Chapter 16: Closures
  • Chapter 17: Traits
  • Chapter 18: Threads 1
  • Chapter 19: Threads 2
  • Chapter 20: Memory
  • Chapter 21: Macros
  • Chapter 22: Interoperability
  • Chapter 23: Modules

Need help?Get in touch