Can Android Without Dalvik Avoid Oracle's Wrath? 264
Posted
by
Soulskill
from the just-kidding-nobody-can-avoid-oracle's-wrath dept.
from the just-kidding-nobody-can-avoid-oracle's-wrath dept.
jfruhlinger writes "Despite the fact that Oracle is suing Google over claims that Android violates Java IP, Android is roaring ahead in the marketplace. Still, some groups are wondering if they can implement Android without incurring Oracle's current or future wrath by avoiding the Dalvik VM. A project called IcedRobot aims to create a GNU-compatible version of Android, and rumors abound that RIM is planning on putting an OpenJDK-version of Android on its upcoming PlayBook tablets."
Consistent Enforcement (Score:4, Interesting)
There are what seems to be a countless army of people and companies using Java, and I have never heard of anyone being sued for "Java IP anything". Something smells fishy.
Ditch Java (Score:0, Interesting)
How about they stop making moble phones that rely on java in the first place.
Re:Moot (Score:4, Interesting)
The real interesting thing will be when we can get real productivity apps to seamlessly move from mobile to laptop to desktop and back. Sun had their SunRay systems where you could seamlessly move your entire desktop session, including open apps and work in progress, from one desktop computer to another, and even transfer phone calls seamlessly between phones as you moved, say from your office phone to a conference room phone. Imagine being able to do that, except between your smart phone and your laptop or desktop, even for things like full-featured word processor and spreadsheet programs or Visio or whatever other productivity apps you use. Now imagine being able to do that seamlessly without a central server or even without the little cards the SunRay depends on. You could couple all of your devices together and they could be in constant contact with each other so switching between them would be completely seamless and near-instantaneous.
We can do some of that already of course, but insufficient software and hardware on mobile devices, as well as deficiencies in disk and network speed (especially cellular network speed) make it impossible to really accomplish all of it now. I do think this is where we're headed though, and I can't wait.
Re:Moot (Score:5, Interesting)
But cellphones are about to be as powerful as desktop PCs and laptops.
Not really. They're already as powerful as desktop PCs were in, I don't know, 2002. But by the time they're as powerful as today's desktop PCs, desktop PCs will be faster too -- if only because you can stuff a lot more cores in a PC with a 200W power budget than you can into a phone with a 1W power budget.
But I agree on the convergence. Somebody needs to come up with a docking station-like thing with a ~50W CPU, several gigs of RAM, a TB of disk, GigE and a 22"+ screen which will transition the OS instance from the phone to the dock, server VM style, when you plug them together.
Then the 'dock' can stay connected to the internet even while they're not together and act as a 1TB+ remote storage and backup device and home server which the phone can access (e.g. over an ssh tunnel) using the internet or 802.11. The storage on the phone becomes essentially a local fast-access cache of the most recently used data in the larger data collection at home. This is probably how the wheel of reincarnation is ultimately going to kill off cloud computing in this iteration -- people will start using their own PC remotely instead of somebody else's server, then as phones get more powerful they start to take on more of the load as between the phone and the PC because local is always faster, until the remote PC is pretty much just a remote backup device which allows you to play high end video games and have a bigger screen and full size keyboard when you dock with it.
Re:Why Support Java At All? (Score:5, Interesting)
Re:Why Support Java At All? (Score:2, Interesting)
Where to start....
Python is magnitude slower than Java. Python "compiled" code is not remotely close to Java's execution time. Python doesn't have real multithreading (see GIL blocking multiple threads from executing). Python is good for scripting small apps. But if there is a choice between Java and Python for basic API, Java wins today and yesterday. What tomorrow will bring is of course unknown, but GIL and current much slower execution are huge problems.
Java at similar speed to native C/C++, or at least comparable.
meatspace implications (Score:5, Interesting)
>> But cellphones are about to be as powerful as desktop PCs and laptops.
> Not really. They're already as powerful as desktop PCs were in, I don't know, 2002. But by the time they're as powerful as today's desktop PCs, desktop PCs will be faster too -- if only because you can stuff a lot more cores in a PC with a 200W power budget than you can into a phone with a 1W power budget.
You're correct on the hardware end, but you're missing the meatspace implications.
Most people don't need a computer any more powerful than a 2002-era machine that has hardware accelerated video (unless you're a gamer, of course, or someone with a hobby or profession that requires something more). This is why so many people CAN still get things done with old machines. Stick a modern browser on a Windows 2000 box, and you can do basically everything most people need, as long as the video stuff is offloaded into a modern video card.
Cellphones are approaching that stage _rapidly_, and will most likely be there with the upcoming quad core SoCs coming out by the end of this year. The implementation as a desktop for the masses is a trivial exercise. A dock that lets you use your cellphone AS your primary Websurfing/emailing machine is all most people need at home. Game on your console or have a gaming rig set up if you need something more, but we're just about to the point of having all the computing power non-specialists need, all in a cellphone.
The new quad-core SoCs can drive 2560x1600 panels (and more), full Blu-Ray level 1080p HD video (multiple streams, even), etc. There's honestly just not that much LEFT that people need, from a practical standpoint.
Do you hear that? That is the sound of inevitability.
Re:Why Support Java At All? (Score:5, Interesting)
Java the language is not being sued about, so lets move on from this shall we? The patents are regarding Virtual Machines that most likely affect any language using dynamic code optimization. The copyright claims are regarding apparent line by line copying which if true is just a big fck up by Google, and not a slant against the language.
Re:meatspace implications (Score:4, Interesting)
>Most people don't need a computer any more powerful than a 2002-era machine that has hardware accelerated video
Most people want a fast and capable machine that won't limit them. They may not see themselves as gamers but they may have kids who want to play a Sims game. They want want to mess around in Second Life or watch full screen HD video.
The argument that most people just need a basic browser capable computer has been debunked for a long time and is one of the main reasons we see linux fail in the desktop marketplace. Jane User not only needs capable machine but a fast one and she has 5 facebook pages open, outlook 2010 running, and all sorts of bloatware to run her multifunction printer and Darwin knows what else. She may also run XP mode for some old application or occasionally edit the videos and photos from her camera.
A modern multicore machine is in a whole different ballpark than a Windows 2000 circa machine. Your antivirus is locking up your browser. Flash doesn't beat up your computer. Heck, right now we're looking at affordable 128 megabyte SSDs coming into the mainstream. Jane User will want that level of performance. She'll see her friends computer that wakes from hibernation or boots up in 6 or 7 seconds and wonder why her machine takes 30 seconds.
Every so often someone makes your prediction "640k is all anyone will need" and they're always wrong. Turns out both developers and users will make use of faster hardware and the market will continue to demand it. No cell phone with a docking station will replace that unless we have some incredible mobile CPU breakthrough and people stop seeing their mobile devices as borderline disposable. Laptops and desktops will be here for quite some time.
Re:Why Support Java At All? (Score:3, Interesting)
All those issues are VM issues.
Given that android uses a from-scratch VM which isn't the JVM, why is it impossible to consider that it could have been a VM designed to work with Python?
Re:Ugh! Oracle (Score:4, Interesting)
Oracle knows they are going to get negative flack from programmers and stuff.
But the people who make the decision to use Oracle technologies (Oracle database, Oracle J2EE and all the other technologies) are usually not programmers, its PHBs who like the fact that some guy in a suit is saying good things about this "Oracle" thing and are duped into buying it (and the fact that in many cases there is no comparable alternative that is as good as the Oracle product unless you are willing to sign your soul to Microsoft or IBM)
Re:I thought Java was Open Source? (Score:4, Interesting)
Re:Moot (Score:4, Interesting)
This is not as far off as you might think. I'm running the Android-x86 (an x86 port of Android) right now on my desktop within a VirtualBox VM. Android-x86 is still in it's early stages, but is pretty stable and impressive already. Currently it supports Froyo (2.2) and Gingerbread (2.3) is in beta.
All that's really needed is a set of VirtualBox guest additions like those available for Windows and Linux guests to enable "seamless mode", and Android apps would appear on the desktop as (nearly) native desktop applications.