Re:Ask HN: Best way to share client code in 2023
by ozaiworld on Friday January 06, 2023 @05:24PM
(#34282148)
As someone working on mostly native iOS apps, Flutter apps, and React webpages, I’ve been looking for a solution to share common models and other utilities between clients.
Kotlin Multiplatform definitely looks like the most mature option, but I’m looking at Flutter/Dart as an option, too. Dart has support for method channels with Swift/Obj-C and Kotlin/Java plus there’s the official dart2js compiler.
I personally don’t think Flutter is the right choice for a best-in-class native mobile app and definitely not for a website, but I think there might be something worthwhile using Dart as the language of shared library like Kotlin Multiplatform.
Kotlin Multiplatform definitely looks like the most mature option, but I’m looking at Flutter/Dart as an option, too. Dart has support for method channels with Swift/Obj-C and Kotlin/Java plus there’s the official dart2js compiler.
I personally don’t think Flutter is the right choice for a best-in-class native mobile app and definitely not for a website, but I think there might be something worthwhile using Dart as the language of shared library like Kotlin Multiplatform.