View Single Post
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#60
Originally Posted by bcaroll View Post
The iPhone is the phone everybody wants to beat, so what must Nokia do to make Maemo better. I have some ideas and one of them is Java.

Every iPhone developer a have talked to complains about the awful IDE that Apple provides Xcode. That feel like going back to how Java IDEs looked 10 years ago. They also complains about having to work in C and specifically memory management. If development is done is Java everybody can use their favourite IDE (Eclipse, NetBeans, IntelliJ, etc) and on device debugging can be used easily.

JavaME is a must so that it can be used until the native Maemo apps are created. I won't buy a phone that don't have JavaME.

There should also be JavaSE on the device and QT bindings for the developers that want leverage all the native power. With JNI most of an app could be written in Java with callout to the native platform for performance or hooks into native functions.

JavaFX would be nice but I don't think that it would make difference on the sales of the devices.
So you want speed and java. Yeah thats not going to happen. As an android coder who also codes in C I can tell you there is no comparisson in performance. The reason java coders hate to code in C is because it forces you to think about memory allocation and freeing and that goes against the " throw everything into memory and let garbage collection sort it out " mentality that most Java coders have.

Trust me the surest way to take something fast and hobble it is chuck Java into the mix. Here is an example.

I have a pixel by pixel filter I compiled on my G1 in C and also the same filter in Java. The C version runs in 2 seconds on a selected image, the Java version takes 20 and on top of that half the time it craps out because the jvm runs out of memory.

Take from that what you will I guess
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900