Video description
Take advantage of Rust to ensure safety and concurrency
About This Video
Quickly learn the essentials of systems programming in Rust and learn to monitor data flows through a pipeline
Dive into a fast-paced and informative course which includes hands-on implementations of important concepts in every section
Work with the latest version of Rust and develop a utility that's compatible with Linux, MacOS, and Windows
In Detail
Scripting languages will provide safety, but not concurrency and speed, while traditional systems programming languages such as C and C++ will definitely give you speed and some concurrency, but forget about safety! If you need safety, concurrency, and speed, then Rust is the only viable option.
In this course, you will learn how Rust guarantees memory and thread safety at compile-time, yet uses zero-cost abstractions without the runtime overhead of a garbage collector. You'll learn how to monitor the flow of data through a pipeline by building your own middleware utility. You'll learn how to utilize I/O to interact with the command line, work with standard library mpsc channels to perform data flows, and create an ergonomic timer for your project. You'll apply key concepts in every section while creating your own middleware tool in Rust along the way.
By the end of this practical course, you will feel comfortable designing safe, consistent, parallel, and high-performance applications in Rust using systems programming.
This course should appeal to intermediate Linux and general Unix programmers, network programmers, and C/C++ programmers interested in learning different approaches to concurrency. Prior knowledge of basic programming concepts is required, and a working knowledge of Rust is assumed.
Publisher resources
Table of contents
-
Chapter 1 : Preparing for Systems Programming with Rust
- The Course Overview 00:03:20
- Systems Programming in Rust 00:05:59
- Configuring Your Editor/IDE 00:04:13
- The Many Faces of Cargo 00:09:46
- Preview Finished Project 00:01:03
- Layout the Skeleton of the Project 00:02:50
-
Chapter 2 : Operating with I/O
- Read from stdin, Count Bytes, and Write to stdout 00:08:45
- Inspecting Values with dbg!() 00:04:44
- Working Effectively with cargo fmt and cargo clippy 00:04:45
- Handling Errors Gracefully 00:06:12
- Handling Command Line Arguments with Clap 00:05:28
- Reading/Writing Files, Buffered I/O, and Traits 00:05:32
- Chapter 3 : Applying Multithreading Features to Your Project
- Chapter 4 : Dealing with Time and Terminal
- Chapter 5 : Systems Programming in Rust: Best Practices
Product information
- Title: Hands-On Systems Programming with Rust
- Author(s):
- Release date: February 2020
- Publisher(s): Packt Publishing
- ISBN: 9781838822132
You might also like
video
Rust Programming Recipes
Take your apps to the next level with Rust About This Video Learn new tricks, patterns, …
video
Learn Rust in 7 Days
Use the full power of Rust to make fast, maintainable systems level programs in one week …
book
Hands-On Data Structures and Algorithms with Rust
Design and implement professional level programs by exploring modern data structures and algorithms in Rust. Key …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …