3 ms·
It doesn't use Dalvik anymore?
by Filligree 10y ago
It doesn't use Dalvik anymore?
- lloeki 10y ago"Java is four things." - jwz https://www.jwz.org/doc/java.html https://www.jwz.org/doc/java.html
- cwyers 10y agoOh jwz. Maybe we're the manchildren, but maybe it's the person who redirects all HN links to a picture of a hairy scrotum that hasn't in fact grown up yet.
- jsiepkes 10y agoDalvik is a Java runtime implementation (well technically not but let's keep things simple) just like OpenJDK's hotspot; It compiles bytecode to machine language which your device (PC, smartphone, etc.) can execute. Bytecode is the thing the Java compiler produces (class files) from your Java source code. Android N only switched to the Java API (base classes) of OpenJDK. As far as I know they didn't switch runtime environment. (I know dalvik technically doesn't run bytecode but some other form of intermediary code optimized for mobile devices. I sidestepped that to keep things simple)
- dragonwriter 10y agoThey did change runtimes from Dalvik to ART, from Android L on.
- asmosoinio 10y agoNot since 5.0 (Lollipop). "The successor of Dalvik is Android Runtime (ART), which uses the same bytecode and .dex files (but not .odex files), with the succession aiming at performance improvements transparent to the end users. The new runtime environment was included for the first time in Android 4.4 "KitKat" as a technology preview,[4][5] and replaced Dalvik entirely in later versions; Android 5.0 "Lollipop" is the first version in which ART is the only included runtime." https://en.m.wikipedia.org/wiki/Dalvik_(software) https://en.m.wikipedia.org/wiki/Dalvik_(software)
- bitmapbrother 10y agoThe Dalvik runtime was replaced with ART in Android 5.