Rust Crash Course
eBook - ePub

Rust Crash Course

Build High-Performance, Efficient and Productive Software with the Power of Next-Generation Programming Skills (English Edition)

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

Rust Crash Course

Build High-Performance, Efficient and Productive Software with the Power of Next-Generation Programming Skills (English Edition)

About this book

Grasp the fundamentals of programming in Rust and put your knowledge to use

Key Features
? Includes the basics of Rust, its advanced features, and how to get started with coding in Rust.
? Numerous projects that improve coding, concept fluency, and real-world experience.
? Every part of Rust is introduced and explained in detail, along with how to use it.

Description
Rust is a sophisticated systems programming language for speed, memory safety, and parallelism. This book gives you a fast introduction to Rust so that you may get started with low-level system programming and developing web applications, network services, and embedded programmes.The book begins with instructions on setting up the Rust environment, developing a "hello world" programme, and getting started with cargo, the Rust package manager and the build tool. The book is a crash course, although it covers fundamental programming principles like variables and mutability, data types, comments, and control flow. Very precisely, topics such as ownership, borrowing, structs, enums, and other collections are covered. Error handling, memory management, and concurrency are well-demonstrated using practical projects. The book explains how to construct automated tests, write multithreaded applications, and utilise common data structures without difficulty. The book concludes with several hands-on projects, including creating a CLI application, a web app, a binary image classifier, and an embedded programme.After reading this book, you will have a thorough understanding of the principles of Rust programming and be able to produce idiomatic Rust code for your projects, as well as improved tests and documentation.

What you will learn
? Learn Rust's Cargo, fundamental concepts, collections, generic data types, iterators, and closures.
? Learn to write and experience the working of memory-safe programs.
? Implement and practice various data structures and algorithms.
? Get familiar with Rust module systems such as packages, crates, modules, and paths.
? Work with error handling, code testing, and working of concurrency capability.

Who this book is for
This book is intended for software developers and system programmers interested in Rust as a C/C++ alternative. This book is also available to students interested in learning systems programming using Rust. The book assumes you have prior knowledge of basic programming concepts or any other programming language.

Table of Contents
1. Setup and Installation of Rust
2. General Programming Concepts
3. Ownership and Memory Management
4. Structs, Enums and Collections
5. Organising your code
6. Error Handling
7. Generics and Traits
8. Testing your code
9. Iterators and Closures
10. Smart Pointers
11. Concurrency
12. Object-Oriented features
13. Implementing Data Structures – Linked List, Trees, Hash Table, and Graph
14. Rust for Windows developers
15. Rust for Android
16. Project 1 – Building a CLI Application
17. Project 2 – Running Rust from a Web Browser
18. Project 3 – Embedded Rust Hello World
19. Project 4 – Building a Binary Image Classifier using Neural Networks

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 Rust Crash Course by Abhishek Kumar in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. 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. Acknowledgements
  7. Preface
  8. Errata
  9. Table of Contents
  10. 1. Setup and Installation of Rust
  11. 2. General Programming Concepts
  12. 3. Ownership and Memory Management
  13. 4. Structs, Enums, and Collections
  14. 5. Organizing Your Code
  15. 6. Error Handling
  16. 7. Generics and Traits
  17. 8. Testing Your Code
  18. 9. Iterators and Closures
  19. 10. Smart Pointers
  20. 11. Concurrency
  21. 12. Object-Oriented Features
  22. 13. Implementing Data Structures – Linked List, Trees, Hash Table, and Graph
  23. 14. Rust for Windows Developers
  24. 15. Rust for Android
  25. 16. Project 1 – Building a CLI Application
  26. 17. Project 2 – Running Rust from a Web Browser
  27. 18. Project 3 – Embedded Rust Hello World
  28. 19. Project 4 – Building a Binary Image Classifier using Neural Networks
  29. Index