InterviewSolution
| 1. |
Does Sl4a Compile The Supported Languages To Dex Bytecode Or Is There An Additional Layer Of Interpretation? |
|
Answer» It depends on the language a BIT. BeanShell is run in the JVM and has an additional layer of interpretation. Lua, Python, and Perl are actually the C versions running natively. All INTERACTION with Android is over RPC CHANNELS. Still, the RPC API is compiled to dex so there's no additional interpretation in Java (other than reflection). It depends on the language a bit. BeanShell is run in the JVM and has an additional layer of interpretation. Lua, Python, and Perl are actually the C versions running natively. All interaction with Android is over RPC channels. Still, the RPC API is compiled to dex so there's no additional interpretation in Java (other than reflection). |
|