- Notifications
You must be signed in to change notification settings - Fork33
Rust Programming Cookbook, published by Packt
License
PacktPublishing/Rust-Programming-Cookbook
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the code repository forRust Programming Cookbook, published by Packt.
Explore the latest features of Rust 2018 for building fast and secure apps
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 problemsGrasp the core concepts of Rust to develop fast and safe applicationsExplore the possibility of integrating Rust units into existing applications for improved efficiencyDiscover how to achieve better parallelism and security with RustWrite Python extensions in RustCompile 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 yourcopy today!
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-).
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.
Claus Matzingeris 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.
Click here if you have any feedback or suggestions.
Rust is an evolving language and we rely on you to point out anything that has changed since the book release. Open an issue if you find something won't compile and we'll gladly help out.
@tomus85 - Thank you updating three recipes: static-web, json-handling, and legacy-c-code.### Download a free PDF
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.
About
Rust Programming Cookbook, published by Packt
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.