Doorgaan naar de inhoud

Hands-on Workshop Kotlin Coroutines & Project Loom

Foto van CodeLab
Hosted By
CodeLab
Hands-on Workshop Kotlin Coroutines & Project Loom

Details

We are excited to announce our first CodeLab.jug event! We invite you to join us in getting your hands dirty - in this great hands-on workshop.

The Nationale Spoorwegen (NS) is so kind to host this first event in Utrecht.

Summary

Working concurrently and asynchronously has produced many programming patterns: callbacks, futures, reactive extensions, and… coroutines. In this workshop we dive into what coroutines are, how they work and how to use them efficiently in Kotlin.

Program & Background

After this workshop you will not only be able to apply coroutines but also understand how error handling works, how to offload (IO) work to background threads, and how to compose coroutines, while keeping your programming style nice and imperative.

We also explore how Project Loom (Java 19+) will achieve the same goals using Java, and see how their approach differs from Kotlin coroutines.

Target Audience

Java/Kotlin developers

Objectives

  • Understand the concept of coroutines

  • Understand the differences between coroutines and other approaches to concurrent programming

  • Hands on experience in working with Kotlin coroutines

  • Work with coroutine life-cycle, context, error handling, threading and dispatching.

  • Work with more advanced coroutines features: Channels and Flow.

  • Re-write a real world (Spring-Boot) application to use coroutines

  • Understand the concept of virtual threads in Project Loom

  • Understand the differences between virtual threads and coroutines

  • Learn how to use structured concurrency in Project Loom

  • Hands on experience with virtual threads and structured concurrency using Spring-Boot

Requirements

  • IDE with support for Gradle

  • JDK20 for Project Loom

  • Experience with Spring-Boot is nice but not required

Food/Drinks

We will take care of this!

Speakers

Leon van Wijk - Software Engineer - Craftsmen

Menno Luiten - Software Engineer - Craftsmen

Location

NS - Nationale Spoorwegen

'De Kookstudio'

Katereinetoren, Stationshal 17

3511 CE Utrecht

Directions: https://rb.gy/vd4yu

Photo of CodeLab group
CodeLab
Meer evenementen bekijken
Nationale Spoorwegen (NS) - Katreinetoren
Stationshal 17, 9e verdieping · Utrecht, al