Winter semester 2026/27 · Fridays

Programming in Rust

Long the Futures, exercise every Option with a match, swap at zero cost and yield on demand. Every loan passes a credit check by the borrow checker, nothing defaults unless it implements Default, and no Result goes unreported.

Class Schedule

TRPL = the book “The Rust Programming Language”

Classes

Date Lecture Lecture materials Laboratory Laboratory materials Deadline
2026-10-02 Introduction, language basics Slides, TRPL chapters 1-3 Introduction, language basics Instructions 2026-10-16
2026-10-09 Ownership and structs TRPL chapters 4-5 Ownership and structs Instructions 2026-10-23
2026-10-16 Algebraic data types and patterns TRPL chapters 6 and 19 Algebraic data types and patterns Instructions, Starter code 2026-10-30
2026-10-23 The standard library and error handling TRPL chapters 8-9 The standard library and error handling Instructions, Starter code 2026-11-06
2026-10-30 Generic types, traits and lifetimes TRPL chapter 10 Generic types, traits and lifetimes Instructions, Starter code 2026-11-20
2026-11-06 Cargo TRPL chapters 7, 11 and 14 Homework assignment 1 Instructions, Pattern files 2026-12-04
2026-11-20 Functional programming TRPL chapter 13 Functional programming 2026-12-04
2026-11-27 Smart pointers and memory TRPL chapter 15 Smart pointers and memory 2026-12-11
2026-12-04 Object-oriented programming TRPL chapter 18 Homework assignment 2, review of homework 1 2027-01-15
2026-12-11 Parallel programming TRPL chapter 16 Object-oriented and parallel programming 2027-01-08
2026-12-18 Advanced traits and types TRPL sections 20.2, 20.3, 20.4 and others Unstable features 2027-01-15
2027-01-08 Declarative macros The Little Book of Rust Macros, chapters 1 and 2 Declarative macros and advanced types 2027-01-29
2027-01-15 Unsafe code TRPL 20.1, Nomicon Review of homework 2, homework assignment 3 2027-01-29
2027-01-22 Procedural macros The Little Book of Rust Macros Procedural macros, unsafe code N/A
2027-01-29 Other topics   Presentation of homework 3 N/A

Office hours

Remotely or after the lecture, by prior appointment.