Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Hands-On Systems Programming with Rust
Rating: 4.3 out of 5(262 ratings)
1,782 students

Hands-On Systems Programming with Rust

Take advantage of Rust to ensure safety and concurrency
Last updated 3/2020
English

What you'll learn

  • 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

Course content

5 sections26 lectures2h 15m total length
  • The Course Overview3:20

    This video provides an overview of the entire course.

  • Systems Programming in Rust5:58

    Here, see the overview of what Rust is, where it came from, and why we might want to use it.

       •  Describe what Rust is

       •  Explain how Rust came to be

       •  Explain the benefits of Rust

  • Configuring Your Editor/IDE4:13

    Rust is a difficult language to learn and use. Rust support in your IDE/Editor helps a lot.

       •  Show the website that lists major IDEs/Editors and how to configure them

       •  Show how to find Rust support for IDEs/Editors not on the list

       •  Demonstrate the benefits of Rust IDE support in IntelliJ

  • The Many Faces of Cargo9:46

    We need a tool to create, manage, build, run, document, and test our code.

       •  Overview cargo’s capabilities

       •  Demonstrate creating a binary application

       •  Demonstrate creating a library

  • Preview Finished Project1:03

    The student does not know what we are going to build for this course, so let’s show them.

       •  Describe the problem of processing data without progress indicators

       •  Show processing data with and without our project

       •  Describe the capabilities of our project

  • Layout the Skeleton of the Project2:49

    We have no project to work in, yet.

       •  Select a name and location for the project

       •  Create the project with cargo and configure it

       •  Select a version control system and configure it

  • Test your knowledge

Requirements

  • Prior knowledge of basic programming concepts is required. A working knowledge of Rust is assumed.

Description

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.

About the Author

Nathan Stocks has spent the last 20 years working in software development, mostly in the field of backend infrastructure. He fell in love with Rust in 2016 and began teaching it in 2017. For the past several years, he has focused on systems-level programming. He maintained the AVbin audio library (written in C) from 2011-2013. He has had tons of fun learning, using, and teaching Rust at conferences and online. He also loves Python and PostgreSQL, and still occasionally suffers from nightmares about C and C++.

He currently works at GitHub, managing the Git Storage team, and spends his nights in pursuit of someday creating a successful indie game in Rust.

Who this course is for:

  • 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.