Lifecycles, Coroutines and Scopes | Alejandro Serrano Mena

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

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 27 күн бұрын
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
Context parameters from the language design perspective | Anastasiia Nekrasova
13:03
Coroutines and Loom behind the scenes by Roman Elizarov
45:22
Kotlin by JetBrains
Рет қаралды 31 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 52 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 75 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 61 МЛН
Concurrency Vs Parallelism!
4:13
ByteByteGo
Рет қаралды 69 М.
Kotlin Language Features in 2.0 and Beyond - Michail Zarečenskij
46:57
Kotlin by JetBrains
Рет қаралды 17 М.
Kotlin Multiplatform vs Flutter: Which should we use?
4:42
Kei Fujikawa
Рет қаралды 18 М.
The Essence of Coroutines
8:10
Dave Leeds
Рет қаралды 8 М.
The best programmer I know | Daniel Terhorst-North
56:04
Kotlin by JetBrains
Рет қаралды 3,1 М.
Kotlin + Power-Assert = ❤️ | Brian Norman
13:13
Kotlin by JetBrains
Рет қаралды 6 М.
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 248 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1 МЛН
95% Don't Understand THIS About Coroutines (Main-Safety)
9:38
Philipp Lackner
Рет қаралды 27 М.
Torvalds Speaks: Impact of Artificial Intelligence on Programming
5:05
Mastery Learning
Рет қаралды 836 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,8 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 7 МЛН
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 556 М.
Как противодействовать FPV дронам
44:34
Стратег Диванного Легиона
Рет қаралды 130 М.