Type Systems for Correctness and Security
Module: INF-MSc-329
LSF: 042540
Credits: 6 (lecture 3.5 / exercises and labs 2.5)
Hours: 5 (lecture 3 sws / exercises 2 sws)
Location: digital only (Zoom and Moodle)
Start: tba
Moodle: https://moodle.tu-dortmund.de/course/view.php?id=30177
This course will be given in English.
Course Content
Type systems help to avoid errors in programs from the very beginning. They allow for valuable feedback for developers to avoid bugs and system crashes or even to detect security vulnerabilities. In this lecture we will develop and study type systems. We will cover the theory, discuss the properties with which type systems assist us in software development, and examine the implementation of current type systems. We will take a pragmatic approach and practice implementing type checkers during the course of the lecture and exercises. Furthermore, we will examine the type systems of well-known programming languages such as Java or Scala in more detail.
Literature
The course is based on the following book:
Benjamin C. Pierce. 2002. Types and Programming Languages. The MIT Press.
Selected topics are based on this :
Benjamin C. Pierce. 2004. Advanced Topics in Types and Programming Languages. The MIT Press.
Further reading material will be announced throughout the course.
Lecture
- The lectures are held on Zoom. You will find the appropriate link in the corresponding sections in Moodle. Given that everybody agrees, recordings of the lecture can be made.
- The session is interactive. So you can ask questions at any time. Feel free to do so.
- Additionally, the recordings from last years couse are available.
Theoretical Exercises
- There will be accompanying exercises to the lecture content in the form of a video conference 7 days after the exercise sheet is available, so you have time to work on it yourself.
I ask you to have your camera activated in Zoom. This will help to make the distance seem at least a little smaller. - The exercise sessions will be on Zoom. The according links will be available in the proper Moodle section. Again, recordings can be made if all participants agree.
- These exercise sheets will not be corrected by us.
- 14 days after the exercise is issued, we will provide a suggested solution that you can use for self-correction.
- However, we strongly recommend doing these exercises as they prepare you for the exam.
- It will also give you a feel for the nature of the questions.
- You can find the exercises in Moodle for the appropriate topic in each case.
Practical Exercises (Course Credit!)
- There will be an accompanying practical course in which the lecture contents will be deepened practically.
- These programming practicals are to be carried out alone and independently.
- The submission will take place via a submission platform provided by us.
- It is necessary to get at least 50% of the achievable points to be admitted to the exam.
Communication
- There will be a office hour in Zoom. The link for this office hour will soon be found at the top of Moodle.
- This office hour is explicitly designed as a group office hour.
- Please use it to ask questions about the exercises and practical tasks.
- I ask you to have your camera activated in Zoom. This will help to make the spatial distance seem at least a little smaller.
- In the forum Questions and Answers in Moodle you can ask a question about the course at any time. You can also answer questions from other students there at any time. I will follow the discussions and add to them if necessary and answer questions that are still unanswered. I ask you to make use of this opportunity and help each other here in working out the material. It is scientifically proven that nothing helps to learn (or consolidate) a thing more than explaining it to other people.
- If you have a personal concern (e.g. regarding registration formalities), please write to me and ask for a personal appointment.
Exams
Exams will be oral examinations or written exams (depending on number of participants)