This is the code repository for Hands-On Systems Programming with Rust [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
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.
-
• Explore Rust's package registry for discovering and sharing code
• Use multithreading to unlock the power of multiple cores
• Get to know data-flow rate and speed through a pipeline
• Display time-based statistics using stderr
• Build your own middleware project to control the flow of data between two processes
• Best practices and techniques to set up your project for success
•Test and publish your own project on crates.io
If you are already a software developer and want to learn systems programming in Rust practically and quickly, this course is for you! This course will greatly 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. A working knowledge of Rust is assumed.
For successful completion of this course, students will require computer systems with at least the following:
OS: macOS, Linux, or Windows
Memory: >= 4GB RAM
Storage: >= 1GB
For an optimal experience with hands-on labs and other practical activities, we recommend the following configuration:
OS: macOS, Linux, or Windows
Memory: >= 16GB RAM
Storage: >= 2GB
Rust, latest stable version
Your favourite editor or IDE with a Rust plugin installed