The current state of Kotlin Multiplatform seems amazingly mindblowing after hearing talks today at KotlinConf Amsterdam. Bullish on the future of native-feeling DRY multiplatform apps. Might finally try my hand at building an iOS / Android hobby app with KMP at some point. #kotlin #kotlinconf

Reply to this note

Please Login to reply.

Discussion

Whats the MP, K is kotlin... then mobile? And P?

Multi Platform

Ahhhhh, right on. Cool. So jvm yuppp. Cool. So its like reactive native but jvm

No, not JVM entirely. It compiles down to native code on iOS and Android. JVM is typically for the server, which is also part of KMP.

Right multi, nice. GPT-4 compatible? Jk lol

"Create me a button, where...." kmp gpt loll

When RMP 🦀? 🤣

R = Rust? 🙂

Yea, because I knew that Rijndael likes it so I picked R 😅

Not quite the same as KMP, but egui is a multiplatform Rust GUI library that I think #[6]​ raves about. https://github.com/emilk/egui

How on earth is that possible if there is no jre on iOS?

Because Java is an ancient dumpster fire? ¯\_(ツ)_/¯

I know, but Kotlin runs on JRE...

On server, yes. Different story for Android, iOS, and JavaScript.

Guessing it transpiles to swift/objective c?

Yeah, it compiles down to native platform code directly. It’s wild.

Insane.

Have you looked into Flutter? Seems to be the best option for cross platform mobile development at the moment. Uses Dart as it’s primary language.

My uninformed opinion after doing an internet search tells me Flutter isn’t as good if performance and native UI look and feel are important. After hearing success stories from major tech players using KMP, plus, me loving Kotlin as one of my favourite programming languages, I’m biased towards it. Dart hasn’t really ever interested me for some reason.

Flutter looks... dirty.

Now we have a react native escape hatch that might not be terrible!

Anything is better than react native lol

Who are the major players using KMP? I know about Cash app which I believe has been using it for a few years now. Who else? I’m keen to learn about their experiences.

I believe the iOS app for Phoenix Wallet is KMP and they’re in the process of transitioning the Android app to it.

Nice. Interesting that they went in that direction (iOS first then android). I can see how that might be a good forcing function to get the layering/modularity right.

I think they first wrote the Android app, but it was written in Java and not made for KMP

Then wrote iOS app in KMP, now working on bringing Android version to use KMP as well.

Google is investing into Kotlin Multiplatform for Google Workspace (Docs, Sheets, etc). Their previous approach was transpiling Java down to Objective-C and JavaScript.

https://www.youtube.com/watch?v=C9gCm51RhsU

Meetup.com also built their app for event organizers from the ground up using Kotlin Multiplatform. This talk was incredible.

https://www.youtube.com/watch?v=VtFam_D1USw

All the KotlinConf 2023 talks can be found here: https://kotlinconf.com/talks/

Awesome, 🙏

We are using Kotlin Multiplatform for the Bitkey mobile app!