Fakultät für Informatik und Mathematik ©
Kontakt: zpa-fk07@hm.edu
Safe Programming in Rust
| SWS | 4 | |||||||||||||||||||||||||||||||||||
| ECTS | 5 | |||||||||||||||||||||||||||||||||||
| Sprache(n) | Englisch
(Standard)
Deutsch |
|||||||||||||||||||||||||||||||||||
| Lehrform | SU mit Praktikum | |||||||||||||||||||||||||||||||||||
| Angebot | im Wechsel mit anderen Fächern der gleichen Fachgruppe | |||||||||||||||||||||||||||||||||||
| Aufwand | 150 hours in total, 45 hours in class |
|||||||||||||||||||||||||||||||||||
| Voraussetzungen | Basic understanding of programming language concepts |
|||||||||||||||||||||||||||||||||||
| Ziele |
|
|||||||||||||||||||||||||||||||||||
| Inhalt | Traditionally, programmers have had to choose between memory safety an performance when picking a programming language. The choioce is between languages like C or C++ which require manual memory management that is easy to get wrong, or a garbage collected language like Java or Go which comes with runtime overhead. Rust combines both worlds, the performance of manual memory management, but with an ownership system that runs at compile time and ensures that programs cannot access invalid memory. In addition to learning the basics of Rust, in this course you will learn how this ownership system works, its limitations, and how it can be used to write performant single- and multi-threaded code. In addition, you will learn how to use modern type systems to write correct, and more importantly, maintainable code. |
|||||||||||||||||||||||||||||||||||
| Medien und Methoden | Slides, interactive programming |
|||||||||||||||||||||||||||||||||||
| Literatur | online resources |
|||||||||||||||||||||||||||||||||||
| Zuordnungen Curricula |
|