3 ms·
Kotlin as a competitive next gen language In order for Kotlin to be taken seriously outside Android, especially in relation to Swift/Rust as a native language,
by adsharma 6y ago
Kotlin as a competitive next gen language
In order for Kotlin to be taken seriously outside Android, especially in relation to Swift/Rust as a native language, it needs a few changes.
1. Make the compiler native binary and competitive with other languages for startup times outside Gradle workflow.
2. Support linux CLI and make/cake work flow as a first class citizen.
3. Support Linux as a host for Kotlin multiplatform mobile. Right now C is the only true multiplatform language
I made a post on Kotlin forums on this topic if anyone here wants to take it up.
- phendrenad2 6y agoKotlin is definitely already taken seriously outside of Android. Anecdotally most of the devs I talk to in the web dev world see it as a possible replacement for Ruby/Node.
- pjmlp 6y ago> Right now C is the only true multiplatform language I have been doing pretty alright with Ada, Object Pascal, D, Go, Rust, C#, C++ and Java (yes even on iOS).
- adsharma 6y agoI meant KMM (Kotlin Mobile multi-platform). Not aware of write once and run twice (iOS and Android) apps in these languages. Jetbrains recently removed working Linux support for KMM as a host platform.
- pjmlp 6y agoNeither does KMM, as it only allows for business logic and Kotlin/Native has an incompatible memory model with the JVM ecosystem, requiring code to be explicitly written for Kotlin/Native.
- adsharma 6y agoBoth iOS and Android use garbage collected memory. It's just that iOS uses simpler garbage collection in the form of ARC. KMM code runs fine on JVM right? If you start from JVM code, yeah it needs to be rewritten, but that's not the premise.
- pjmlp 6y agoIt is wasn't a problem, this blog post would not have been written. https://blog.jetbrains.com/kotlin/2020/07/kotlin-native-memory-management-roadmap/ https://blog.jetbrains.com/kotlin/2020/07/kotlin-native-memo...