Overview
Explore parallel programming techniques in Java 8 with this Devoxx conference talk by Stuart Marks and Brian Goetz. Dive into the challenges of transitioning from sequential to parallel code execution using the Streams library. Learn about array programming as an alternative to imperative, left-to-right thinking, and discover how to create parallel-ready code that's easier to understand. Through examples and demonstrations, gain insights into effective parallelization, the NQ model, source splitting, locality, and concurrent collectors. Understand when to use parallelization and how to identify warning signs in your code. Benefit from the expertise of two Java platform experts as they share their knowledge on thinking in parallel and optimizing code for modern multi-core processors.
Syllabus
Introduction
Thinking in Parallel
For Loops
Streams
Stack Overflow
Problem Explanation
Split Method
Loop Mechanics
Array Manipulation
Observations
Explicit Parallelization
When Should You Use Parallelization
Effectiveness of Parallelization
Running Running Problem
Divide Conquer
Partitioning
Performance
NQ Model
Source Splitting
Locality
Array Events
Encounter Order
Merging Sets
Concurrent Collectors
Warning Signs
Summary
Questions
Units of Q
Taught by
Devoxx