Lifecycles, Coroutines and Scopes | Alejandro Serrano Mena

  Рет қаралды 9,287

Kotlin by JetBrains

Kotlin by JetBrains

Ай бұрын

Recording brought to you by American Express. americanexpress.io/kotlin-jobs
Structured concurrency is one of the key ideas in the Kotlin language, ensuring correct and intuitive cancellation and supervision of jobs. In this talk we look at how these ideas translate when coroutines are introduced in other frameworks with their own lifecycles, like Spring services or Android applications.
Another way to think about this talk is a search for every usage of CoroutineScope in Kotlin libraries, and understand how that bridges the world of coroutines.
Jobs are not the only lifecycle-aware pattern in Kotlin. The Arrow library provides other two examples: resource management, and distributed transactions. By the end of the talk, you'll be able to see the commonalities, and have a better understanding of all those interfaces ending in Scope.
Due to technical difficulties, this talk was not properly recorded during the conference. Alejandro kindly agreed to re-record it at the JetBrains office.

Пікірлер: 6
@alexismanin5239
@alexismanin5239 5 күн бұрын
Very clear, it really helped me better understand the power of coroutine scopes 👍
@aungkhanthtoo7678
@aungkhanthtoo7678 Ай бұрын
Great talk!
@evgeniyemelyanov7281
@evgeniyemelyanov7281 Ай бұрын
Great explanation, thanks!
@Jlin1982
@Jlin1982 26 күн бұрын
Greate talk
@Heksapoda
@Heksapoda Ай бұрын
Is it mean that Activity initiate a Thread and exist until the Activity destroyed then other components could use that Thread to do asynchronous job?
@rahu-gill
@rahu-gill 5 күн бұрын
no, all code you write in an activity is by default run in the single ui thread
Kotlin Language Features in 2.0 and Beyond - Michail Zarečenskij
46:57
Kotlin by JetBrains
Рет қаралды 17 М.
Kotlin + Power-Assert = ❤️ | Brian Norman
13:13
Kotlin by JetBrains
Рет қаралды 6 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 19 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 27 МЛН
Avoiding common coroutines mistakes in Compose by Márton Braun
15:02
Kotlin by JetBrains
Рет қаралды 2,7 М.
Concurrency Vs Parallelism!
4:13
ByteByteGo
Рет қаралды 69 М.
Using Kotlin Multiplatform to build apps for cars
13:13
Novoda
Рет қаралды 2,3 М.
Kotlin Code Reuse: Composing like you're Inheriting
14:42
Dave Leeds
Рет қаралды 7 М.
Coroutines and Loom behind the scenes by Roman Elizarov
45:22
Kotlin by JetBrains
Рет қаралды 31 М.
The Essence of Coroutines
8:10
Dave Leeds
Рет қаралды 8 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 40 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 64 М.
KMP in Action A Production Case Study | Annyce Davis
45:54
Kotlin by JetBrains
Рет қаралды 1,6 М.
Everything you need to know about Kotlin 2.0 🟣
11:05
Stevdza-San
Рет қаралды 62 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,8 МЛН
КРАХ WINDOWS 19 ИЮЛЯ 2024 | ОБЪЯСНЯЕМ
10:04