Hey JC try .NET

John Carmack wrote recently in his blog about developing for mobile devices, in his case a mobile phone with Java support.

It turns out that I’m a lot less fond of Java for resource-constrained work. I remember all the little gripes I had with the Java language, like no unsigned bytes, and the consequences of strong typing, like no memset, and the inability to read resources into anything but a char array, but the frustrating issues are details down close to the hardware.

The biggest problem is that Java is really slow. On a pure cpu / memory / display / communications level, most modern cell phones should be considerably better gaming platforms than a Game Boy Advanced. With Java, on most phones you are left with about the CPU power of an original 4.77 mhz IBM PC, and lousy control over everything.

I spent a fair amount of time looking at java byte code disassembly while optimizing my little rendering engine. This is interesting fun like any other optimization problem, but it alternates with a bleak knowledge that even the most inspired java code is going to be a fraction the performance of pedestrian native C code.

May be you should consider using a Windows Mobile device, for a start on average they're much faster then other more common mobile phones and going that route you have the best of both worlds, you can compile natively for ARM (which most WM devices are), or you could use something like the .NET Compact Framework - sure it won't be quite as fast as native code but you'll get to cut out a lot of the standard boiler plate rubbish and get straight into building the application, it also runs much faster then Java does, plus you can use a language you're familiar with such as C++ (managed) or C# rather then Java.

Oh and a word on the blog JC - have comments and trackbacks, its not really a blog IMO if its disconnected from the blogosphere.

Trackback address for this post

Trackback URL (right click and copy shortcut/link location)

8 comments

Comment from: Wester547 [Member] · http://www.halflifeportal.com/
Some nice suggestions there Paul, but I doubt JC is reading this. ;)
29th March 2005 @ 19:58
Comment from: Paul Smith [Member] · http://www.dasmirnov.net/
Which is why his blog needs trackbacks.
29th March 2005 @ 20:40
Comment from: arceihn [Member] · http://www.the-avatar.com
Except that he is not going to do that is he, the reason for this is
29th March 2005 @ 21:42
Comment from: arceihn [Member] · http://www.the-avatar.com
because he'd get a bazillion comments and trackbacks and such on every entry he bothered to make and a busy fellow like whatshisface would have no time for such nonsense.
29th March 2005 @ 21:43
Comment from: Wester547 [Member] · http://www.halflifeportal.com/
Exactly, Ransom is correct, John Carmack doesn't want his comments being littered and flooded with a billion n00bs screaming: "OMG WTFLOLLOLLOL u r TEH roXXorz give us teh DOOM C3ll phne RPG GAME#3 LOLLOL11122223THRETHREOTWOTWO!!111233 WTF LOL".

8-)
29th March 2005 @ 22:26
Comment from: Paul Smith [Member] · http://www.dasmirnov.net/
It's not hard to setup a system to approve posts. People who have far more visits on their blog then John Carmack's can manage fine.
29th March 2005 @ 23:51
Comment from: arceihn [Member] · http://www.the-avatar.com
But littered AND flooded! CAN YOU NOT SEE THE IMPLICATIONS OF THIS?!
30th March 2005 @ 18:15
Comment from: Wester547 [Member] · http://www.halflifeportal.com/
Ransom. Chill out.
31st March 2005 @ 05:52

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)