Programming Fundamentals 3
- Concepts of concurrent and parallel programming
- Parametric polymorphism
- Functional programming.
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.
Lectures and exercises on the course topics.
The examination consists of periodic assignments and a final exam.
- Java Concurrency in Practice (2006), by B. Goetz, T. Peierls, J. Bloch, J. Bowbeer, D. Holmes, D. Lea. ISBN-13: 978-0321349606.
- Java Generics and Collections (2007), by M. Naftalin and P. Wadler. ISBN-13: 978-0596527754.
- Mastering Lambdas: Java Programming in a Multicore World (2014), by M. Naftalin. ISBN-13: 978-0071829625.
- Materials made available by the course instructors.