Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Project Loom - Fibers and Continuations for Java

Devoxx via YouTube

Overview

Explore Project Loom's mission to revolutionize concurrent programming in Java through a 46-minute conference talk. Dive into the introduction of fibers as lightweight, efficient threads managed by the Java Virtual Machine, designed to enhance performance and reduce resource consumption in cloud environments. Learn about the implementation of fibers using continuations in the JVM, and discover how this approach simplifies writing, debugging, profiling, and maintaining concurrent applications under heavy load. Gain insights into the project's current status, implementation challenges, and design considerations, complete with a practical demonstration. Understand the potential impact of Project Loom on Java development, including its effects on threading, concurrency models, and overall application performance.

Syllabus

Intro
Project Loom
The Goal
Continuation definition
Continuation API
Continuation Example
What are fibers
Why use fibers
The mantra
The fiber
The tension
The compelling example
The simple example
The horrible graph
The good graph
Limitations
Threads
Problems with Thread
Thread Locals
Frame Locals
Structure Concurrency
Prototype
Communication
Current Status
Prototypes
Debugging and Serviceability
Other topics
Questions

Taught by

Devoxx

Reviews

Start your review of Project Loom - Fibers and Continuations for Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.