Part of the Parallel, Concurrent, and Distributed Programming in Java Specialization.
This course teaches industry professionals and students the fundamental concepts of parallel programming in the context of Java 8. Parallel programming enables developers to use multicore computers to make their applications run faster by using multiple processors at the same time. By the end of this course, you will learn how to use popular parallel Java frameworks such as ForkJoin and Stream to write parallel programs for a wide range of multicore platforms whether for servers, desktops, or mobile devices, while also learning about their theoretical foundations (e.g., deadlock freedom, data race freedom, determinism).
Why take this course?
- All computers are multicore computers, so it is important for you to learn how to extend your knowledge of sequential Java programming to multicore parallelism.
- Java 7 and Java 8 have introduced new frameworks for parallelism (ForkJoin, Stream) that have significantly changed the paradigms for parallel programming since the early days of Java.
- The course includes optional programming projects that will provide you with the necessary hands-on experience to use the concepts learned in the course on your own, after the course ends.
The desired learning outcomes of this course are as follows:
- Theory of parallelism: work, span, Amdahl’s Law, weak vs. strong scaling, data races, determinism
- Task parallelism using Java’s ForkJoin framework
- Functional parallelism using Java’s Future interface
- Loop-level parallelism using Java 8 Streams
- Dataflow parallelism using data-driven tasks
Mastery of these concepts will enable you to immediately apply them in the context of multicore Java programs, and will also help you master other parallel programming systems that you may encounter in the future (e.g., C++11, OpenMP, .Net Task Parallel Library).
Any questions? Please e-mail RiceOnline@rice.edu