Practical Rust 1.x Cookbook

ebook 100+ Solutions for beginners to practice rust programming across CI/CD, kubernetes, networking, code performance and microservices

By Lloyd Frank

cover image of Practical Rust 1.x Cookbook

Sign up to save your library

With an OverDrive account, you can save your favorite libraries for at-a-glance information about availability. Find out more about OverDrive accounts.

   Not today

Find this title in Libby, the library reading app by OverDrive.

Download Libby on the App Store Download Libby on Google Play

Search for a digital library with this title

Title found at these libraries:

Loading...

If you want to learn how to program in Rust and create strong, reliable apps with the most recent version Rust 1.68, then you need the "Practical Rust 1.x Cookbook (Second Edition)"-a book full of real-world solutions. An extensive collection of practical recipes covering a wide range of topics. You will learn the fundamentals of programming, how to set up a development environment, and the syntax of Rust in the first few chapters. Data structures, pattern matching, error handling, and concurrency are all covered in the recipes, which will set you up for success with more complex topics. You'll learn to write efficient and secure code by managing memory, using ownership model and borrowing rules.


Using profiling tools like valgrind and perf, the cookbook teaches you how to find and fix performance bottlenecks, which is a major focus of performance optimization. In the more advanced chapters, you will learn how to use static and dynamic analysis, fuzz testing, and external high-performance libraries to make your applications even better.


Table of Content
  • Setting up and Configuring Rust Environment
  • Hands-on Traits, Enums and Struct
  • Pattern Matching, Concurrency, Pointers and Modules
  • Using Declarative and Procedural Macros
  • Implementing Concurrency and Multithreading
  • Asynchronous Programming
  • Developing REST and SOAP APIs
  • Building Microservices & Architectures
  • Working around CI/CD
  • Working around Kubernetes
  • Fuzz Testing and Static Analysis
  • Code Performance Optimization
  • Practical Rust 1.x Cookbook