Linked by Adam S on Thu 26th Jun 2008 18:58 UTC, submitted by snydeq
Java Now that Java has a fully open sourced implementation in RedHat's IcedTea, Neil McAllister questions whether an open Java even matters: "Even as Java has stretched outward to embrace more concepts and technologies - adding APIs and language features as it goes - newer, more lightweight tools have appeared that do most of what Java aims to do. And they often do it better."
Thread beginning with comment 320317
To view parent comment, click here.
To read all comments associated with this story, please click here.
google_ninja
Member since:
2006-02-05

I disagree with you about the flexibility.

As long as you stick to common denominator stuff, you don't have a problem. But when you want to use a database to its fullest (or, as soon as you start using stored procs), you quickly step out of the ANSI world and create a vendor dependency. Sure, it will run anywhere, but there are not only platform specific bugs, but platform specific optimizations. On an enterprise system of any complexity, switching out the OS is a big deal. Even more so with Jikes (and I would imagine Iced Tea too, don't have experience with that one though). There are also appserver quirks and oddities.

Java is a very PORTABLE language, but I would not call it cross platform, at least for non trivial apps.

Reply Parent Bookmark Score: 2

werpu Member since:
2006-01-18


Java is a very PORTABLE language, but I would not call it cross platform, at least for non trivial apps.

[/q]
It is indeed, I once moved half a million lines of code from Windows to an RS6000 the Windows machine was running on the Sun VM the RS6000 on the IBM vm both being 1.3...
One line of code had to be changed due to a bug in the IBM VM the rest ran out of the box...
So much for non cross platform!#

Reply Parent Bookmark Score: 4

google_ninja Member since:
2006-02-05

I moved a 1.2 million lines from linux to windows, and it just died, no exception, no nothing. A month or so later it was running, just way slower. Another two months of optimization work, and it was the same perf as it used to be on linux.

Reply Parent Bookmark Score: 2

trenchsol Member since:
2006-12-07

What ANSI ? Java has nothing to do with ANSI. It is not C. The whole Java API IS common denominator stuff, and one should not step away from it. One should stick as closely to as possible.

There are best practices to be followed, too.

If one does try hard not to write cross platform application, eventually would succeed to do that.

DG

Reply Parent Bookmark Score: 3

google_ninja Member since:
2006-02-05

ANSI SQL. any non trivial application in java is going to dependancies on external infrastructure, which was the whole point of the origional post.

Reply Parent Bookmark Score: 3