Description
Your guide to the programming language that's revolutionizing software development
Ready to learn Rust, the language that combines blazing performance with memory safety? Rust All-in-One For Dummies takes you from complete beginner to confident developer, covering the essentials of writing Rust code through applying it to real-world projects.
Unlike programming books that throw you into the deep end, Rust All-in-One For Dummies builds your skills systematically. Each mini-book contained in this All-in-One reference focuses on a specific aspect of Rust development, complete with hands-on projects that apply what you've learned. You'll move seamlessly from understanding basic syntax to building real-world applications that showcase Rust's incredible versatility. Whether you're writing your first line of code or adding Rust to your programming toolkit, you'll discover how to harness its unique features to build everything from command-line tools to web applications.
Get expert insight on:
- Rust fundamentals and real-world applications – Learn ownership, borrowing, and the borrow checker while building practical projects like number guessing games, file organizers, chat servers, and data analysis dashboards.
- Advanced development across multiple domains – Create command-line tools, WebAssembly browser applications, networked programs, desktop GUIs, and high-performance web servers using Rust's growing ecosystem.
- Professional development practices – Master testing, documentation, error handling, concurrency, and code organization techniques that make Rust applications production-ready and maintainable.
Perfect for complete beginners starting their programming journey and experienced developers ready to explore why Rust consistently ranks as the most loved programming language. Join the community that's discovered Rust isn't just another language – it's the future of safe, fast, and reliable software development.
Table of Contents
Introduction 1
Book 1: Welcome to the Rust Side 5
CHAPTER 1: Getting to Know Rust 7
CHAPTER 2: Getting Your Hands Rusty 17
CHAPTER 3: Speaking Rust: The Basics 39
CHAPTER 4: Crafting Expressions 61
CHAPTER 5: Controlling the Flow 77
CHAPTER 6: Pattern Matching: The Swiss Army Knife of Rust 93
CHAPTER 7: Functions: Teaching Rust New Tricks 107
Book 2: Learning the Rust Way of Doing Things 131
CHAPTER 1: Ownership: Rust's Secret Sauce 133
CHAPTER 2: Structs: Rolling Your Own Types 159
CHAPTER 3: Enums: Embracing Possibilities 177
CHAPTER 4: Storing Data in Rust 197
CHAPTER 5: The String Section: Text in Rust 225
CHAPTER 6: Functional Programming with Closures and Iterators 253
CHAPTER 7: Organizing Your Code 279
Book 3: Deeper Rust Concepts 303
CHAPTER 1: Traits: Shared Behaviors 305
CHAPTER 2: Generics: Code That Works for Almost Anything 325
CHAPTER 3: Lifetimes: How Long Things Live 343
CHAPTER 4: Handling Errors Like a Pro 361
CHAPTER 5: Macros: When Code Writes Code 381
CHAPTER 6: Parallelism and Concurrency: Rust Multitasking 395
CHAPTER 7: Testing, Debugging, and Documenting 421
Book 4: Building Command-Line Tools 447
CHAPTER 1: Coding Your First Tools 449
CHAPTER 2: File Processing and Configuration 465
CHAPTER 3: Polishing Your Command-Line Tools 487
Book 5: WebAssembly: Rust in Your Browser 503
CHAPTER 1: WebAssembly Basics and Setup 505
CHAPTER 2: Exchanging Data between Rust and JavaScript 525
CHAPTER 3: Building Interactive WebAssembly Apps 545
Book 6: Networking with Rust 569
CHAPTER 1: Building a Web Server 571
CHAPTER 2: Building a REST API 593
CHAPTER 3: Building a Server-Side Web App 617
Index 645
-
- 電子書籍
- 経験をスキルにする万能な能力を手に入れ…



