Rust in Action, video edition

Video description

This well-written book will help you make the most of what Rust has to offer.
Ramnivas Laddad, author of AspectJ in Action

Rust in Action introduces the Rust programming language by exploring numerous systems programming concepts and techniques. You'll be learning Rust by delving into how computers work under the hood. You'll find yourself playing with persistent storage, memory, networking and even tinkering with CPU instructions. The book takes you through using Rust to extend other applications and teaches you tricks to write blindingly fast code. You'll also discover parallel and concurrent programming. Filled to the brim with real-life use cases and scenarios, you'll go beyond the Rust syntax and see what Rust has to offer in real-world use cases.

about the technology

Rust is the perfect language for systems programming. It delivers the low-level power of C along with rock-solid safety features that let you code fearlessly. Ideal for applications requiring concurrency, Rust programs are compact, readable, and blazingly fast. Best of all, Rust’s famously smart compiler helps you avoid even subtle coding errors.

about the book

Rust in Action is a hands-on guide to systems programming with Rust. Written for inquisitive programmers, it presents real-world use cases that go far beyond syntax and structure. You’ll explore Rust implementations for file manipulation, networking, and kernel-level programming and discover awesome techniques for parallelism and concurrency. Along the way, you’ll master Rust’s unique borrow checker model for memory management without a garbage collector.

what's inside

  • Elementary to advanced Rust programming
  • Practical examples from systems programming
  • Command-line, graphical and networked applications

about the audience

For intermediate programmers. No previous experience with Rust required.

about the author

Tim McNamara uses Rust to build data processing pipelines and generative art. He is an expert in natural language processing and data engineering.

Engaging writing style and crisp, easy-to-grasp examples help the reader get off the ground in no time.
Sumant Tambe, Linkedin

Rust in Action is remarkably polished!
Christopher Haupt, Swoogo

Makes it easy to explore the language and get going with it.
Federico Hernandez, Meltwater

I highly recommend this book to those who want to learn Rust.
Afshin Mehrabani, Etsy

NARRATED BY DEREK DYSART

Table of contents

  1. Chapter 1. Introducing Rust
  2. Chapter 1. A taste of the language
  3. Chapter 1. What does Rust look and feel like?
  4. Chapter 1. Goal of Rust: Safety
  5. Chapter 1. Rust’s big features
  6. Chapter 1. Where does Rust fit best?
  7. Part 1 Rust language distinctives
  8. Chapter 2. Language Foundations
  9. Chapter 2. Numbers
  10. Chapter 2. Floating-point hazards
  11. Chapter 2. Flow control
  12. Chapter 2. Defining functions
  13. Chapter 2. Creating grep-lite
  14. Chapter 2. Making lists of things with arrays, slices, and vectors
  15. Chapter 2. Including third-party code
  16. Chapter 3. Compound data types
  17. Chapter 3. Adding methods to a struct with impl
  18. Chapter 3. Making use of the Result return type
  19. Chapter 3. Implementing std::fmt::Display for your own types
  20. Chapter 4. Lifetimes, ownership, and borrowing
  21. Chapter 4. What is an owner? Does it have any responsibilities?
  22. Chapter 4. Duplicate the value
  23. Part 2 Demystifying systems programming
  24. Chapter 5. Data in depth
  25. Chapter 5. Understanding endianness
  26. Chapter 5. Isolating the exponent
  27. Chapter 5. Fixed-point number formats
  28. Chapter 5. Implementing a CPU to establish that functions are also data
  29. Chapter 5. CPU RIA/3: The Caller
  30. Chapter 6. Memory
  31. Chapter 6. Exploring Rust’s reference and pointer types
  32. Chapter 6. Rust’s pointer ecosystem
  33. Chapter 6. The stack
  34. Chapter 6. The heap
  35. Chapter 6. What is dynamic memory allocation?
  36. Chapter 6. Virtual memory
  37. Chapter 6. Translating virtual addresses to physical addresses
  38. Chapter 7. Files and storage
  39. Chapter 7. File operations in Rust
  40. Chapter 7. Actionkv v1: The front-end code
  41. Chapter 7. Validating I/O errors with checksums
  42. Chapter 7. Creating a HashMap and populating it with values
  43. Chapter 8. Networking
  44. Chapter 8. Trait objects
  45. Chapter 8. TCP
  46. Chapter 8. Ergonomic error handling for libraries
  47. Chapter 8. MAC addresses
  48. Chapter 9. Time and timekeeping
  49. Chapter 9. Encoding time
  50. Chapter 9. clock v0.1.2: Setting the time
  51. Chapter 9. clock v0.1.3: Resolving differences between clocks with the Network Time Protocol (NTP)
  52. Chapter 10. Processes, threads, and containers
  53. Chapter 10. Reproducing the results
  54. Chapter 10. Single-threaded render-hex overview
  55. Chapter 10. Using a thread pool and task queue
  56. Chapter 10. Concurrency and task virtualization
  57. Chapter 11. Kernel
  58. Chapter 11. Source code listings
  59. Chapter 11. Writing to the screen with VGA-compatible text mode
  60. Chapter 11. fledgeos-3: Text output
  61. Chapter 12. Signals, interrupts, and exceptions
  62. Chapter 12. Signal handling
  63. Chapter 12. Global variables in Rust
  64. Chapter 12. Shutting down from deeply nested call stacks
  65. Chapter 12. Casting a pointer to another type

Product information

  • Title: Rust in Action, video edition
  • Author(s): Tim McNamara
  • Release date: June 2021
  • Publisher(s): Manning Publications
  • ISBN: None