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
Etat des lieux de l'écosystème de Kotlin en 2024
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yostane
November 12, 2024
Programming
69
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Etat des lieux de l'écosystème de Kotlin en 2024
yostane
November 12, 2024
More Decks by yostane
See All by yostane
[Fork It! Tunis 2025] How I Ported Doom to the Browser with WebAssembly
yostane
0
63
[TnT 2025] Comment j'ai porté Doom sur navigateur grâce au Web Assembly
yostane
0
30
[FOSDEM 2023] How I Ported Doom to the Browser with WebAssembly
yostane
0
56
[DevoxxUK 2024] Using WASM to port games to the browser: the BlazorDoom use case
yostane
0
50
[DevoxxBe 2024] Run your favorite games everywhere with WASM: the BlazorDoom use case
yostane
0
39
[TNT25] Etat des lieux de l'écosystème de Kotlin en 2024]
yostane
0
49
Adding fun to API development with Kotlin
yostane
0
170
[DroidKaigi 2024] You’ll 💜 Becoming a FullStack Developer with your Android skills!
yostane
0
54
You’ll 💜 Kotlin and not only for Android!
yostane
0
64
Other Decks in Programming
See All in Programming
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
140
さぁV100、メモリをお食べ・・・
nilpe
0
140
スマートグラスで並列バイブコーディング
hyshu
0
130
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
5.6k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
270
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
3.7k
Contextとはなにか
chiroruxx
1
310
ローカルLLMでどこまでコードが書けるか -拡張版 / How much code can be written on a local LLM Extended
kishida
10
3.9k
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
250
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
540
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Exploring anti-patterns in Rails
aemeredith
3
410
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
BBQ
matthewcrist
89
10k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
320
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
420
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.6k
Transcript
Etat des lieux de l'écosystème de Kotlin Paris JUG 12/11/2024
- 1
Il était une fois un Devoxx 2024 2 Viens en
parler au ParisJug Sais-tu tout ce que peut faire Kotlin ?
3
Yassine Benabbas DevRel, Enseignant Lille Android User Group @yostane in/benabbasyassine
- 4
- 5 blog.worldline.tech youtube.com/@TechAtWorldline
Agenda 6 Langage KMP Dev Front Dev Back Data Science
Langage 7
Kotlin idiomatique • Coder avec les conventions et capacités du
langage • Par ex. : définir des fonctions getters et setters n’est pas idiomatique en Kotlin 8 https://wrl.li/idiom-kt-01
youtrack.jetbrains.com/issue/KT-43871 Litéraux de collections (en discussion) - 9
Et bien d’autres … Explicit backing field Array Literals guards
Infinite loop github.com/Kotlin/KEEP x.com/kotlin Multi-field value classes Context parameters Kotlin statics and static extensions HexFormat - 10
Kotlin Multiplatform (KMP) 11
KMP: principe 12 Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/
Native Kotlin/ Wasm iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies Program.kt
13
KMP: principe 14 Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/
Native Kotlin/ Wasm iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies Program.kt
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 15 Code qui dépend du JDK / JVM
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 16 Code qui dépend du JDK / JVM
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 17 Code qui utilise UIKit (iOS)
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 18 Code qui utilise UIKit (iOS)
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 19 Code multiplateformes mobile
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 20 Code multiplateformes mobile
Compiler backend Kotlin/ JVM Kotlin/ JS Kotlin/ Native Kotlin/ Wasm
iOS Desktop Browser Android Backend Data science Compiler frontend Outillage Librairies 21 Code multiplatformes
22 KMP: structure
23
24 Un monorepo … Comment !
KMP : implémentations spécifiques expect fun getPlatform(): String - 25
KMP : implémentations spécifiques actual fun getPlatform() = "Android ${android.os.Build.VERSION.SDK_INT}"
actual fun getPlatform() = "iOS ${UIDevice.currentDevice.systemVersion}" expect fun getPlatform(): String - 26
- 27
KMP: modes d’intégration - 28
Développement Frontend 29
Plusieurs choix JVM Pure Kotlin Kotlin/JS - WASM Compose JavaFx
React Exemple 30
??? 31
JafaFx + KtFX 32
@composable fun MyComposableView(){ Box(contentAlignment = Alignment.Center, modifier = Modifier.fillMaxWidth().fillMaxHeight()) {
Card(shape = RoundedCornerShape(8.dp), modifier = Modifier.padding(10.dp), ) { Column(horizontalAlignment = Alignment.CenterHorizontally) { Text(text = "Quiz", fontSize = 30.sp, modifier = Modifier.padding(all = 10.dp) ) Text(text = "A simple Quiz to discovers KMP, KMM and compose.", modifier = Modifier.padding(all = 10.dp)) Button(Text("Start the Quiz"), modifier = Modifier.padding(all = 10.dp), onClick = { } ) } } } Title 8:30 Start the Quiz Quizz A simple Quizz to discovers KMP, KMM and compose Compose multiplatform: UI déclarative Repose sur Skia et Skiko - 33
???? Fait intéressant 34 SwingX Romain Guy
- 35
wrl.li/quizapp 36
DEMO TIME KMP + compose 37
Développement backend 38
Plusieurs choix JVM Pure Kotlin Kotlin/JS - WASM Examples 39
DSL restassured DSL de test + nommage des fonctions avec
des phrases - 40
ExpressJS En Kotlin - 41
Ktor server Par JetBrains • Gratuit et open source •
Usage de DSLs • Fonctionnalités de base • Plugins - 42
- 43
- 44
- 45 https://wrl.li/ktorserverdemo
Etudes de cas https://kotlinlang.org/lp/server-side/case-studies 46
Data science 47
Jupyter Notebook • Markdown + code + sa sortie dans
un fichier « .ipynb » • Format bien supporté: Jupyter lab, Datalore, VSCode, IntelliJ, GitHub ... • Support des langages via des Kernels (Kotlin maintenu par JetBrains) 48
Librairies essentielles Kandy Dataframe 49
50
51
52
53 https://wrl.li/kandystats
54
55
- 56 https://wrl.li/kotlindatasciencedemo
Conclusion 57
Kotlin en 2024 Back Data science Front Infra, Scripting, Gradle,
… 58
Kotlin en 2024 Back Data science Front Infra, Scripting, Gradle,
… 59 Fondation Kotlin
• Frontend : Compose, JavaFx • Backend : Ktor, Spring,
Quarkus • Datascience : le kernel Kotlin utilise le JDK • Kotlin est interopérable avec Java 60 Kotlin JVM
Kotlin training KMP training Merci pour votre attention Des questions
? 61 Diapos