News for hackers. Stuff that matters.
Re:Kotlin Multiplatform for Android and iOS Apps by MarkMarine on Monday September 25, 2023 @12:31PM (#37646543)
I think modern Java has stolen a lot of Kotlin’s thunder. The differences between the languages shrink with each Java release, and server side Kotlin isn’t evangelized by its main cheerleader, google.

It’s a GC language, so rust/zig are not good comps. Go, Java, Scala, Server side JS/Node, or python. These are the comps.

Personally, I’ve written a number of non-trivial, server side applications in Kotlin. The extra cost of asking my colleagues to learn another language and some pain in the interop with Java has dampened adoption. It’s a shame, I find the coroutine library a joy to use, with none of the painful drawbacks of go, node, python, etc.

Re:Kotlin Multiplatform for Android and iOS Apps by colanderman on Monday September 25, 2023 @12:41PM (#37646700)
Don't forget C#/F#. Microsoft's been leaning hard into cross-platform with MAUI.
Re:Kotlin Multiplatform for Android and iOS Apps by callalex on Monday September 25, 2023 @03:04PM (#37648926)
Microsoft can only implement Embrace Extend Extinguish so many times before even the dumbest of developers starts to catch on and avoid being bitten.
Re:Kotlin Multiplatform for Android and iOS Apps by h4x0rr on Monday September 25, 2023 @04:08PM (#37649853)
Hot take: Microsoft can't do good UI frameworks and it shows. XAML makes some things really hard, resulting in loads of ValueConverters for example. Part of my bad experience might just be the learning curve but honestly I'm not surprised so much software is built using Electron.
Re:Kotlin Multiplatform for Android and iOS Apps by colanderman on Monday September 25, 2023 @04:23PM (#37650071)
I am actually using Avalonia+ReactiveUI for my current project (MAUI doesn't support Linux or F# last I checked), which I understand is similar to WPF... what a hot mess it is to wire up models to views in just the right way, especially in F#.
Re:Kotlin Multiplatform for Android and iOS Apps by Clamchop on Monday September 25, 2023 @04:56PM (#37650482)
These are all fair points for Java on the JVM or Android, but Kotlin Multiplatform does things that are well beyond the purview of the JCP.

It has downsides to be sure but it's not as simple as evaluating it as just another option for compiling to bytecode anymore.