Sponsored by HowLifeWorks
How Private Online Shopping Clubs Work view!
howlifeworks.com - How to become a member and get discounts of up to 80% on must-have luxury goods
204 Comments
- trghpy, on 03/09/2008, -14/+96Sounds like a fitting pair. Java's execution speeds should pair well with that blazing fast edge network.
- nightmare1228, on 03/09/2008, -5/+61Hope flash follows shortly after.
- serff, on 03/09/2008, -12/+61Thank you Sun for doing what Apple won't. I really don't get why Apple is shying away from Java. It bums me out...
- bradspry, on 03/09/2008, -2/+36Ask Adobe.
- jerrylin, on 03/09/2008, -4/+36More apps for the iPhone = Huge win. Non-Mac based developers will have something easier to develop on.
- otis12, on 03/09/2008, -8/+39cool, but where is the flash?
- gigabyte3d, on 03/09/2008, -7/+32About time.
- vibrokatana, on 03/09/2008, -2/+26that would be:
System.out.println("That's gonna be awesome!"); - SpookyApplePie, on 03/09/2008, -8/+28YAAAAAAAYYYYYYYYY
- mgromer, on 03/09/2008, -0/+16Can you please explain some of your reasoning behind leaving Java behind? I'm a .Net developer and really dislike developing Java, but it no doubt has it's place and is a very widely used language.
- loconet, on 03/09/2008, -0/+14***** rogers...
- Pinkertinkle, on 03/09/2008, -0/+13I'm glad to see the iPhone maturing. These new apps are going to take it to a whole new level of functionality.
- gregorypierce, on 03/09/2008, -1/+13Guys nobody is FORCING you to use Java on your iPhone just like nobody will be forcing you to use Flash. Having a platform with a lot of choice is excellent. Let the developers decide how they want to build their apps. If they build useful apps in Java, so be it. If you don't want to use them - don't use them. I've never seen so many people complain about having additional choices! Hell last week you didn't have ANY choices.
- Archimboldo, on 03/09/2008, -1/+11No answer so far to the following from comments in TFA. Either Sun didn't do its homework or Apple will make an exception for Sun ...
Apple iPhone SDK Agreement: “No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple’s Published APIs and builtin interpreter(s)… An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise.” - Bamborzled, on 03/09/2008, -5/+15Really? Is that why Apple includes a full-featured development suite packaged with their OS?
http://developer.apple.com/tools/xcode/ - ORBAT, on 03/09/2008, -0/+9Zing.
- bradspry, on 03/09/2008, -3/+12It's in Sun's business interest, not Apple's. I just don't see Jobs on stage "booming" about Java, do you?
- piwy, on 03/09/2008, -0/+8Skype will probably write a native version. There's no excuse not to.
- chillypacman, on 03/09/2008, -21/+29Apple never has been friendly to developers...
- kr0n0s82, on 03/09/2008, -4/+11Not to sound like a fanboy, but Java is not slow. During the early versions, java was a fully interpreted language and ran from byte-code, it was slow. But since version 1.3, it passes through the JIT and turned into machine code. Though cross platform JIT compilers may not all be equal, relatively speaking, the execution of Java vs C is similar. With that being said, I think any perceived slowness in Java applications is a result of poor code and not the language itself.
- radius7, on 03/09/2008, -4/+11Thats exciting news .... Cant wait to program in Java for the iPhone
- TomFrost, on 03/09/2008, -0/+7Kindof weird that you chose to focus your life's work on a framework that you deem homosexual.
- santasing, on 03/09/2008, -4/+10I am glad that Java is finally coming to the iPhone, which is a nice phone. It would be interesting to see JavaFX apps run on it.
- Barbarino, on 03/09/2008, -1/+7For us idiots, why is Java important? What can Java do on an iphone that an iphone can't do right now?
- dustinmacdonald, on 03/09/2008, -7/+13Why Java? So we get ports of other phone apps? The iPhone is a very different platform and deserves better than half-assed ports.
- TomFrost, on 03/09/2008, -3/+9"Go ahead, bury me because people made you learn it..."
I learned it on my own when I was in sixth grade 12 years ago. Why? Because even then, using both Windows and Linux, it was the easiest way to write a program that would work on both. Today, it's still the most streamlined and powerful multiplatform language available, and one I will continue using whenever I need to write something that I'll have to be able to carry anywhere with me.
I would bet you and every last one of the other anti-java elitists here have not once used Java 1.6. You probably back up your arguments with qualms about speed or RAM use, which became nonissues as soon as Sun released 1.6. Its benchmarks have been spectacular, and its uses multiplied tenfold. It's now possible to write full 3D OpenGL games in Java that perform just as well as some of their C brethren.
Time to get off your horse and realize that Java does, in fact, have some very pointed strengths over C. C is a powerful and versatile language, but this is about picking the best tool for the task at hand. - Scaryclouds, on 03/09/2008, -1/+7You obviously don't understand the nature of Java.
- cthellis, on 03/09/2008, -0/+6It's in no way "too slow." It's been said that it's too power-hungry, inefficient, and memory-hungry for proper portable purposes, which is many ways it is. Which is why Adobe has a "Flash Lite," which itself isn't compatible with other Flash versions.
...and if you notice Apple isn't making Java available by default in this case. Sun is using the SDK to make it available for people who want it. I guess we'll see how power-consuming Java is after that point. - TomFrost, on 03/09/2008, -1/+6The one language that allowed cell phone application standardization and facilitated the ability to code a game or application for nearly all phones at once rather than individually for each *made the phones bad*!?
Research, my friend. Come back when you realize that there was no other alternative, and that Java is what made mobile coding on large ranges of devices possible. - blackjack75, on 03/09/2008, -0/+5Simple example: my company sells a java aplication that keeps people informed about road trafic and radars (in Switzerland). Currently the answer for iPhone users is: sorry. If there's a cheap way to port the existing application (only rewriting some parts of the UI to work with fingers on a touchscreen) then our users with iPhones will have access to our software. There's no chance in hell my company would pay me to write a native version for the iPhone (although I'd like to!).
- Scaryclouds, on 03/09/2008, -0/+5If the apps are well written what's the difference? Surely as a developer you know it comes down more to how the app is written opposed to what the app is written in. I'm a full time Java developer also.
- jojo1224, on 03/09/2008, -1/+6So that means that it will be easier to port skype to the iphone?
- Dested, on 03/09/2008, -2/+7If you kids dont quit it I'll turn this car right around!
- sachmanb, on 03/09/2008, -0/+5And now that it's here we can wait sluggishly for it to respond.......
- roguewriter, on 03/09/2008, -3/+8Cocoa isn't hard to develop in at all. Unless of course your entire programming background is .net and visual basic. Then you're screwed.
- mateo60, on 03/09/2008, -1/+6They wouldn't even have to shower first.
- piwy, on 03/09/2008, -0/+5Apple already stated that it will be allowed. Altho only via WiFi.
- MrViklund, on 03/09/2008, -8/+12Thanks SUN. This is really exciting, for users and developers. Also, check out the article from zdnet: http://blogs.zdnet.com/Gardner/?p=2619
- supermanred, on 03/09/2008, -0/+4Money is an excuse TO DO it. I dont understand your response. millions of iPod Touches, plus Skype APP from the app store and a SKYPE addon mic = skype goodness on iPhone AND iPod.
- Scaryclouds, on 03/09/2008, -0/+4Well at least you won't have to pay for calls made from home, given you have WiFi, which pretty much everybody does.
- cthellis, on 03/09/2008, -1/+5Yes, much better to be stuck on a dead platform for years with no suitable advancement than move, remain competitive, and make as many tools available as possible to ease the transition.
- adolfojp, on 03/09/2008, -2/+6Apple insists on making Java's SDK for the Mac and then take forever to finish it. And it is in Apple's best interests to have Java. Many developers write business apps in Java, and Apple's presence in the business sector is almost nonexistent.
- gweedoz, on 03/09/2008, -8/+12I've been playing around with the iPhone SDK the last few days, and it is very nice. I know Java very well, and I like it, but I can honestly say there is really not much motivation to doing Java on this platform. Java on the iPhone will land with a dull thud, and no serious iPhone apps will use it. Yes, some developers who are too lazy to learn something new will throw together a few lame apps... but none will get much attention or go anywhere. Sorry to burst your limited coding skillz bubble.
- sfacets, on 03/09/2008, -1/+5Yuck. This is going to open the floodgates for all the little developers and their crappy low-res games.
- webmaniac, on 03/09/2008, -1/+4Probably not going to happen. As someone mentioned above the iPhone SDK license won't allow interpreted code (java bytecode). And with good reasons too. Write once run anywhere just means developers won't spend any time to make the application look good like native applications.
- blackjack75, on 03/09/2008, -0/+3Then don't add them.
- Atomic1fire, on 03/09/2008, -0/+3one probably support for crossplatform apps since cellphone devs might want to make a program usable for the iphone and several other phones
of course the whole ui differences might be a problem - gizzymo, on 03/09/2008, -2/+5I kinda respect apple for this, they are going to end up forcing adobe to start writing efficient code again, most of their products have got way too bloated in the last few years, I would not let Adobe near my device unless they had done some serious code overhauls...
- supermanred, on 03/09/2008, -0/+3That would more than likely be an optional install. YOU select what apps you want from the app store.
- Terr01, on 03/09/2008, -1/+4Is this from the same brilliant minds that brought us the secret of "click refresh really fast to make it load faster" for web-pages?
Dude, every time you click (depending on whether it's a JAR or custom launcher code), it could be starting a separate JVM for the application code, and the app code is responsible for refusing to start more than one active process. In this rather-plausible scenario, clicking multiple times does not make it faster, but also makes it slower!
That said, the JVM does have a startup cost, and that's the reasonable downside of a system which provides upsides like sandboxed code, dynamic optimization, and decently-seamless cross-platform portability. Anyone writing a short-running program that needs a super-fast startup time (e.g. unix "cat") is just using the wrong tools anyway. -
Show 51 - 100 of 204 discussions




What is Digg?