Rust Cookbook Front Cover

Rust Cookbook

  • Length: 320 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-07-27
  • ISBN-10: B06X41VMMS
  • Sales Rank: #1859200 (See Top 100 Books)
Description

Key Features

  • Learn to build high-performance Rust units and integrate them into your existing application
  • Work through recipes on performance, robustness, security, memory management, and scalability
  • Work through recipes to build foreign function interface with C, JS, and Python

Book Description

If you are building concurrent applications, server-side programs, or high-performance applications, you will benefit from this language. This book comes with a lot of application-specific recipes to kick-start your development of real-world high-performance applications with the Rust programming language and integrating Rust units into your existing applications. In this book, you will find some 80 practical recipes written in Rust that will allow you to use the code samples right away in your existing applications. These recipes have been tested with stable rust compiler versions of 1.14.0 and above.

This book will help you understand the core concepts of the Rust language, enabling you to develop efficient and high-performance applications by incorporating features such as zero cost abstraction and better memory management.

We’ll delve into advanced-level concepts such as error handling, macros, crates, and parallelism in Rust. Toward the end of the book, you will learn how to create HTTP servers and web services, building a strong foundational knowledge in server-side programming and enabling you to deliver solutions to build high-performance and safer production-level web applications and services using Rust.

What you will learn

  • Understand system programming language problems and see how Rust provides unique solutions
  • Get to know the core concepts of Rust to develop fast and safe applications
  • Explore the possibility of integrating Rust units into existing applications to make them more efficient
  • Achieve better parallelism, security, and performance
  • Explore ways to package your Rust application and ship it for deployment in a production environment
  • Discover how to build web applications and services using Rust to provide high-performance to the end user

About the Author

Vigneshwer Dhinakaran is an innovative data scientist with an artistic perception of technology and business, having over 3 years of experience in various domains, such as IOT, DevOps, computer vision, and deep learning, and is currently engaged as a research analyst crunching real-time data and implementing state-of-the-art AI algorithms in the innovation and development lab of the world’s largest decision science company in Bengaluru, India.

He is an official Mozilla representative and Techspeaker in India and has been associated with Mozilla communities and technologies for more than 5 years. He has delivered various sessions on Rust language at many meetups and conferences; some of the highlighted events are Hong Kong Open Source Conference, FOSSMeet 17, and RainOfRust Campaign. He has played a key role in the formation and growth of the Rust community in India and was part of the Mozilla Reps mobilizer experiment, where he researched about the roadblocks and solutions to drive developers to adopt the Rust language in India.

Table of Contents

Chapter 1. Let’s make system programming great again
Chapter 2. Advanced Programming with Rust
Chapter 3. Deep Dive into Cargo
Chapter 4. Creating Crates and Modules
Chapter 5. Deep Dive into Parallelism
Chapter 6. Efficient Error Handling
Chapter 7. Hacking Macros
Chapter 8. Integrating Rust with other languages
Chapter 9. Web Development with Rust
Chapter 10. Advanced web development in Rust
Chapter 11. Advance Rust Tools and libraries

To access the link, solve the captcha.