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
yostane
November 12, 2024
Programming
73
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
69
[TnT 2025] Comment j'ai porté Doom sur navigateur grâce au Web Assembly
yostane
0
40
[FOSDEM 2023] How I Ported Doom to the Browser with WebAssembly
yostane
0
65
[DevoxxUK 2024] Using WASM to port games to the browser: the BlazorDoom use case
yostane
0
61
[DevoxxBe 2024] Run your favorite games everywhere with WASM: the BlazorDoom use case
yostane
0
49
[TNT25] Etat des lieux de l'écosystème de Kotlin en 2024]
yostane
0
52
Adding fun to API development with Kotlin
yostane
0
170
[DroidKaigi 2024] You’ll 💜 Becoming a FullStack Developer with your Android skills!
yostane
0
60
You’ll 💜 Kotlin and not only for Android!
yostane
0
69
Other Decks in Programming
See All in Programming
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
120
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
引き算の組織 ― アウトカムとAIに全振りするために辞めたこと ― / Organization by Subtraction
hirokiyamamoto14
PRO
0
270
Dockerfile CMD for Node.js
grazie1999
0
110
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
280
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.4k
Built Our Own Background Agent at LayerX
layerx
PRO
10
5.9k
プロポーザルを書いてもらう
pvcresin
0
560
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
340
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
350
GDG Korea Android: 2026 I/O Extended ~ What's new in Android development tools
pluu
0
230
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
200
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
810
Code Reviewing Like a Champion
maltzj
528
40k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
440
Design in an AI World
tapps
1
280
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Building Adaptive Systems
keathley
44
3.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
420
How to make the Groovebox
asonas
2
2.3k
The agentic SEO stack - context over prompts
schlessera
0
870
Optimizing for Happiness
mojombo
378
71k
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