Creating a 2 hour Rust intro for my university's intro systems class
I've been tasked with creating a brief introduction to Rust for students in my university's intro systems class and was wondering if anyone had good ideas on what to include or resources to look at for guidance. For some background, the course is taught in C/C++ and covers higher level systems topics like distributed systems and OS. This assignment would be towards the end of the semester when they've had exposure to most of the courses content already.
The goal is for students to be able to complete the assignment on their own and with relative ease, since it runs parallel to larger projects that are meant to be the main focus. The usual format for these shorter assignments is paragraphs of explanation interspersed with activities where the student fills in TODOs in a starter code file.
Further, the idea is not to be an intro to Rust, but an intro to modern ideas in systems programming (with Rust as a good showcase for these ideas). To that end, these were my initial thoughts on what to include
- Ownership and borrow checker
- Message-passing concurrency (students learn thread-based concurrency earlier in the course)
- Type-safe mutexes (can't forget to unlock due to drop trait)
In terms of resources to draw inspiration from, the only thing I could find from searching on this sub is this Safety in Systems course taught at Stanford last Spring. Any other sources of inspiration would be much appreciated.