Safe Programming in Rust

Welcome to the course website for the Safe Programming in Rust course given at faculty 07 at Munich university of applied sciences. Rust is a modern systems programming language that lets you write performant code without the risk of memory safety issues that come with manually memory managed languages.

In the course you will learn to use Rust, with focus on the things that make Rust unique such as the ownership and borrowing system, type system, and parallel programming features. No Rust experience is expected, but some general programming experience is needed, and some experience with C or C++ will make the content much easier to follow.

Course literature

We will use the official Rust book, called “The Rust Programming Language”. It is available in full online at https://doc.rust-lang.org/book. There is also printed version for those who want a physical copy.

The documentation for the standard library is also very helpful and can be found at https://doc.rust-lang.org/std/

For quickly running some Rust code, you can use the online playground at https://play.rust-lang.org

Lectures

Lectures are held on mondays at 13:30 - 15:00.

DateTopicBook Chapter
05/10(Today): Intro & Rust Basics3
12/10Ownership & Borrowing4
19/10Structs, Enums, Errors5, 6
26/10Generics and Traits10.1, 10.2
02/11Modules, Collctions, Iterators8
09/11Lifetimes, Closures10.3, 13
16/11Smart Pointers, Trait Objects15
23/11Paralellism, Shared Memory16
30/11Message Passing16
07/12Unsafe19.1
14/12Async-

Source Code and Credits

This course is heavily based on CIS 1905: Rust Programming given by Paul Bieberstein and Alexander Robertson at UPenn.

The source code for the course content and this website is available here.