4 ms·
I don't care who wins this case, but as a Java developer I hope that eventually Android will come into the Java fold, adhere to standards and run on an awsome,
by pron 15y ago
I don't care who wins this case, but as a Java developer I hope that eventually Android will come into the Java fold, adhere to standards and run on an awsome, standard JVM. Imagine using all JVM languages, unmodified, on Android. Both Oracle and Google will gain from this, as well as the entire Java developer community.
(Side note: a ruling on API copyrights could have far reaching ramifications, some might be quite unfortunate, but it's important to make clear that Oracle did not start out trying to establish API copyrightability. They simply set out to nail Google for Android, and API copyright was simply a tool in their legal toolbox.)
- magicalist 15y ago> Side note: a ruling on API copyrights could have far reaching ramifications, some might be quite unfortunate, but it's important to make clear that Oracle did not start out trying to establish API copyrightability. They simply set out to nail Google for Android, and API copyright was simply a tool in their legal toolbox. Er, I'm not seeing the part of that which makes Oracle look better.
- pron 15y agoIt's not supposed to, except to say that Oracle isn't trying to fight developers - it's just fighting Google (though innocent developers may be accidental victims). Frankly, I can't bring myself to whole-heartedly support either party. They're both big, fat, super-rich and super-powerful conglomerates who have no one's interest in mind except their own (and, possibly, their shareholders').
- magicalist 15y ago> It's not supposed to, except to say that Oracle isn't trying to fight developers - it's just fighting Google (though innocent developers may be accidental victims). In this case, the two are functionally equivalent. It's not even a subtle side effect, everyone is saying it as loudly as possible, so "accidental" or "unintended" seem disingenuous at this point.
- pron 15y agoTrue. Then again, everything large corporations do is disingenuous.
- saket123 15y agowhat difference would it make to run android on JVM instead of DVM? Isn't android too far along to take a u-turn and change the roots.
- pron 15y agoIt would make a lot of difference. First of all, you'd be able to run programs written in dynamic JVM languages like Clojure, Groovy or JRuby unmodified. Second, Dalvik was designed for low-power, low-performane, previous-generation handsets. Embedded HotSpot is years ahead of it in terms of performane. I honestly don't know if Android is too far along to switch.
- shadowmint 15y agoIs that a defence? That they didn't start with the copyright on APIs as their goal, it just happens to be something they stumbled on as an idea and decided to use to pursue google? Absent mindedly creating an hitherto unknown revenue stream that lets you apply licensing fees to everyone under the sun and destroying the software industry as a sort of half-baked by-product is just fine, if you didn't mean to do it at the beginning? really? I'm sure the business majors of the world will rejoice in that. I don't.
- pron 15y agoThe business majors of the world will rejoice no matter which of thse fat-cats prevails. I find them both equally disgusting (see recent discoveries about Google's breach of privacy in WiFi-gate). I just hate to see people rushing to either side in what is essentially a business war. I hate seeing corporations brainwashing people into believeing they have good intentions. They don't.
- batista 15y ago>* I hate seeing corporations brainwashing people into believeing they have good intentions. They don't.* No, man, they don't, they want to make, howyacallit, MONEY... (takes another bong hit), ... that's like hideous man. Well, joking aside, people aren't exactly taking Google's or Oracle's side, that just note that if Oracle wins it's bad news for everyone else too --despite whatever Google has done on the "wifi-gate" which is something completely different and beside the point in this discussion.
- pron 15y ago> if Oracle wins it's bad news for everyone else See, I'm not 100% sure about this. This could be Google spreading FUD to gain popular support (and, oh, how much the corporate heads at Google love to hear the crowds cheer them on - it makes them feel so of the people, for the people). IANAL, but couldn't the ruling say that simply implementing an API is fair use, but the way Google did it isn't (because it's not quite compatible, or because it's too compatible, or because it was done in bad faith after they'd failed to obtain a license, or for whatever reason)?
- codeka 15y agoYou can run other JVM languages on Android today. The Android compiler take Java byte code and translates it to Dalvik byte code. See here for Clojure: http://dev.clojure.org/display/design/Android+Support http://dev.clojure.org/display/design/Android+Support "Works out of the box with 1.2.0+" -- other JVM languages should have a similar story.
- pron 15y agoNot really. Many languages emit bytecode at runtime. I saw a Clojure solution to this once which involved writing the bytecode to a local file, running the Dalvik compiler (locally, on the mobile device!) to create an apk, and loading it. Clearly, that's jumping through hoops.
- spacemanaki 15y agoThat's not really fair, tbh, (and I'm a huge fan of Clojure). It's dog-slow on Android. I don't know the details, but I think it's has a lot to do with differences between Dalvik and Hotspot.
- thebluesky 15y agoClojure is currently significantly slower than Java in general, likely due to dynamic typing. See: http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=clojure&lang2=java http://shootout.alioth.debian.org/u64q/benchmark.php?test=al...
- spacemanaki 15y agoRight, but that's not terribly relevant to this thread. As I understand it the difference between Clojure on Dalvik and Java on Dalvik is much greater than Clojure on Hotspot and Java on Hotspot.
- jzoidberg 15y agoScala runs perfectly on Android
- pron 15y agoYup. Other languages don't, though.
- cageface 15y agoDalvik is optimized for low-power, low-memory devices. If you tried to run the full HotSpot VM on your phone you'd suck the battery dry in minutes and you'd have to at least double the onboard ram to even boot it.