News for hackers. Stuff that matters.
Re:Retropiler: Java 8 Standard Library Backport for Android by Filligree on Sunday May 07, 2017 @01:07PM (#14286350)
It doesn't use Dalvik anymore?
Re:Retropiler: Java 8 Standard Library Backport for Android by asmosoinio on Sunday May 07, 2017 @02:54PM (#14286918)
Not 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)

Re:Retropiler: Java 8 Standard Library Backport for Android by jsiepkes on Sunday May 07, 2017 @02:24PM (#14286734)
Dalvik 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)

Re:Retropiler: Java 8 Standard Library Backport for Android by dragonwriter on Sunday May 07, 2017 @02:34PM (#14286799)
They did change runtimes from Dalvik to ART, from Android L on.
Re:Retropiler: Java 8 Standard Library Backport for Android by lloeki on Sunday May 07, 2017 @01:32PM (#14286472)
"Java is four things." - jwz

https://www.jwz.org/doc/java.html

Re:Retropiler: Java 8 Standard Library Backport for Android by cwyers on Sunday May 07, 2017 @02:10PM (#14286652)
Oh 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.
Re:Retropiler: Java 8 Standard Library Backport for Android by jlg23 on Sunday May 07, 2017 @05:07PM (#14287680)
> the person [..] that hasn't in fact grown up yet.

One of the greatest accomplishments an adult can achieve.

Re:Retropiler: Java 8 Standard Library Backport for Android by twic on Sunday May 07, 2017 @02:51PM (#14286900)
Could be! I still laugh every time i see that wrinkly breakfast, though.
Re:Retropiler: Java 8 Standard Library Backport for Android by bitmapbrother on Sunday May 07, 2017 @02:55PM (#14286924)
The Dalvik runtime was replaced with ART in Android 5.