Beginning Rust
eBook - ePub

Beginning Rust

Get Started with Rust 2021 Edition

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

Beginning Rust

Get Started with Rust 2021 Edition

About this book

Learn to program with Rust 2021 Edition, in an easy, step-by-step manner on Unix, the Linux shell, macOS, and the Windows command line. As you read this book, you'll build on the knowledge you gained in previous chapters and see what Rust has to offer.

Beginning Rust starts with the basics of Rust, including how to name objects, control execution flow, and handle primitive types. You'll see how to do arithmetic, allocate memory, use iterators, and handle input/output. Once you have mastered these core skills, you'll work on handling errors and using the object-oriented features of Rust to build robust Rust applications in no time.

Only a basic knowledge of programming in C or C++ and familiarity with a command console are required. After reading this book, you'll be ready to build simple Rust applications.

What You Will Learn

  • Get started programming with Rust
  • Understand heterogeneous data structures and data sequences
  • Define functions, generic functions, structs, and more
  • Work with closures, changeable strings, ranges and slices
  • Use traits and learn about lifetimes

Who This Book Is For

Those who are new to Rust and who have at least some prior experience with programming in general: some C/C++ is recommended particularly.

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.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. 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 Beginning Rust by Carlo Milanesi in PDF and/or ePUB format, as well as other popular books in Computer Science & Compilers. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2022
Print ISBN
9781484272077
eBook ISBN
9781484272084

Table of contents

  1. Cover
  2. Front Matter
  3. 1. Getting Started
  4. 2. Doing Arithmetic and Writing More Code
  5. 3. Naming Objects
  6. 4. Controlling Execution Flow
  7. 5. Using Data Sequences
  8. 6. Using Primitive Types
  9. 7. Enumerations and Matching
  10. 8. Using Heterogeneous Data Structures
  11. 9. Defining Functions
  12. 10. Defining Generic Functions and Types
  13. 11. Allocating Memory
  14. 12. Data Implementation
  15. 13. Defining Closures
  16. 14. Using Changeable Strings
  17. 15. Ranges and Slices
  18. 16. Using Iterators
  19. 17. Input/Output and Error Handling
  20. 18. Data Encapsulation
  21. 19. Using Traits
  22. 20. Object-Oriented Programming
  23. 21. Standard Library Collections
  24. 22. Ownership, Moves, and Copies
  25. 23. Borrowing and Lifetimes
  26. 24. More About Lifetimes
  27. Back Matter