The colorful wolf

January 19, 2010

Some Java

Filed under: Tech — randy @ 20:01
Tags: , , ,

I came across this link during another fit of frustration with Xcode and Obj-C. XMLVM is a cross-compiler that can cross-compile Java code and turn it into Obj-C code that will run on the iPhone. Well, sort of. It runs on the iPhone simulator, but to actually get it to work on the device you’re still bound to Xcode for various signing reasons. However, the core portion of Cocoa has been faithfully reproduced in Java, so you get all the benefits of Eclipse while developing: code completion, continuous compile-time checks, even a simple iPhone simulator written in Java that uses Swing to mimic the UI classes of the iPhone. All of that being said, I won’t be using XMLVM for any of my projects (yet), but I certainly hope that this will continue to be developed. It has great potential.

And here‘s a very useful article on tuning the garbage collection in Java. This is a must-read for Java devs. I found it very interesting.



  1. I went to the project homepage. I think they use the term “cross-compiling” incorrectly. Cross-compiling is when you compile and link executables targeted to a different architecture than the compiler is currently running on. For example, compiling ARM executable on a x86 PC.

    Just my 2c 🙂

    Comment by Mathieu — January 20, 2010 @ 18:33 | Reply

  2. Hm, they do use the term in a very broad spectrum 😛 I respect their trickery though. In the meantime, I’m trying to figure out how to make my iPhone add build automatically on a Hudson installation…. >_<;

    Comment by rheide — January 21, 2010 @ 20:54 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: