
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Get "close to the machine" by programming with Rust! Discover how to effectively use this low-level language to create fast and efficient code. Set up Rust, compile your first program, and learn the language essentials: variables, functions, conditionals, and more. Walk through Rust's unique ownership model and modular system, and then move on to more complex features, from flexibility and abstraction to web programming and text processing. Numerous code examples and exercises make this your go-to practical resource for Rust! In this book, you'll learn about: a. Language Basics
Take your first steps with Rust! After installation and setup in Visual Studio Code, walk through the language building blocks, from variables to functions to enums. Learn how to implement ownership, define types, test your code, and more. b. Intermediate Programming
Expand your toolkit for Rust programming! Write flexible code with generics and traits, incorporate features of functional programming, manage memory, implement data structures, and handle structs. c. Advanced Topics
Become a Rust master! Tackle advanced topics, including sized and unsized types, concurrency via threading, the powerful macro system, web programming, text processing, and file and directory handling. Highlights include: 1) Language basics
2) Control flow
3) Ownership
4) Structs and enums
5) Generics and traits
6) Modular structure
7) Memory management
8) Testing
9) Concurrency
10) Functional programming
11) Web programming
12) Text processing and file handling
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- Notes on Usage
- Table of Contents
- Preface
- Part I Basic Programming with Rust
- 1 Introduction
- 2 Variables, Data Types, and Functions
- 3 Conditionals and Control Flow
- 4 Ownership
- 5 Custom and Library-Provided Useful Types
- 6 Organizing Your Code
- 7 Testing Code
- Part II Intermediate Language Concepts
- 8 Flexibility and Abstraction with Generics and Traits
- 9 Functional Programming Aspects
- 10 Memory Management Features
- 11 Implementing Typical Data Structures
- 12 Useful Patterns for Handling Structs
- Part III Advanced Language Concepts
- 13 Understanding Size in Rust
- 14 Concurrency
- 15 Macros
- 16 Web Programming
- 17 Text Processing, File Handling, and Directory Management
- 18 Practical Problems
- The Author
- Index
- Service Pages
- Legal Notes