Rust Crash Course: Build High-Performance, Efficient and Productive Software with the Power of Next-Generation Programming Skills

Rust Crash Course: Build High-Performance, Efficient and Productive Software with the Power of Next-Generation Programming Skills

English | 2022 | ISBN: 978-9355510952 | 328 Pages | EPUB | 10 MB

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.

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.
Homepage