Programming Fundamentals 3
This course teaches concepts and methods of concurrent and parallel programming, with particular focus on multi-threading, safety/liveness hazards, and synchronization. The course also covers patterns, constructs and classes made available by the Java language and the Java class library to implement thread-safe concurrent applications. Moreover, the course introduces generic programming in Java, including related concepts such as erasure and reification. Finally, the course teaches principles of functional programming and its application on the Java Virtual Machine, including lambdas and Java streams. The presented techniques enable the development of scalable, concise, easy-to-maintain and flexible multi-threaded Java applications capable of exploiting modern multicore hardware.
- Concepts of concurrent and parallel programming.
- Parametric polymorphism.
- Functional programming.
Modalità di insegnamento
Lectures and exercises on the course topics.
The examination consists of periodic assignments and a final exam.