News for hackers. Stuff that matters.
Re:Why the Apple iPad has no Java or Flash by hga on Thursday February 04, 2010 @10:09PM (#1102556)
This is fantastically good, it explains with convincing specifics why Flash is a bad idea on the iPhone OS ecosystem (and less so for Java, but that's much less of an issue).

Also points out how the insanity of Blueray DRM plus Apple's installed base of hardware makes Blueray a non-starter for them.

See also this invaluable essay on Vista and DRM: http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.html; it's what convinced me that Microsoft had turned against the users of its operating system.

Re:Why the Apple iPad has no Java or Flash by tensor on Thursday February 04, 2010 @10:51PM (#1102647)
Flash, perhaps. But considering the Nexus one runs on Java, as do many devices with even less powerful hardware, he's dead wrong on that point.
Re:Why the Apple iPad has no Java or Flash by hga on Friday February 05, 2010 @05:21AM (#1103236)
Errr, it doesn't run a JVM, it runs the register based Dalvik VM, which is tuned for lower power consumption.

For those smart phones that do run a real JVM (as real as Java ME is right now...), the battery drain is I assume a debatable point.

Re:Why the Apple iPad has no Java or Flash by ZeroGravitas on Friday February 05, 2010 @05:06AM (#1103218)
I wonder why no-one seems upset that Android, which is written in Java, doesn't let you use Java applets?
Re:Why the Apple iPad has no Java or Flash by hga on Friday February 05, 2010 @05:19AM (#1103229)
Well, it doesn't have a JVM per se, its VM is the register based Dalvik, which requires a translation phase to convert compiled Java/whatever bytecode to it.
Re:Why the Apple iPad has no Java or Flash by ZeroGravitas on Friday February 05, 2010 @05:49AM (#1103262)
I was aware of that, but if they can include a seperate Flash VM, then they can include a seperate Java VM just as easily, if not more so.

It also raises my other often unaswered question about Android. At what point are they going to just use a standard JavaVM? The two main theories are A) that it was a licensing dodge because (like Adobe Flash did till recently) Sun gave Java away on the desktop and charged for mobile and set-top boxes, or B) it was necessary to get performance on low power hardware.

I didn't believe the latter reason at the time, and it's only getting less true as phones get better processors and people talk about putting it on tablets and netbooks. The former reason is apparently toast since Oracle has announced the merging of Java ME and SE which I'm guessing includes licensing terms.

Re:Why the Apple iPad has no Java or Flash by hga on Friday February 05, 2010 @06:37AM (#1103301)
You're ignoring that Moore's law doesn't apply to batteries. It's not so much the crunch required (although non-Apple products have suffered here in comparison), it's the battery drain.
Re:Why the Apple iPad has no Java or Flash by bulanga on Friday February 05, 2010 @09:07AM (#1103547)
there's also the fact that phones have relatively limited memory. I suspect the Dalvik VM runtime memory footprint is much lower than that of the JVM.
Re:Why the Apple iPad has no Java or Flash by hga on Friday February 05, 2010 @09:19AM (#1103566)
I know that was a design goal, e.g. the bytecodes after translation from JVM to Dalvik are smaller. I also seem to remember hearing that not all of a JVM's library is supplied with Dalvik.

Also, hasn't Java ME stagnated? I.e. it's stuck in at Java 1.3 (which Oracle has promised to address).