Beginning Rust
eBook - ePub

Beginning Rust

Get Started with Rust 2021 Edition

  1. English
  2. ePUB (mobile friendly)
  3. Only available on web
eBook - ePub

Beginning Rust

Get Started with Rust 2021 Edition

Book details
Table of contents
Citations

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

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
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.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
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 access Beginning Rust by Carlo Milanesi in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.

Information

Publisher
Apress
Year
2022
ISBN
9781484272084
Edition
2

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