I am considering possible ways to effectively create the target Android and iPhone application from the same code base, whether in C / C ++ / C # / Objective-C or Java (using VMKit).
LLVM looks promising, but I got a little confused about compatibility with various ARM CPU implementations, mainly in terms of how the graphic and sound code are “resolved” by the basic chipsets (ie should I encode specific ARM chipsets, or will higher level API, like OpenGL?).
I am a little versed in various Cross Dev products (e.g. Airplay SDK, MoSync (GPL-GCC), Unity3d, XMLVM, etc.), but what I really would like to do is either write in Java or use C / C ++, emit LLVM IR and create compatible ARM executables, if possible.
Sorry if any of the above is fuzzy.
thank
Rich
source
share