4 ms·
Aren't native Java apps on Android effectively deprecated? I feel last I looked Google just pushed Flutter/Dart. I was thinking to try to get a Clojure applicat
by contrarian1234 3y ago
Aren't native Java apps on Android effectively deprecated? I feel last I looked Google just pushed Flutter/Dart. I was thinking to try to get a Clojure application ported to Android (it uses a lot of Java libs under the hood) and .. I got the impression nobody uses Java anymore!
Though, to start with, it was bit unclear if Clojure still doesn't run on ART/Dalvik/whateveritscallednow
- Permik 3y agoNah, It's ART still underneath so anything that compiles to JVM will compile to ART, so Java is never dying. On the Flutter side, it's just another cross platform toolkit like React Native, but a la Google, and won't/can't replace the years and years of Java development. But the current and foreseeable future Kotlin will be the Java successor because of its JVM/Java compatibility, ecosystem and ease of use. For a while some of the new committed code in Android has been Kotlin.
- contrarian1234 3y agoSo the Java API is deprecated and replaced by a Kotlin one? I guess both are on the JVM so there is a migration path... Well except Google's Java is like version 1.5 or 8 - while Oracle Java has kept moving forward and has many more features at this point as far as I understand. I think this was the crux of the issue for running Clojure. I don't know the Java lib compatibility story tbh. I imagine many libraries won't run on Android
- flutas 3y agoJava and Kotlin are still the vast majority of apps, and what's being pushed the hardest in the industry. Kotlin especially with Jetpack Compose for UI.