Re:New language features since Java 8 to 17
by hota_mazi on Sunday October 24, 2021 @04:26PM
(#28981557)
Android is based on the JVM, it will never switch to Flutter (and an aggravating factor is that Dart is an inferior version of Kotlin).
[ Parent
| on HN ]
Re:New language features since Java 8 to 17
by morelisp on Sunday October 24, 2021 @04:45PM
(#28981731)
The JVM is specifically the part of Java Android didn't use, and the layer Google has already completely replaced once.
Re:New language features since Java 8 to 17
by pjmlp on Sunday October 24, 2021 @04:55PM
(#28981820)
DEX must be able to represent everything on the Java ecosystem, otherwise it is a hit and miss what can be consumed from Maven central.
Also it is quite common on embedded Java for the vendors to have their own implementation with code translation.
What isn't normal is having stagnant compatibility.
Re:New language features since Java 8 to 17
by xvilka on Sunday October 24, 2021 @09:26PM
(#28983593)
Java is an Android's curse. Just compare how completely native iOS and iPadOS beat it in terms of speed and power saving. I hope they will get rid of the Java remnants completely and focus on the native toolchain, frameworks, system libraries.
Re:New language features since Java 8 to 17
by xxpor on Sunday October 24, 2021 @11:40PM
(#28984292)
Meanwhile there's a article literally on the front page about zero-click exploits being used against iMessage
Re:New language features since Java 8 to 17
by xvilka on Monday October 25, 2021 @05:02AM
(#28985819)
Java doesn't help against exploits, there are plenty in Android phones as well.
Re:New language features since Java 8 to 17
by xxpor on Monday October 25, 2021 @02:13PM
(#28991199)
It certainly adds a layer of protection that makes issues like the classic C errors with buffer overruns and derefing invalid pointers a LOT less likely.
Re:New language features since Java 8 to 17
by kaba0 on Monday October 25, 2021 @03:12AM
(#28985190)
Android doesn’t run java though? It runs native code the same way as ios, so bringing the latter ecosystem’s better performance into the picture without considering the generational leap in terms of CPU design is just a faulty logical conclusion.