/Rust-Programming-Cookbook

Rust Programming Cookbook, published by Packt

Primary LanguageRustMIT LicenseMIT

Rust Programming Cookbook

Rust Programming Cookbook

This is the code repository for Rust Programming Cookbook , published by Packt.

Explore the latest features of Rust 2018 for building fast and secure apps

What is this book about?

Rust 2018, Rust's first major milestone since version 1.0, brings more advancement in the Rust language. The Rust Programming Cookbook is a practical guide to help you overcome challenges when writing Rust code.

This book covers the following exciting features: Understand how Rust provides unique solutions to solve system programming language problems Grasp the core concepts of Rust to develop fast and safe applications Explore the possibility of integrating Rust units into existing applications for improved efficiency Discover how to achieve better parallelism and security with Rust Write Python extensions in Rust Compile external assembly files and use the Foreign Function Interface (FFI) Build web applications and services using Rust for high performance

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

fn main() -> Result<(), Box<dyn Error + Send + Sync + 'static>> {
   let mut ls_child = Command::new("ls");
   if !cfg!(target_os = "windows") {
       ls_child.args(&["-alh"]);

Following is what you need for this book: The Rust cookbook is for software developers looking to enhance their knowledge of Rust and leverage its features using modern programming practices. Familiarity with Rust language is expected to get the most out of this book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-).

Software and Hardware List

No Software required OS required
1 Rust nightly > 2019-10-10 Windows/Linux/macOS
2 Visual Studio Code Windows/Linux/macOS
3 Docker CE stable 19.03 Windows/Linux/macOS
4 Node.js 10.16.3 Windows/Linux/macOS
5 Python 3.6 or later Windows/Linux/macOS
6 gcc >= 9.2 Windows/Linux/macOS
7 Rust stable > 1.38.0 Windows/Linux/macOS

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Related products

Get to Know the Author

Claus Matzinger is a software engineer with a very diverse background. After working in a small company maintaining code for embedded devices, he joined a large corporation to work on legacy Smalltalk applications. This led to a great interest in programming languages early on, and Claus became the CTO for a health games start-up based on Scala technology. Since then, Claus' roles have shifted toward customer-facing roles in the IoT database technology start-up, Crate IO (creators of CrateDB), and, most recently, Microsoft. There, he hosts a podcast, writes code together with customers, and blogs about the solutions arising from these engagements. For more than 5 years, Claus has been implementing software to help customers innovate, achieve, and maintain success.

Suggestions and Feedback

Click here if you have any feedback or suggestions.