Live data from Hacker News

Kotlin Multiplatform for Android and iOS Apps

rockandnull.com

81–82 of 82 posts

Re: Kotlin Multiplatform for Android and iOS Apps

#81
post #63

I'm puzzled why Kotlin isn't getting enough attention on HN, at least as much as Rust or Zig. Kotlin is indeed popular in it's specific domain (Android & Java). But the company is keen to position it as "write once run anywhere" space with a strong focus on multiplatform development. 1. The build system provides platform specific bindings for free (huge plus compared to the hassle of writing the core in C/C++ and the…

Its trying to be everything, but its good at nothing. Even with spring boot, it has a painful edges. Learning a language isn't a huge burden. Frameworks and libraries can alleviate huge burdens. Kotlin avoids the benefits of frameworks and libraries while giving meager benefits in term of language constructs.

Can you elaborate on the painful edges and the benefits of frameworks avoided?

I wanna understand better as I do kotlin in daily basis, some with spring, some with ktor and some with android and I don't get your points.

Re: Kotlin Multiplatform for Android and iOS Apps

#82
Many people seem to overlook the fact that Kotlin Multiplatform (KMP) is primarily developed for the purpose of sharing logic. KMP provides capabilities that are on par with what native C++ and C libraries have offered for several years, but with a higher level of sophistication.

For those who discuss 'compose multiplatform' and UI sharing using KMP, it's essential to understand that KMP's primary focus is logic sharing. Sharing user interfaces is merely an additional capability it offers via Compose Multiplatform. I strongly recommend that everyone conducts further research. Comparing KMP with Flutter and React Native is like comparing apples and oranges.

Post reply on HN