From: Sascha H. <sa...@xm...> - 2011-03-05 02:53:58
|
On Fri, Mar 4, 2011 at 5:01 PM, Andrew Hodgson <a.s...@gm...>wrote: > I've been in the xmlvm mailing list for a while. > > Im am now starting a port of a complex standard java application to the > iphone using xmlvm. > > It does currently run on android but most of it was developed under linux > (Just added a GUI for the android) > > After reading the mailing list and the documentation I'm a bit confused. > > The documentation doesn't mention the C or posix targets. The mailing list > suggests using the posix target as it has translated most of Harmony. > That is correct. The reason the documentation doesn't mention C or Posix yet is because these targets are still in development and not yet recommended for general use, although you are of course happy to try them out. > > Posix sounds great as when I last tried this with the Obj-C version it had > too many standard bits missing (System.err, java.util.Hashtable ...) > Yes so with the move to C one of the things we do is cross-compile most of Harmony, which should enable you to use most classes from the standard JDK. > > Now for the questions. > > 1. What is the difference between the posix target and C target > > The C target will just take every class you feed it and spit out c files. Not more and not less. The POSIX target does more. It's goal is to spit out a whole project that contains all JDK dependencies that your app needs and a MakeFile that you can simply use to build your app. If you want to target the iPhone, then there is one more target (or for you it's actually the only one) that is important: iphonecandroid. Once these targets are more complete and stable, we will most deprecate the ObjC targets and move everybody to the C backend. > > 1. What target would the group recommend for porting a standard java > application with minimal GUI's, lots of complex multi-threaded algorithms, > networking and audio processing ? > > I leave it to the people actually working on these parts right now to reply with more detail, but I know that the C backend will probably not enable this quite yet. I know that Wolfgang is working on getting networking going right now. I don't think we touched audio processing with the C backend yet at all. With the ObjC backend you might have more luck, but again I leave it to Arno, Wolfgang and Panayotis to give the details. But at least we were able to to cross-compile apps with networking and audio in the past. I guess it depends on the exact API you are using and whether the ObjC compat lib supports those. > > > Any assistance/advice greatly appreciated. > > > Andrew > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |