Kotlin Multiplatform vs Flutter: Which should we use?

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024
  • Making development across platforms easier for developers
    developers.goo...
    FlutterNinjas TOKYO 2024
    flutterninjas.dev
    ■LinkedIn
    / kei-fujikawa
    ■X
    / kboy_silvergym
    ■Instagram
    / kboy_silvergym
    ■Flutter Daigaku (for Japanese now)
    flutteruniv.com
    ■Japanese channels
    / @kboy
    / @kboy1031
    / @flutteruniv
    #googleio2024 #flutter #kotlinmultiplatform

ความคิดเห็น • 104

  • @kei_tokyo_japan
    @kei_tokyo_japan  4 หลายเดือนก่อน +9

    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 4 หลายเดือนก่อน +5

      Beta released for iOS a couple days back with the release of Kotlin 2.0 and k2 compiler.

    • @jackeblan
      @jackeblan 3 หลายเดือนก่อน

      Well you got the point. You have to learn swift.

    • @mubaraknative
      @mubaraknative 3 หลายเดือนก่อน +1

      btw, it is currenly in beta, also we can write all the code in compose instead of swiftUI

    • @senk0n
      @senk0n 2 หลายเดือนก่อน +1

      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.

  • @phevab
    @phevab 8 วันที่ผ่านมา +3

    You can use compose multiplatform for a common UI in KMP

  • @TN-kg2lv
    @TN-kg2lv 4 หลายเดือนก่อน +17

    Kotlin Multiplatform Compose is out which takes care of the UI. It's in alpha. What's your opinion on Compose?

  • @lmarkrol
    @lmarkrol หลายเดือนก่อน +2

    Flutter made by google, unfortunately kotlin is prefered as a recommendation language for android...
    Do you think its ironic?

  • @raja_uma1r
    @raja_uma1r 4 หลายเดือนก่อน +7

    Bro haven't heard about Compose Multiplatform! 😂 It's in beta for iOS and alpha for web. Stable for desktop and Android.

  • @bouyahyabilel2437
    @bouyahyabilel2437 5 ชั่วโมงที่ผ่านมา

    You can use compose multiplatform for a common UI in KMP

  • @ajaykotiyal427
    @ajaykotiyal427 21 วันที่ผ่านมา +2

    Well explained. But performance wise KMP is better ????

  • @SoulExpension
    @SoulExpension 2 หลายเดือนก่อน +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.

  • @andreasrichman5628
    @andreasrichman5628 29 วันที่ผ่านมา +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?

  • @UTJK.
    @UTJK. 4 หลายเดือนก่อน +7

    Thanks for the explanation. Finally someone that tells clearly the difference between the two.

  • @georgikopchev1739
    @georgikopchev1739 4 หลายเดือนก่อน +13

    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  4 หลายเดือนก่อน +1

      That’s good point!

    • @leopet6815
      @leopet6815 4 หลายเดือนก่อน +2

      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 4 หลายเดือนก่อน +1

      You still have to write code for both platforms so no

    • @HoussamElbadissi
      @HoussamElbadissi หลายเดือนก่อน

      @@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 21 วันที่ผ่านมา

      @@meek6836 So, KMP is not purely cross - platform. Right ??

  • @VladimirDjokic
    @VladimirDjokic 4 หลายเดือนก่อน +6

    ❤Flutter

  • @iopyrb
    @iopyrb 3 หลายเดือนก่อน +2

    KMP is flutter killer, maybe 👀😂

  • @pablovaldes6022
    @pablovaldes6022 5 วันที่ผ่านมา

    Nah thanks but i already know Kotlin and Compose so i don't want to waste my time on a new language and framework

  • @바오-c3p
    @바오-c3p 4 หลายเดือนก่อน +5

    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  4 หลายเดือนก่อน +3

      Still developer experience in Flutter is better I think

    • @바오-c3p
      @바오-c3p 4 หลายเดือนก่อน

      @@kei_tokyo_japan I agree with you.

    • @joseph-montanez
      @joseph-montanez 4 หลายเดือนก่อน +1

      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 4 หลายเดือนก่อน +5

      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 2 หลายเดือนก่อน

      @@kei_tokyo_japan I disagree. The class based approach of Flutter is the worst design decision. You need 2 classes for state.

  • @NoPainInLife
    @NoPainInLife 4 หลายเดือนก่อน +2

    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  4 หลายเดือนก่อน

      Do you use compose?

    • @NoPainInLife
      @NoPainInLife 4 หลายเดือนก่อน

      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.

  • @mic9969
    @mic9969 3 หลายเดือนก่อน +1

    KMM is new boss better than react flutter

  • @ManchesterAndroid
    @ManchesterAndroid 4 หลายเดือนก่อน +2

    Compose multiplatform doe

  • @HanifShaikh-w3e
    @HanifShaikh-w3e 4 หลายเดือนก่อน +1

    do you heard about compose multi platform😌

  • @JeudryPeñaPeña
    @JeudryPeñaPeña 4 หลายเดือนก่อน +2

    the thing is, why would i go flutter for same ui, when compose is alredy coming for multiplataform

    • @dangerosa01
      @dangerosa01 4 หลายเดือนก่อน

      It's not

    • @mahmoudalkateb2008
      @mahmoudalkateb2008 4 หลายเดือนก่อน

      ​@@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 2 หลายเดือนก่อน

      @@dangerosa01 it is

  • @jcolindres001
    @jcolindres001 4 หลายเดือนก่อน +1

    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 ?

  • @Vlad-hl1gy
    @Vlad-hl1gy 4 หลายเดือนก่อน +1

    Flutter❤

  • @treksis
    @treksis 4 หลายเดือนก่อน

    looking for js everywhere chad to jump on this clip. react, react native, node!!!

  • @datadriveAshura
    @datadriveAshura 4 หลายเดือนก่อน +1

    Dude, we'r still waiting for that flutter crash course 😅

    • @kei_tokyo_japan
      @kei_tokyo_japan  4 หลายเดือนก่อน

      Oh I didn’t know that😮

  • @AyushKarki-pb7xc
    @AyushKarki-pb7xc 4 หลายเดือนก่อน +1

    swift or kotlin ?

  • @vishwam8632
    @vishwam8632 3 หลายเดือนก่อน

    There is compose multiplatform for sharing UI across all the different platform

  • @jimmywicker3698
    @jimmywicker3698 4 หลายเดือนก่อน +1

    Is flutter demand in Japan?

    • @kei_tokyo_japan
      @kei_tokyo_japan  4 หลายเดือนก่อน +1

      I think relatively good

  • @AWNHACKS
    @AWNHACKS 4 หลายเดือนก่อน

    Thank bro. You made it clear ❤

  • @mannanabbasi9325
    @mannanabbasi9325 2 หลายเดือนก่อน

    What we learn in 2024,

  • @stanleyillidge6920
    @stanleyillidge6920 4 หลายเดือนก่อน

    Totalmente de acuerdo, muy buena tu explicación, cada uno tiene sus campos y para los startups flutter es la merjo opcion

  • @walterlebzax9585
    @walterlebzax9585 2 หลายเดือนก่อน +1

    Please provide subtitles for those who can't hear your accent.

  • @ArisAris-fs1ip
    @ArisAris-fs1ip 4 หลายเดือนก่อน +1

    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  4 หลายเดือนก่อน +2

      Just starting a company costs like 1000usd

    • @Uein
      @Uein 4 หลายเดือนก่อน

      @@kei_tokyo_japan What's the catch?

    • @kei_tokyo_japan
      @kei_tokyo_japan  4 หลายเดือนก่อน +2

      @@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 4 หลายเดือนก่อน

      Where are you from? Im looking for a partner to start a software dev startup

    • @91Canjok
      @91Canjok 4 หลายเดือนก่อน

      ​@@harryzaynnaz-lo7fgim from Germany

  • @vigneshe3466
    @vigneshe3466 4 หลายเดือนก่อน

    Would you like to talk about compose multi-platform

  • @JakobRossner-qj1wo
    @JakobRossner-qj1wo 4 หลายเดือนก่อน +26

    As always React Native 😂

    • @MrlegendOr
      @MrlegendOr 4 หลายเดือนก่อน +7

      React Native is trash 🙃

    • @JakobRossner-qj1wo
      @JakobRossner-qj1wo 4 หลายเดือนก่อน +1

      @@MrlegendOr Why should it be?

    • @jeeva3984
      @jeeva3984 4 หลายเดือนก่อน +4

      Because it comes from trash

    • @JakobRossner-qj1wo
      @JakobRossner-qj1wo 4 หลายเดือนก่อน

      @@jeeva3984 Thats direspecting anyone working on RN or the RN ecosystem

    • @JakobRossner-qj1wo
      @JakobRossner-qj1wo 4 หลายเดือนก่อน

      ​@@jeeva3984Thats disrepecting anyone working on RN or the RN ecosystem

  • @PedroBarbosaRoman
    @PedroBarbosaRoman 4 หลายเดือนก่อน +2

    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 4 หลายเดือนก่อน +3

      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 4 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน +2

      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😮

  • @neilord
    @neilord 4 หลายเดือนก่อน +4

    Your English is very good! Just maybe try practicing speaking. I know it is hard for the Japanese :)

  • @SV-jy4kk
    @SV-jy4kk 4 หลายเดือนก่อน

    0:18 You meant May 15th, right?

  • @Steveiisler
    @Steveiisler 4 หลายเดือนก่อน

    :)

  • @Dipj01
    @Dipj01 4 หลายเดือนก่อน +1

    React Native

  • @Uein
    @Uein 4 หลายเดือนก่อน

    Darn. I wont be in Japan until July.

    • @kei_tokyo_japan
      @kei_tokyo_japan  4 หลายเดือนก่อน +1

      Darn. why don’t you come earlier ?

    • @Uein
      @Uein 4 หลายเดือนก่อน

      @@kei_tokyo_japan I have to be in Vietnam for 3 weeks in mid-June.

  • @usmanAli-hw5xu
    @usmanAli-hw5xu 4 หลายเดือนก่อน

    Flutter ❤

  • @saiphaneeshk.h.5482
    @saiphaneeshk.h.5482 4 หลายเดือนก่อน

    Can anyone join your flutter uni?

    • @kei_tokyo_japan
      @kei_tokyo_japan  4 หลายเดือนก่อน +3

      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 4 หลายเดือนก่อน

      @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.

  • @bbqchickenrobot3
    @bbqchickenrobot3 4 หลายเดือนก่อน

    Neither - C# FTW

  • @dxvfdfx
    @dxvfdfx 2 หลายเดือนก่อน +2

    of course kmp is the future, stop using flutter from now

    • @hariofc
      @hariofc 2 หลายเดือนก่อน

      Haha Flutter >>> KMP

    • @subyk6046
      @subyk6046 หลายเดือนก่อน

      This will be maybe actual in future, but who knows. We will see.

  • @justafreak15able
    @justafreak15able 4 หลายเดือนก่อน +1

    KMP or RN but never Flutter

    • @MrFYS18
      @MrFYS18 4 หลายเดือนก่อน

      Rn? 💀

    • @NoPainInLife
      @NoPainInLife 4 หลายเดือนก่อน

      React Native

    • @jurassa9588
      @jurassa9588 4 หลายเดือนก่อน

      Why not flutter?

    • @keithbacalso9433
      @keithbacalso9433 3 หลายเดือนก่อน

      not fluter because of syntax? xD