From: Arno P. <ar...@pu...> - 2015-12-04 00:08:49
|
active development on XMLVM stopped a couple of years ago, so the simple answer to your question is "no". You can stop reading here but for your benefit let me answer your other questions: 1. no 2. the current version of XMLVM can translate any Java byte code to C (there is also an older Objective-C backend). For the runtime library it uses Apache Harmony. 3. The C backend of XMLVM supports basic reflection. You can dynamically invoke method and inspect classes. However, since there is no class loader, you cannot do things like injection. 4. XMLVM bundles a garbage collector with the generated C code. To my knowledge, J2ObjC still relies on reference counting and one has to be more careful with memory management. However, J2ObjC is under active development so that is the way to go. HTH, Arno On 12/3/15 10:46 AM, Scott Pierce wrote: > Hey, I’m looking into XMLVM and had some questions. So I’m looking to > translate a Java based library with non-android specific code to > Objective C so the code can be used on iOS. Again the library is > platform agnostic. > > 1. Is XMLVM production ready for a task like this? > 2. Are there any limitations on the code it can translate? > 3. How does XMLVM respond to reflection? > 4. Are there any advantages for something like XMLVM over J2ObjC? > > Thanks, > Scott > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |