Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Implementing_State_Machines_in_Kotlin.pdf
Search
prassee
April 08, 2020
Programming
0
33
Implementing_State_Machines_in_Kotlin.pdf
prassee
April 08, 2020
Tweet
Share
More Decks by prassee
See All by prassee
State_of_LSP_in_Kotlin.pdf
prassee
0
31
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
97
Other Decks in Programming
See All in Programming
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.2k
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
820
note の Elasticsearch 更新系を支える技術
tchov
9
3.5k
エンジニアが挑む、限界までの越境
nealle
1
320
カウシェで Four Keys の改善を試みた理由
ike002jp
1
130
Making TCPSocket.new "Happy"!
coe401_
1
3.3k
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
6
1.5k
Cursor/Devin全社導入の理想と現実
saitoryc
28
22k
In geheimer Mission: AI Agents entwickeln
joergneumann
0
110
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
190
ComposeでのPicture in Picture
takathemax
0
130
Contribute to Comunities | React Tokyo Meetup #4 LT
sasagar
0
600
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
13
840
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Designing Experiences People Love
moore
142
24k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.7k
Making Projects Easy
brettharned
116
6.2k
Designing for humans not robots
tammielis
253
25k
Unsuck your backbone
ammeep
671
57k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
700
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Rails Girls Zürich Keynote
gr2m
94
13k
Transcript
Implementing State Machines in Kotlin Presented by Prasanna Kumar
About me - Data Engineer @ Kognitiv - Blog @
https://blog.prassee.me/ - Github - https://github.com/prassee/ - Started Kotlin recently !!!! Lets begin !!!!
Agenda - Introduction to State Machine - Modelling a state
machine for “Tumbling Window” - Concurrency in Kotlin - quick tour - Coroutines - Channels - Implementation - code walk through - Q&A
Introduction to State Machine
Modelling a state machine - “Tumbling Window” https://mapr.com/ebooks/intro-to-apache-flink/chapter-4-handling-time.html
Modelling a state machine - “Tumbling Window” (contd)
Coroutine Concurrency in Kotlin - Coroutines https://proandroiddev.com/kotlin-coroutines-channels-csp-android-db441400965f
suspend fun main() = coroutineScope { for (i in 0
until 10) { launch { delay(1000L - i * 10) print("❤$i ") } } } Concurrency in Kotlin - Coroutines
Coroutine Concurrency in Kotlin - Channels https://proandroiddev.com/kotlin-coroutines-channels-csp-android-db441400965f
Show Time !!! https://github.com/prassee/sm-with-k otlin
?
Thank You !!!