:bulb: It seems to me that there's advantage of th...
# multiplatform
d
💡 It seems to me that there's advantage of the way Kotlin does Multiplatform, which I haven't seen discussed much: That of it being much cheaper to write across-platform features. For example, let's say I want to have a Photo Gallery App that's fully functional on Android TV and Apple iPad independently, but also allows them to work together so that - for example - the TV Displays pictures selected on the iPad. Those types of Apps benefit most from having a wide spread of channels (platforms to support) which is multiplicatively expensive for individually platform-native approaches. KMP makes it a breeze; and all the network/protocol code for comms between them is guaranteed to be in lock-step too - a critical part of such applications. Applications embracing this mindset of opportunity across platforms will lead a competitive edge! Does anyone have any nice examples where they've done this?
c
There was one project I worked on which was going to have a complex JS UI that wasn't specified well, I just created a mini JVM CLI app using the same client-sode network layer to be able to test it out before the real UI was developped
👍 1
kodee excited 1
d
Nice 🙂 We at work we have a Mobile-focused SaaS product where the Admin Portal is implemented as a Desktop and/or Web (WASM) App, while re-using many modules from the Mobile Client, for Client SDK; Compose UI widgets, image handling and more.
c
For me the main benefit is the ability to test. I can write full integration tests with the client and server logic within a single process, so it's very easy to debug etc.