The Complete Rust Programming Reference Guide Front Cover

The Complete Rust Programming Reference Guide

  • Length: 698 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2019-05-22
  • ISBN-10: 1838828109
  • ISBN-13: 9781838828103
  • Sales Rank: #1288369 (See Top 100 Books)
Description

Design and implement professional-level programs by leveraging modern data structures and algorithms in Rust

Key Features

  • Improve your productivity by writing more simple and easy code in Rust
  • Discover the functional and reactive implementations of traditional data structures
  • Delve into new domains of Rust, including WebAssembly, networking, and command-line tools

Book Description

Rust is a powerful language with a rare combination of safety, speed, and zero-cost abstractions. This Learning Path is filled with clear and simple explanations of its features along with real-world examples, demonstrating how you can build robust, scalable, and reliable programs.

You’ll get started with an introduction to Rust data structures, algorithms, and essential language constructs. Next, you will understand how to store data using linked lists, arrays, stacks, and queues. You’ll also learn to implement sorting and searching algorithms, such as Brute Force algorithms, Greedy algorithms, Dynamic Programming, and Backtracking. As you progress, you’ll pick up on using Rust for systems programming, network programming, and the web. You’ll then move on to discover a variety of techniques, right from writing memory-safe code, to building idiomatic Rust libraries, and even advanced macros.

By the end of this Learning Path, you’ll be able to implement Rust for enterprise projects, writing better tests and documentation, designing for performance, and creating idiomatic Rust code.

This Learning Path includes content from the following Packt products:

  • Mastering Rust – Second Edition by Rahul Sharma and Vesa Kaihlavirta
  • Hands-On Data Structures and Algorithms with Rust by Claus Matzinger

What you will learn

  • Design and implement complex data structures in Rust
  • Create and use well-tested and reusable components with Rust
  • Understand the basics of multithreaded programming and advanced algorithm design
  • Explore application profiling based on benchmarking and testing
  • Study and apply best practices and strategies in error handling
  • Create efficient web applications with the Actix-web framework
  • Use Diesel for type-safe database interactions in your web application

Who this book is for

If you are already familiar with an imperative language and now want to progress from being a beginner to an intermediate-level Rust programmer, this Learning Path is for you. Developers who are already familiar with Rust and want to delve deeper into the essential data structures and algorithms in Rust will also find this Learning Path useful.

Table of Contents

  1. Getting Started with Rust
  2. Managing Projects with Cargo
  3. Tests, Documentation, and Benchmarks
  4. Types, Generics, and Traits
  5. Memory Management and Safety
  6. Error Handling
  7. Advanced Concepts
  8. Concurrency
  9. Metaprogramming with Macros
  10. Unsafe Rust and Foreign Function Interfaces
  11. Logging
  12. Network Programming in Rust
  13. Building Web Applications with Rust
  14. Lists, Lists, and More Lists
  15. Robust Trees
  16. Exploring Maps and Sets
  17. Collections in Rust
  18. Algorithm Evaluation
  19. Ordering Things
  20. Finding Stuff
  21. Random and Combinatorial
  22. Algorithms of the Standard Library
To access the link, solve the captcha.