Parallel Divide and Conquer with CompletableFutures (Heinz Kabutz)

Java User Group Hannover
Java User Group Hannover
Öffentliche Gruppe

Capgemini Hannover

Grosser Kolonnenweg 23 · Hannover

Wie du uns findest

U2 Grosser Kolonnenweg

Bild des Veranstaltungsortes


CompletableFutures are the rage today. We use them to describe complicated concurrent workflows. For example, HttpClient in Java 11 returns them when we send asynchronous requests. They can also describe parallel divide and conquer workflows. In this talk, we will start by parallelizing a large Fibonacci calculation with Fork/Join. We will then change java.math.BigInteger to multiply in parallel. You will learn how to patch with the new modules system. Then we will show the issues with Fork/Join and show a solution based on CompletableFuture. This talk will be interesting for intermediate to advanced Java programmers.

No slides - just code :)

Dr Heinz Kabutz -

Heinz is the mastermind behind The Java Specialists' Newsletter. He has a PhD in Computer Science. Heinz has programmed significant portions of several large Java applications and has taught Java to thousands of professional programmers. He is a regular speaker at all the major Java conferences.

Heinz was chosen as a Java Champion by Sun Microsystems, the inventors of Java, for his work in advancing Java.

Ein Treffen der JUG Hannover im iJUG e.V.