News for hackers. Stuff that matters.
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @04:10PM (#3895875)
Even if Oracle wins, they may lose.

Imagine if:

Google looses the right to use the Java API in Android.

Google makes a conversion tool to convert the Android API to another API / VM format. (maybe based on Parrot???)

"" releases an ANSI / ISO spec for an improved high level language (not just a C++ replacement like Go), and makes the spec open to encourage "safe" adoption.

"" provides reference implementations for mobile (Android) and server (GAE) type uses.

"" creates a subsidiary to sell and support the SDK to encourage corporate adoption. I'm not exactly sure how this last step supports their core business, other than making sure there is a talent pool available. But as long as I'm dreaming...

THAT is a result I'd like to see. Send Java off to the old programming languages retirement home, where it can sit and trade war stories with Visual BASIC and dBASE.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by nextparadigms on Thursday April 26, 2012 @04:47PM (#3896039)
Oracle has already pushed the Harmony and OpenOffice communities away through their greed. So I wouldn't be surprised if the same happens with Java.
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by taligent on Thursday April 26, 2012 @05:48PM (#3896303)
People that actually use Java know that what Sun/Oracle do is to a large part irrelevant. Likewise for Harmony.

OpenJDK is the default for Linux and soon to be OSX and most development projects are still targeting Java 6. The innovation happening on the Java platform is not going to come from Oracle.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by protolif on Friday April 27, 2012 @10:35AM (#3899195)
Java 6... from 2006? I'm sorry, but innovation and Java do not belong in the same sentence. All of the innovation has moved on to dynamically typed languages, because it grew tired of having its balls fondled by JVM/TSA. Public Static Void Main? No thanks.
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by bowyakka on Friday April 27, 2012 @05:40AM (#3898303)
.... the core openjdk team are sun^H^H^H oracle engineers like John Rose, Jon the collector, Printezis etc etc, Oracle still have a very strong hand in it
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by OzzyB on Thursday April 26, 2012 @05:01PM (#3896108)
But you're forgetting one very important aspect in all this:

The Developers

It's not a question of whether one particular language is better, or more "hip", than another; or whether Google could simply run-off and create it's own new language or repurpose someother language instead of Java.

It's the developers Google is after, since it's the developers that will create the value (apps) for their marketplace and give them the competitive advantage over other smartphones & platforms.

There are a ton of Java (and its variants like AS3) developers out there, and Google wanted to launch and gain traction in its new platform with as little friction as possible.

If Google had launched Android as a Golang SDK, do you really think the uptick in new developers coding for Android would have been that great?

Edit: Yep, AS3 isn't Java.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @06:02PM (#3896350)
The original pre-Google Android company may have needed to reuse an existing dev base, but as Google, that is somewhat diminished. Google, like Apple, can take a workable niche platform and then sell a group of devs on the advantages of that platform, particularly if it was something already somewhat familiar.

Of course, it's easier for them not to have to, but I'm imagining a possible nice future, even if it's far from the most likely.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by raverbashing on Thursday April 26, 2012 @05:17PM (#3896184)
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by mas1n on Thursday April 26, 2012 @05:30PM (#3896234)
Technically ActionScript is ECMAScript which JavaScript and AS3 are both dialects of.

http://en.wikipedia.org/wiki/ECMAScript

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by chwahoo on Thursday April 26, 2012 @04:34PM (#3895988)
This seems to be a big leap from the current events.

But, indulging the leap :), why would you want it to be a new language? Phones are getting fast - why not python or ruby? (Or Scala, Dart, ...)

However, I don't think Java is a bad language for many programs--and doubt it's headed to a retirement home anytime soon. (I'm frankly thrilled with Java for moving some many developers to a "safe" language/environment rather than C/C++ and its buffer overflows :)

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by eitland on Thursday April 26, 2012 @04:50PM (#3896057)
Never tought I'd say this but since getting my new job and since Java is not any safer than .Net for the moment I have been toying with C# and it just frankly feels like a better language, esp the Linq part.

(Now, before anyone starts a big project in C# remember you are going to get punished all the way from start to finish. License for OS, for dev environment, no choice of dev environment, when you have bought VS you'll have to add resharper. Then you hopefully come to deployment where once again you have no real choice, Azure or self-hosting on, guess what, MS servers which again has to be licensed. )

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by inexplicable on Thursday April 26, 2012 @05:20PM (#3896193)
Its not exactly as you state with the licenses. Most (perhaps _all_) organizations/corporates use Microsoft products and have existing licenses. Acquiring more would not be issue in these environemnts.

If you are a start-up, the right way to do it would by joining the BizSpark [1] program. .Net does provide an excellent development and scaleable environment. This program grants you access to all of its products, including Office, SQL server, Visual Studio and a multitude of other applications/tools. There was a recent post on HN [2] that spoke more to this.

[1] http://www.microsoft.com/BizSpark/

[2] http://news.ycombinator.com/item?id=3848512

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by xsmasher on Thursday April 26, 2012 @08:34PM (#3896834)
Sluggishness and battery life are big complaints about current-gen phones; going higher-level is probably not a good idea.

I'm still not sure why Google went with Java over C++, other than thinking "phones are fast enough."

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Drbble on Thursday April 26, 2012 @11:06PM (#3897317)
Java isn't so much slower than objective-C if at all, and Android has a native API for low level programming.
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by xsmasher on Friday April 27, 2012 @12:59AM (#3897620)
JIT compilation is swell, if you don't count time time it takes to kick in. And you're still at the mercy of the garbage collector.

If it doesn't matter because you can use C or C++ for critical parts... well you can do that from Objective-C too, and it's trivial. It's far simpler than working through a JNI bridge.

I'm still puzzled by the decision, given the horror of J2ME and the failure of Java on the desktop. Why not C++?

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Friday April 27, 2012 @02:47AM (#3897901)
Pointers and arrays. It's too much work to develop most things in C and its direct descendants. It's of course a shame that Pascal got pushed aside: most of the speed of C, but with array bounds checking and MUCH less need for pointers due to reference parameters and function return space allocated by the calling routine. And perhaps Pascal is even too much work, since we still have to manually deallocate many types of data, since it lacks even reference counting.

I agree with you on the garbage collector, though. It really slows down things by thrashing on multilevel caches, despite generational GC. I would really like to perhaps see something that gave you a choice of either reference counting + destructors, or, garbage collection. I can't see how you could make mixing libraries written for one or the other style work with an arbitrary ref-cnt / GC selection, though.

I'd probably miss exception handling in any event, as well.

Damn trade offs. I want it all, and I don't want to pay for it!

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by regularfry on Friday April 27, 2012 @09:09AM (#3898840)
Given where we are now, why not go-lang?
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @05:50PM (#3896307)
Sure, it's a HUGE leap, but I was day dreaming. Of course, Python can run on Parrot, right? (Parrot, as an example, would be an interesting VM to see pushed into commercial readiness)
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by NonEUCitizen on Thursday April 26, 2012 @09:26PM (#3897019)
another post today just mentioned this:

http://www.dbasellc.com/

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @11:08PM (#3897324)
Wow, it's been years since I used XBase. It was mostly Clipper by the end of the 80s.

While it was painful to move from a nice ISAM product to SQL syntax, it was good to get away from a product that provided all the data integrity features of circa 1999 MySQL (i.e. - "none").

Anyway, it's not dead, but it's definitely looking at a stay in the old programming language home. :-)

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by taligent on Thursday April 26, 2012 @05:45PM (#3896293)
Sorry do you live in some dream land ?

The majority of the world's enterprise web apps run on Java. There is ZERO chance that Java is going to be retired anytime soon if you look around at the languages available today. There just simply isn't anything available that can compete with the breadth of libraries or developer base.

The fact is that if Android no longer runs Java it is going to be a big blow no matter which way you spin it.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @05:55PM (#3896327)
Dream land? No, I've woken up in the Java "gulag" for quite a few years now. :-)

The scenario was meant to be a bit "over the rainbow". While it's unlikely, people do sometimes switch platforms given motivation. How many people really were itching to learn Objective C before Apple starting pushing it? (you few "NextStep" old timers in back, I'm not talking about you)

Given a way to do user I/O and data persistance on a sane platform, people are pretty good at making do on just about any platform without the "gift" of a billion lines of other code.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by taligent on Thursday April 26, 2012 @06:09PM (#3896374)
The difference for Objective C was that (a) there were a large amount of existing Mac developers and they are hardly just NextStep users and (b) iOS makes money which justified the transition.

Honestly the days of writing a billion lines of Java code were over a while ago. Platforms like Play, Grails etc which are quite light are becoming more common.

Realistically there is that only one other platform exists that they could switch to: Javascript.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by Roboprog on Thursday April 26, 2012 @10:58PM (#3897294)
I'm not talking having to write millions of lines of new code to create an application. I'm talking about the dubious value of the "Sagans and Sagans" of lines of (Java) code that one supposedly could not live without. How many of those J2EE and related libraries really do all that much, as opposed to misguided make-work?

Given sufficient motivation, I suspect a team of 20 part time volunteers could create an amazing application framework for a new language (or, newly popular language) in about a year, if the platform was enjoyable and perceived to be something that would actually be used for several years and several possible employers / business opportunities. As an example, the early versions of RoR seemed to come out of nowhere. (not saying we should run Ruby on phones, it seems kind of piggish, just as an example of a few people scratching an itch)

Wasn't the Apple switch from Pascal to Objective C for OSX exactly that kind of "we'll make it worth your while" change-over?

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by patrickaljord on Thursday April 26, 2012 @07:55PM (#3896741)
Dart?
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by pooriaazimi on Thursday April 26, 2012 @08:40PM (#3896865)
IMO It'd be the best thing Google could do, but (sadly - even though I don't like Google one bit) they don't have the courage.
Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by taligent on Thursday April 26, 2012 @10:33PM (#3897220)
Nobody knows Dart. Almost everybody knows Javascript.

Not to mention that Google's V8 would make a great foundation.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by protolif on Friday April 27, 2012 @09:58AM (#3899013)
Programmers have been tossing the word Enterprise around for decades, like it means something. Quit it already. You're embarrassing yourself.

Many so-called Enterprise Java apps often don't work at all unless you've installed the /exact/ JRE version that the particular app supports (Looking at you, Citrix). The fact is, that it was a dying language before Android. Hopefully it will resume dying, and Google will either release something better, or embrace an existing Open Source community like JavaScript, Ruby, or Python. (Edit: Now that I think about it, Google's own V8 JavaScript engine would be well suited for this. It already supports ARM Linux.)

Personally, I was forced to take 2 Java classes in college. The examples in our labs never worked. I had to Google everything in the book to make Java code that actually ran. Swing looks the same as it did in 1996. Everyone at the local JUG was considerably older, and spent most of the time complaining about what a pain SVN was. (A clue: You're doing it wrong.)

Despite all of this, I was still learning to program, and actually sortof enjoyed it. But then Sun got acquired by Oracle, inventors of the only database system that makes me want to kill myself. After that, I started seriously considering other languages. But the real nail in the coffin was when Oracle decided to cockblock Apache Harmony, and Apache stepped down from the Java Committee. For shame, Oracle. After all nice things Apache made for the Java Community. How fitting, that Google used Harmony code to create Dalvik, the Android VM.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by fleitz on Thursday April 26, 2012 @07:07PM (#3896578)
Yes, just as the majority of the world's mainframe apps run on COBOL. Similarly COBOL won't be retired anytime soon.

Those facts don't make COBOL something you'd want to write apps in. I hear there's a new COBOL DI framework so you can write XML instead of COBOL.

Re:Google (Potentially) Blows the Door Off Oracle's Copyrigh... by falling on Thursday April 26, 2012 @04:28PM (#3895954)
That will never happen because: 1. if Google eventually loses, they will just pay a chunk of money and that’s it; 2. Google wants Java, not a new language, if they wanted a different one they would have created one from the start, it’s not like they don’t have the ability or resources.