Today is a good day to code

Could ARM”s Jazelle Give us a Java SDK For the iPhone

Posted: July 29th, 2010 | Author: irv | Filed under: Uncategorized, iPhone | Tags: | No Comments »

Could ARM's Jazelle Give us a Java SDK For the iPhone

Picture of IrvinIn perusing wikipedia's information about the iPhone, it seems that the community is sure that it uses an ARM processor. But what is more interesting than the fact that Apple didn't go with XScale for the iPhone, is that the processor they chose supports Jazelle.

So what is Jazelle? Well I didn't know either until I started digging. Jazelle is a set of hardware extensions and some software to allow Java to be processed much more quickly than it normally would. It apparently supports multi-threading, and looks like it is pretty quick. It was probably designed for the Blackberry to run J2ME applications well, but it could do just as well for the iPhone.

Wikipedia thinks the iPhone runs the ARM1176JZ(F)-S CPU, which is capable of running at between 532 MHz and 665 MHz, but I have seen around that it may be underclocked at 400 MHz. Anyone want to overclock their iPhone?

Anyway, if this is the case, and Apple could port the JDK 6 to run using Jazelle, and Swing interfacing with Apple's graphics, Steve Jobs' ball and chain could make an excellent sandboxed development environment for people to do pretty much whatever they wanted with the iPhone, but still not totally pwn it or anything like that.

That could explain why it is taking longer to get the SDK out than usual, I mean normal systems push out the SDK before the device is even released, but if they have to get Swing to talk to the iPhone's PowerVR MBX 3D graphics processor, it could take a while. But the result would be probably an explosion of development.

If Apple doesn't do it, Sun or someone else should now that the iPhone is cracked. It could easily make the iPhone the most indispensable device since the original telephone. Getting the iPhone to run Open Office would become much easier, and so would interfacing with Exchange server.


Google Forcing Apple to Embrace Java on iPhone

Posted: July 29th, 2010 | Author: irv | Filed under: Programming, Uncategorized, java | Tags: | No Comments »

Google Forcing Apple to Embrace Java on iPhone

Picture of IrvinWith the Android SDK preview now out in the wild, we can guess a few things about the future. The first is that the iPhone will find itself stuck as a niche device, and never find its way into business, or be the “Jesus Phone” that everyone wants, if they don't embrace Java, or release a crippled SDK. The second is that Android will be a force to be reckoned with in the cellular industry and that Symbian had better watch its step. The third is that Google is proving its commitment to keeping information free.

The iPhone will remain a niche player if they don't embrace Java. This is a bold statement. What I really mean is that basically, more people know how to write Java applications, than know how to write Objective-C applications, or AJAX applications. It is a much better understood language, and with the Jazelle ARM extensions, the iPhone is an excellent platform for the language and a Java SDK could incite an explosion of applications developed for the iPhone. I have talked about the iPhone's Jazelle processor before, and it is almost a no-brainer as to Apple releasing Java and Swing for the iPhone.

With Google, however releasing a Java based SDK, the applications will be developed for the Android platform, these will include music playback applications, video applications, all sorts of mashups between, business applications, you name it. While the iPhone will end up being just an MP3 player with a phone, and a great browser crippled by an awful data network. People who love iTunes will keep using it, but the hue-and-cry of the prosumer and enterprise for better interoperability and more applications on the iPhone will go away, and people will just buy Android phones instead of pushing Apple.

By being whatever carriers and phone manufacturers want it to be, Android can easily become the most popular phone OS, quickly replacing Symbian, at least on “smartphones.” Let's face it. Until the iPhone the best interface we had, when it was not locked up, was on the Windows CE devices. Android gives users a good looking interface with minimal effort. Its pretty much going to become the standard OS for smartphones, and will aid Palm on its way to becoming only relevant as a Wikipedia article entry.

Google is making good on its mantra to a) do not evil, and b) organize and make available the world's information. It will effectively free the information that is inside my cell phone, and enable me to take my phone from carrier-to-carrier, or just use Google's service, hopefully. By finally opening the cell phone's software, something that for years had been intentionally obfuscated, and by democratizing software development for the mobile platform, Google will enable users to choose what they want to run and how. Carriers may try to stop users from installing applications, but I think that given the handset manufacturer's partnership with Google, they won't try.

All in all, this is the best thing to happen to the cellular industry, basically ever.