7:23 The bridge here isn't entirely true because Flutter doesn’t depend on the native platform like RN used to unless it needs access to the camera and other hardware. For inputs, dialogues and other UI-related things no bridge is required just like a game engine and even when you need a bridge the performance difference is too slim. So that e-commerce you are dreaming of building can work fine with Flutter. Nice video by the way.
Great video Philipp When I was trying out Kotlin multiplatform, I did come across some performance issues and even some runtime errors when the code was running in an iOS device. I tried to report them as much as I can, but most issues were because of objective C to swift interoperability. So it's better to test all the features thoroughly before directly using it a production app.
Is true that Kotlin compiles to JVM bytecode but is then is converted to a Dalvik Executable (DEX). Android itself not longer uses JVM for running apps, instead uses Android Runtime (ART). During the installation of the APK, the ART runtime compiles the DEX files into native machine code. ART is the succesor of the Dalvik runtime.
There is a problem with your speech in your last 2 videos. Flutter can call NDK functions through FFI, which makes it possible to generate bindings for native communication (in the similar way that Kotlin does for Swift or Objective-C interop - there is no magic). Of course, this mapping is not simple considering cross-platform (if it were, KMP should already be on all platforms)... it would be like building the NDK in the same language for all platforms (so, for quick adoption, a "more simple" approach is to use a communication interface with the current platform's SDK (e.g. kotlin, swift, c++, js, etc). But if your app needs 10 cents more performance in native, in Flutter you can use FFI to that. I really hope to see this magic in KMP of being able to access native resources directly, without any binding. This would be valuable for any other cross-platform framework that could use KMP as a native access layer.
thank guru, you helping students to archive there goals
I was looking for this playlist, Thank you and very excited for this
Really looking foward to this. Thanks once again, Philipp
You can use any libraries in appropriate platforms. They don’t need to be multiplatform. For example, if you need to use platform specific logging libraries, you just need to wrap each of them into common multiplatform API. This is just an implementation of your API, which on specific platform using available library. If one want to use log4j API in his/her KMP application, they will call method directly on JVM targets, but the Kotlin implementation of the same API on native target calling (or not) existing logging library. All these will happened in compiled binaries, so no different from one implementing direct calls.
Interesting timing. I’m actually starting to learn Kotlin at the moment. I learned Java and C back in college, but as far as Kotlin, I got as far as putting together a quick cheat sheet of formatting things like variables and functions. I don’t have internet at my house at the moment outside of my phone’s hotspot data, so my day today has been hauling my desktop to my grandmother’s house just to install Android Studio and hauling it back. I already have an idea for an app I want to develop, something kind of silly and dumb that’s more an excuse for learning to make an app and use the Google Maps API. I was about to start working on learning to put it together exclusively on Android when I found this video appear on my feed. So, like I said, interesting timing.
Flutter uses Dart VM only for development with JIT compilation, in production it compiles to Native code with AOT compilation. Please stop confusing people
Looking forward to it!
Philip please introduce kotlin amper technology for build tool configuration for kmp
very informative video as usual , and for just a note you can leverage your iphone to test your ios code until you get a mac 😊
Bonne nouvelle. On attend impatiemment la suite des videos 😋
2 new things I learned today: JVM for android Native binary for apple.
0:43 are they going to be limitations that Flutter don't have?
Awesome. Looking forward to the playlist.
You already have my Like and View guaranteed❣❣❣
Great, I will follow this list with the other commands for Android Studio
@vishwam8632