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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
prassee
April 08, 2020
Programming
47
0
Share
Implementing_State_Machines_in_Kotlin.pdf
prassee
April 08, 2020
More Decks by prassee
See All by prassee
State_of_LSP_in_Kotlin.pdf
prassee
0
43
FINAGLE - AN INTRO TO RPC & ASYNC PROGRAMMING IN JVM
prassee
1
120
Other Decks in Programming
See All in Programming
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
220
Java 21/25 Virtual Threads 소개
debop
0
340
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.2k
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
Coding as Prompting Since 2025
ragingwind
0
770
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
2
260
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
110
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
220
Nuxt Server Components
wattanx
0
260
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
260
AI活用のコスパを最大化する方法
ochtum
0
380
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.9k
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
Evolving SEO for Evolving Search Engines
ryanjones
0
180
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
The untapped power of vector embeddings
frankvandijk
2
1.7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
260
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
AI: The stuff that nobody shows you
jnunemaker
PRO
5
530
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
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 !!!