Learn Rust Programming
eBook - ePub

Learn Rust Programming

Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem (English Edition)

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

Learn Rust Programming

Safe Code, Supports Low Level and Embedded Systems Programming with a Strong Ecosystem (English Edition)

About this book

Become a Rustacean and a successful software engineer

Key Features
? Introduces Rust's fundamentals, key concepts, syntax, toolkit, and frameworks
? Extensive examples demonstrating dependable, efficient, and understandable code for producing maintainable software
? Includes coding challenges and useful exercises to make learning to code fun

Description
"Learn Rust Programming" assists every programmer in learning Rust and filling in the gaps left by other programming languages in developing full-proof apps and systems. This book covers every vital feature a programmer requires, including basic principles, syntax, clean coding, application testing, popular libraries, and numerous examples and small programmes. As a first step in understanding the language, this book tries to present a profoundly practical method for overcoming this learning curve. Using engaging coding challenges and practical projects, the reader can anticipate learning programming fundamentals, developing advanced concurrent code, contributing to open-source projects, and ultimately pursuing a career in Rust. In addition to programming, this book covers the fundamentals of software engineering to develop maintainable and well-documented projects with the help of built-in tools. As novice software engineers, readers of this book will be able to develop excellent software independently as part of a bigger team. Using Rust, they can join one of the numerous crypto, gaming, IoT, or cloud infrastructure organizations to mark their success of knowledge.

What you will learn
? Learn Rust's syntax, variables, control structures, enums, and traits.
? Write unit tests, integration tests, and documentation for the software codes.
? Use data structures, commands for running cargo, and any third-party libraries.
? Create durable and maintainable programmes by structuring code correctly.
? Use generics, lifetimes, I/O runtimes, concurrency, and futures in your code.
? Developing declarative macros and taking advantage of heap memory.

Who this book is for
This book interests all kinds of sound programmers who want their applications to be efficient and reliable over time. It also attracts novices and recent graduates who wish to become young programmers with a solid grasp of the programming language of the 21st century.

Table of Contents
1. Building the basics
2. Controlling the program flow
3. Organizing for reuse
4. Interfacing with code and errors
5. Borrowing ownership with scopes
6. Working with collections
7. Reading input and writing output
8. Using crates with cargo
9. Testing what you build
10. Documenting what you build
11. Generating code with macros
12. Using heap memory effectively
13. Running concurrent code
14. Writing async code
15. Working with generics
16. Calling unsafe and foreign functions

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 Learn Rust Programming by Claus Matzinger 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.

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. Acknowledgement
  7. Preface
  8. Errata
  9. Table of Contents
  10. 1. Building the Basics
  11. 2. Controlling the Program Flow
  12. 3. Organizing for Reuse
  13. 4. Interfacing with Code and Errors
  14. 5. Borrowing Ownership with Scopes
  15. 6. Working with Collections
  16. 7. Reading Input and Writing Output
  17. 8. Using Crates with Cargo
  18. 9. Testing What you Build
  19. 10. Documenting What You Build
  20. 11. Generating Code with Macros
  21. 12. Using Heap Memory Effectively
  22. 13. Running Concurrent Code
  23. 14. Writing Async Code
  24. 15. Working with Generics
  25. 16. Calling Unsafe and Foreign Functions
  26. Index