top | item 43751197 (no title) jevogel | 10 months ago Android runs Java, which runs on the JVM. discuss order hn newest microtonal|10 months ago The VM that runs Linux is not implemented in Java. It uses a variant of KVM called pKVM. (pKVM allows for mutually distrusted execution environments: https://source.android.com/docs/core/virtualization/security.) stavros|10 months ago Debian code won't converted into Java bytecode, though, so it won't run on the JVM. If it's the ARM version, it'll probably just run directly on the CPU. znpy|10 months ago Uh, this is wrong on different levels.The java bytecode gets translated to a different virtual machine, dalvik/dex (iirc) so no jvm involved.Other than that, afaik, there’s also a native development kit if you need to call into native code (c/c++/whatever).
microtonal|10 months ago The VM that runs Linux is not implemented in Java. It uses a variant of KVM called pKVM. (pKVM allows for mutually distrusted execution environments: https://source.android.com/docs/core/virtualization/security.)
stavros|10 months ago Debian code won't converted into Java bytecode, though, so it won't run on the JVM. If it's the ARM version, it'll probably just run directly on the CPU.
znpy|10 months ago Uh, this is wrong on different levels.The java bytecode gets translated to a different virtual machine, dalvik/dex (iirc) so no jvm involved.Other than that, afaik, there’s also a native development kit if you need to call into native code (c/c++/whatever).
microtonal|10 months ago
stavros|10 months ago
znpy|10 months ago
The java bytecode gets translated to a different virtual machine, dalvik/dex (iirc) so no jvm involved.
Other than that, afaik, there’s also a native development kit if you need to call into native code (c/c++/whatever).