Does the Dalvik file format (* .dx) support more instructions than the Java.class file?

Is there anything that supports Dalvik VM (in terms of bytecode) that is not currently in use since .class files do not have it?

As an example, if people write their own Source-to-DX converter for their functional language XYZ, will they be able to implement e. d. full tail, although the .class file only supports tail calls in certain circumstances?

+3
source share
1 answer

I am not an expert, but from what I see, the answer will be no .

Dalvik JVM , Dalvik VM, JVM - , .

http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html

http://en.wikipedia.org/wiki/Java_bytecode

Java- ( JVM).

Java , (, , new Throwable().getStackTrace(), Android). , , "", getStackTrace.

+3

Source: https://habr.com/ru/post/1741569/


All Articles