Kotlin Multiplatform vs Flutter: Which should we use?

  Рет қаралды 26,413

Kei Fujikawa

Kei Fujikawa

Күн бұрын

Пікірлер
@kei_tokyo_japan
@kei_tokyo_japan 5 ай бұрын
I should have mentioned about the Compose multi platform. It’s the kotlin framework for making other platform UI such as iOS. But even there is, it’s still alpha for iOS and it can’t stand without writing native code basically , I heard.
@raja_uma1r
@raja_uma1r 5 ай бұрын
Beta released for iOS a couple days back with the release of Kotlin 2.0 and k2 compiler.
@jackeblan
@jackeblan 5 ай бұрын
Well you got the point. You have to learn swift.
@mubaraknative
@mubaraknative 5 ай бұрын
btw, it is currenly in beta, also we can write all the code in compose instead of swiftUI
@senk0n
@senk0n 4 ай бұрын
If you’re planning and consider this upcoming project to be reasonable and beneficial to migrate to native UI, I would really suggest looking into KMP + Compose UI for the beginning. Then when time will come, it will be much easier to rewrite only UI part in something like SwiftUI for apple devices. When switching to native UI from Flutter is basically a full rewrite of the application. You can also rewrite one screen, or even part of the screen to use native SwiftUI component, when using KMP + Compose UI, which gives you more flexibility.
@TN-kg2lv
@TN-kg2lv 6 ай бұрын
Kotlin Multiplatform Compose is out which takes care of the UI. It's in alpha. What's your opinion on Compose?
@phevab
@phevab Ай бұрын
You can use compose multiplatform for a common UI in KMP
@UTJK.
@UTJK. 6 ай бұрын
Thanks for the explanation. Finally someone that tells clearly the difference between the two.
@SoulExpension
@SoulExpension 4 ай бұрын
For me, it was simple. I don't like Kotlin or Java, but I need an app. I escape with Flutter and choose another target, same code base, no ridiculous toolchain or deployment.
@georgikopchev1739
@georgikopchev1739 6 ай бұрын
In my opinion, the most important thing is that KMP builds close to native, while flutter doesn't. So its Native -> KMP -> Flutter -> React Native -> Cordova, Xamarin etc.
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
That’s good point!
@leopet6815
@leopet6815 6 ай бұрын
you can write crticial parts of your KMP in native - its like write most in "shared" or "common" (if in compose multiplatform) folder but then you can just do a couple of files in the native folder and it will use that code for that part of the app for that platform
@meek6836
@meek6836 5 ай бұрын
You still have to write code for both platforms so no
@HoussamElbadissi
@HoussamElbadissi 3 ай бұрын
@@meek6836 With Compose Multiplatform you don't have to, aside from some basic glue code that is usually generated for you. And the cool thing is, Compose inherits the same philosophy as KMP itself, allowing you to embed native views within Compose UI code, and vice-versa, building on top of KMP's native interop support. One cool benefit of this is that you can migrate your UI from SwiftUI / Android Views / Swing to Compose gradually, and vice versa as well (which can be useful if you have an iOS app that's successful enough and you want a more native look-and-feel, migrating to SwiftUI from Compose, while keeping all business logic in Kotlin).
@ajaykotiyal427
@ajaykotiyal427 2 ай бұрын
@@meek6836 So, KMP is not purely cross - platform. Right ??
@ajaykotiyal427
@ajaykotiyal427 2 ай бұрын
Well explained. But performance wise KMP is better ????
@NoPainInLife
@NoPainInLife 6 ай бұрын
I am developer which used to KMP and it is not only business but also UI and even database using Ktor. Who sad that KMP does not share UI? Then what I build for my desktope application using kotlin and other many Ios apps?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Do you use compose?
@NoPainInLife
@NoPainInLife 6 ай бұрын
Yes when you talk about KMP actually it is the same thing as Compose Multiplatform. Several month ago it was hard to build applications for IOS but now it is available. But only web in alpha version.
@andreasrichman5628
@andreasrichman5628 2 ай бұрын
I was about to go into flutter until I found out the initial release build is 18MB, and I haven't done anything yet. Comparing to native (just kotlin, not KMP) which "only" 6MB. The app size is crucial in my opinion. Did I miss something?
@tuandattran4227
@tuandattran4227 Ай бұрын
It can be overlooked in today world where device usually has 128gb+ storage
@jordibravo5298
@jordibravo5298 16 күн бұрын
Why is app size crucial? I can live with those extra 12MB in exchange for maintaining a single code base for PC, Mac, iOs, Android and Web. I would happily live with 50 or even 100MB extra in size, didn't even cross my mind that it would be a concern.
@Michaelmike68
@Michaelmike68 5 күн бұрын
It's a lie dude, you found where?
@PedroBarbosaRoman
@PedroBarbosaRoman 6 ай бұрын
That is a good explanation! And from an official google support perspective it is like that. Bear in mind, that there is also Compose Multiplatform that works on top of KMP which enables you to share UI just like Flutter, but that technology for iOS and Web is still, at the moment, in alpha or experimental respectively
@leopet6815
@leopet6815 6 ай бұрын
its not in alpha - its already at v 1.6 - works perfectly on android, desktop, linux - some problems with Apple (there is always problems with Apple) - but def. production ready. Oh, also web is in alpha - but who cares about that - use PHP, Go, Js for web - they are designed for it.
@PedroBarbosaRoman
@PedroBarbosaRoman 6 ай бұрын
@@leopet6815 Well, JetBrains announced *yesterday* Compose Multiplatform for iOS is in beta and web is in alpha now, so I guess you are right 😂
@NoPainInLife
@NoPainInLife 6 ай бұрын
Compose Multiplatform shares UI like Flutter and it is very available for desktope and IOS, and in alpha version for web since 3 - 4 days😮
@VladimirDjokic
@VladimirDjokic 6 ай бұрын
❤Flutter
@바오-c3p
@바오-c3p 6 ай бұрын
But if we're using Compose Multiplatform, it's similar to Flutter. Right? Because Compose Multiplatform shares UI, too.
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Still developer experience in Flutter is better I think
@바오-c3p
@바오-c3p 6 ай бұрын
@@kei_tokyo_japan I agree with you.
@joseph-montanez
@joseph-montanez 6 ай бұрын
Compose Multiplatform iOS support is still in Alpha and it's still rough. Compose Multiplaform just added navigation / life cycle support, in experimental as well. Its still not on the same level as production ready that Flutter is.
@romanpavliuk2301
@romanpavliuk2301 6 ай бұрын
The answer is simple, if u're a native developer, especially if u're an Android native dev, then it is better for u and ur company to use KMP, at least for sharing the business logic. Next step is Compose for building UI. But if u're more into web dev, so Flutter is your choice
@acopier
@acopier 4 ай бұрын
@@kei_tokyo_japan I disagree. The class based approach of Flutter is the worst design decision. You need 2 classes for state.
@jcolindres001
@jcolindres001 6 ай бұрын
Hi, good explanation. In terms of performance which one would be best? In terms of future, will flutter be supported by Google since it is adopting Kotlin ?
@jeromebourgeois3577
@jeromebourgeois3577 Ай бұрын
In first position I would say for me it's "Dioxus", then "Flutter", it's easy and fun, but the web support is not great, and "KMP", I'm keeping an eye on it, to see what it gives with more maturity.
@raja_uma1r
@raja_uma1r 5 ай бұрын
Bro haven't heard about Compose Multiplatform! 😂 It's in beta for iOS and alpha for web. Stable for desktop and Android.
@lmarkrol
@lmarkrol 2 ай бұрын
Flutter made by google, unfortunately kotlin is prefered as a recommendation language for android... Do you think its ironic?
@JeudryPeñaPeña
@JeudryPeñaPeña 6 ай бұрын
the thing is, why would i go flutter for same ui, when compose is alredy coming for multiplataform
@dangerosa01
@dangerosa01 5 ай бұрын
It's not
@mahmoudalkateb2008
@mahmoudalkateb2008 5 ай бұрын
​@@dangerosa01 its gonna come, and gesu what ViewModel are now supported for CMP which is cool, also room database is migrated, the android team in google are working indirectly with jetbrains to migrate compose libraries to be used in CMP. Plus kotlin outplays dart on features and oh god the DSL in kotlin i can write about it all day, I'm flutter developer and i have prior experience with android let me tell you that KMP/CMP has the potential to compete with flutter in every aspect.
@acopier
@acopier 4 ай бұрын
@@dangerosa01 it is
@AWNHACKS
@AWNHACKS 5 ай бұрын
Thank bro. You made it clear ❤
@vishwam8632
@vishwam8632 5 ай бұрын
There is compose multiplatform for sharing UI across all the different platform
@datadriveAshura
@datadriveAshura 6 ай бұрын
Dude, we'r still waiting for that flutter crash course 😅
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Oh I didn’t know that😮
@iopyrb
@iopyrb 5 ай бұрын
KMP is flutter killer, maybe 👀😂
@AyushKarki-pb7xc
@AyushKarki-pb7xc 5 ай бұрын
swift or kotlin ?
@ArisAris-fs1ip
@ArisAris-fs1ip 6 ай бұрын
If you start your own company as solopreneur, what are the costs? is it doable to put some effort after my 9-5?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Just starting a company costs like 1000usd
@Uein
@Uein 6 ай бұрын
@@kei_tokyo_japan What's the catch?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
@@Uein if you earn money over 70,000, making company is better for your tax problem. So I don’t think there’re so many bad things. Sometime making some documents as a company is annoying. But that’s it.
@harryzaynnaz-lo7fg
@harryzaynnaz-lo7fg 6 ай бұрын
Where are you from? Im looking for a partner to start a software dev startup
@91Canjok
@91Canjok 6 ай бұрын
​@@harryzaynnaz-lo7fgim from Germany
@stanleyillidge6920
@stanleyillidge6920 6 ай бұрын
Totalmente de acuerdo, muy buena tu explicación, cada uno tiene sus campos y para los startups flutter es la merjo opcion
@jimmywicker3698
@jimmywicker3698 6 ай бұрын
Is flutter demand in Japan?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
I think relatively good
@HanifShaikh-w3e
@HanifShaikh-w3e 5 ай бұрын
do you heard about compose multi platform😌
@mannanabbasi9325
@mannanabbasi9325 4 ай бұрын
What we learn in 2024,
@ManchesterAndroid
@ManchesterAndroid 6 ай бұрын
Compose multiplatform doe
@usmanAli-hw5xu
@usmanAli-hw5xu 6 ай бұрын
Flutter ❤
@mic9969
@mic9969 5 ай бұрын
KMM is new boss better than react flutter
@pablovaldes6022
@pablovaldes6022 Ай бұрын
Nah thanks but i already know Kotlin and Compose so i don't want to waste my time on a new language and framework
@SV-jy4kk
@SV-jy4kk 6 ай бұрын
0:18 You meant May 15th, right?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Yes May. 😂
@treksis
@treksis 6 ай бұрын
looking for js everywhere chad to jump on this clip. react, react native, node!!!
@neilord
@neilord 6 ай бұрын
Your English is very good! Just maybe try practicing speaking. I know it is hard for the Japanese :)
@vigneshe3466
@vigneshe3466 6 ай бұрын
Would you like to talk about compose multi-platform
@walterlebzax9585
@walterlebzax9585 3 ай бұрын
Please provide subtitles for those who can't hear your accent.
@saiphaneeshk.h.5482
@saiphaneeshk.h.5482 6 ай бұрын
Can anyone join your flutter uni?
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Yes. But not everyone can speak English so far because basically almost all people are Japanese. But I will support you. If Many demand from foreigners happens , I will optimize that for English speakers
@saiphaneeshk.h.5482
@saiphaneeshk.h.5482 6 ай бұрын
@kei_tokyo_japan thank you, I have a little over 1year of experience working on flutter so if there is a way I can contribute and learn from this uni would be helpful for my learning experience.
@JakobRossner-qj1wo
@JakobRossner-qj1wo 6 ай бұрын
As always React Native 😂
@MrlegendOr
@MrlegendOr 5 ай бұрын
React Native is trash 🙃
@JakobRossner-qj1wo
@JakobRossner-qj1wo 5 ай бұрын
@@MrlegendOr Why should it be?
@jeeva3984
@jeeva3984 5 ай бұрын
Because it comes from trash
@JakobRossner-qj1wo
@JakobRossner-qj1wo 5 ай бұрын
@@jeeva3984 Thats direspecting anyone working on RN or the RN ecosystem
@JakobRossner-qj1wo
@JakobRossner-qj1wo 5 ай бұрын
​@@jeeva3984Thats disrepecting anyone working on RN or the RN ecosystem
@Uein
@Uein 6 ай бұрын
Darn. I wont be in Japan until July.
@kei_tokyo_japan
@kei_tokyo_japan 6 ай бұрын
Darn. why don’t you come earlier ?
@Uein
@Uein 6 ай бұрын
@@kei_tokyo_japan I have to be in Vietnam for 3 weeks in mid-June.
@Steveiisler
@Steveiisler 6 ай бұрын
:)
@bbqchickenrobot3
@bbqchickenrobot3 6 ай бұрын
Neither - C# FTW
@Dipj01
@Dipj01 6 ай бұрын
React Native
@justafreak15able
@justafreak15able 6 ай бұрын
KMP or RN but never Flutter
@MrFYS18
@MrFYS18 6 ай бұрын
Rn? 💀
@NoPainInLife
@NoPainInLife 6 ай бұрын
React Native
@keithbacalso9433
@keithbacalso9433 5 ай бұрын
not fluter because of syntax? xD
@dxvfdfx
@dxvfdfx 4 ай бұрын
of course kmp is the future, stop using flutter from now
@hariofc
@hariofc 3 ай бұрын
Haha Flutter >>> KMP
@subyk6046
@subyk6046 3 ай бұрын
This will be maybe actual in future, but who knows. We will see.
@bouyahyabilel2437
@bouyahyabilel2437 Ай бұрын
You can use compose multiplatform for a common UI in KMP
@Vlad-hl1gy
@Vlad-hl1gy 5 ай бұрын
Flutter❤
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 57 М.
React Native vs Flutter - Which should you use?
22:31
Simon Grimm
Рет қаралды 48 М.
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 16 МЛН
Can You Find Hulk's True Love? Real vs Fake Girlfriend Challenge | Roblox 3D
00:24
When u fight over the armrest
00:41
Adam W
Рет қаралды 29 МЛН
Flutter just got Flocked! What does it mean for Flutter's future?
11:26
Maximilian Schwarzmüller
Рет қаралды 64 М.
Why you should bet on Flutter even after Google layoff
7:44
Kei Fujikawa
Рет қаралды 1,5 М.
Have you met bilingual engineers in Japan?
8:33
Kei Fujikawa
Рет қаралды 1,3 М.
What Is Kotlin Multiplatform And How Does It Work? - KMP for Beginners
10:17
Releasing Faster with Kotlin Multiplatform
32:24
Gradle
Рет қаралды 15 М.
The real situation of Flutter jobs in Japan
7:11
Kei Fujikawa
Рет қаралды 3,2 М.