CoffeeJug: January'21

By Andrii Rodionov
Abstract
28 January
2021

From Java Green threads to Loom project

25 years ago Java has started from the Green threads - a pseudo-concurrency paradigm. Java thread became a real native OS thread, after the appearance of the multi-core CPUs. Also, the paradigm has shifted to Thread pools with the usage of different Executors. But what is happening now, when even smartphones have several cores? The paradigm has shifted again to virtual threads (coroutines). Go has goroutines, Kotlin and Python - coroutines, and Java will have the project Loom.
In this talk we will review Java threads history, will understand coroutines usage, and will look to the future of Java virtual threads API.

Abstract
28 January
2021

Loom project in code

We will try to launch several examples with virtual threads using Loom Early Access Build

Photos

ALH_0597
press to zoom
ALH_0585
press to zoom
ALH_0574
press to zoom
ALH_0501
press to zoom
ALH_0429-1
press to zoom
ALH_0412
press to zoom
ALH_0397
press to zoom
ALH_0375
press to zoom
ALH_0271-3
press to zoom
ALH_0489
press to zoom
1/1

Video