Rust
eBook - ePub

Rust

The Practical Guide

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Rust

The Practical Guide

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

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • 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.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Rust by Nouman Azam in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Ciencias computacionales general. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. Notes on Usage
  2. Table of Contents
  3.   Preface
  4. Part I   Basic Programming with Rust
  5. 1   Introduction
  6. 2   Variables, Data Types, and Functions
  7. 3   Conditionals and Control Flow
  8. 4   Ownership
  9. 5   Custom and Library-Provided Useful Types
  10. 6   Organizing Your Code
  11. 7   Testing Code
  12. Part II   Intermediate Language Concepts
  13. 8   Flexibility and Abstraction with Generics and Traits
  14. 9   Functional Programming Aspects
  15. 10   Memory Management Features
  16. 11   Implementing Typical Data Structures
  17. 12   Useful Patterns for Handling Structs
  18. Part III   Advanced Language Concepts
  19. 13   Understanding Size in Rust
  20. 14   Concurrency
  21. 15   Macros
  22. 16   Web Programming
  23. 17   Text Processing, File Handling, and Directory Management
  24. 18   Practical Problems
  25. The Author
  26. Index
  27. Service Pages
  28. Legal Notes