TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Why Kotlin Multiplatform Won't Succeed

4 pointsby rvanrooyover 1 year ago

4 comments

cyberbeniover 1 year ago
We had a C++ framework for the 2 mobile+3 desktop platforms at my previous workplace with about 8 people working on it and on average 1 person per platform for the UI.<p>Based on that, I don&#x27;t think it&#x27;s a good idea to try to go cross-platform for the business logic if you only have 2 platforms with less than 4 devs each. It&#x27;s also not a good idea to pay mobile dev salary for mobile dev quality business logic code, C++&#x2F;Rust&#x2F;etc. will get you better code per money spent. Not to mention the possible issues that could arise with using niche tooling, like the KMP compiler.
valianteffortover 1 year ago
I don&#x27;t really understand the point of kotlin. Why did google bother to introduce a new language that still relies on the java VM? Why didn&#x27;t they just rewrite their standard libraries in C++, and build kotlin on top of that?<p>Do google even care about android or is it such an absurdly low revenue division that they try to spend as little as possible on it?
评论 #38188013 未加载
评论 #38187754 未加载
palataover 1 year ago
That read to me like a veeeeery long complaint about... not sure what. The TL;DR is: &quot;Kotlin Multiplatform will not replace everything everywhere, because nothing does&quot;. Apparently that counts as &quot;not succeeding&quot; to the author.<p>My hope is that JVM languages will come back for Desktop apps. And if <i>some</i> code&#x2F;libraries can be shared between e.g. Android and Desktop, then that&#x27;s a win.
coldteaover 1 year ago
&gt;<i>But … KMP will fail to reach mass adoption because of human nature. People resist change and anything that is unfamiliar to them.</i><p>Yeah, it&#x27;s not that. That is just a big hand waving argument, which one could say for anything, including stuff that will get mass adoption.<p>&quot;Humans will never use C&#x2F;C++&#x2F;Python&#x2F;Java&#x2F;C#&#x2F;JS&#x2F;... because something something human nature. People resist change and anything that is unfamiliar to them.&quot;<p>The reason is KMP is just one offering among many others in the multiplatform &quot;shared code&#x2F;UI&quot; space.<p>Kotlin is already niche anyway (despite being a good language), if the bar is about it &quot;gaining mass adoption&quot; in any grand way (comparable to Java for example).<p>If we mean mass adoption in a less grandiose way, Kotlin is doing alright, as do other new languages (Rust and Go for example).<p>&gt;<i>You lost 90% of them right there. They nearly all want to run for the hills. Java and the JVM have a great reputation in JVM circles (Java, Kotlin, Groovy, Scala, etc) but outside of that world people run as far away as they can from Java. It’s sad, but true. I’ve seen it multiple times in the last 20+ years of software development and I still see it to this day.</i><p>Yeah, not everybody is going to use Java. Not because &quot;human nature&quot;, but because there are other options out there, people have investments in code&#x2F;skills&#x2F;time&#x2F;libraries and so on, or prefer other languages.<p>One could just say the same argument about you not using Haskell for example, or C#, or whatever.<p>&gt;<i>We’ve been down the multiplatform road a number of times and it’s never become the panacea of development that proponents of each technological revolution claim it will be. All for the same reason I explained above … human nature.</i><p>Nope, the reason is all multiplatform offerings are crap, and have issues. Java never had a good native UI story. QT had its licensing baggage. C# was mostly a Windows thing, and Mono wasn&#x27;t that encouraging. Electron is bloated. Flutter had a lot of bugs, and the language is changing a lot with each release. And so on.<p>&gt;<i>Not once has one of these platforms has taken the software world by storm. The one that has gotten the most traction is JavaScript, but it still has not taken over the world.</i><p>Like what, everybody using that and only that?<p>This is not &quot;human nature&quot; preventing it, but Javascript being good for particular things and not others, plus huge costs of migration where it could perhaps be a match (including rewriting existing code that works just fine with some other language, retraining costs in time and money, recreating libs that exist and do particular things in the other language&#x27;s ecosystem, and so on).<p>&gt;<i>I’ve been saying for a long time now that we need to use the right tool for the right job.</i><p>Strange, for the most part TFA has been lamenting how not everybody rushed to adopt one single language or another, and how &quot;bad human nature&quot; prevents this.
评论 #38188024 未加载