Originally posted by Zenikko Sugiarto:
One that I know of, is that in terms of performance it is generally slower because of the need for it to be interpreted by JVM...
In the early days of Java, the language was interpreted. Nowadays, except on "micro" platforms such as cell phones, the Java virtual machine uses a just-in-time compiler. The "hot spots" of your code will run just as fast in java as they would in C++.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
It is not nearly as platform independant [sic] or portable as many claim it is.
Tony Morris
Java Q&A (FAQ, Trivia)
Originally posted by Ken Blair:
It has four letters. Had it been named "Jav" instead millions of keystrokes and hundreds of dollars in bandwidth would have been saved.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
You can also make a strong argument that Java is not platform independant at all, but is a platform. Take a language like C or C++, they are easily just as portable, or even more portable then Java is. Stick to standard C and C++ and portability is not an issue. Of course, things like GUI and Socket are not part of those standards, but there are platform independant libraries to cover that.
Originally posted by Robert Hill:
Take a language like C or C++, they are easily just as portable, or even more portable then Java is.
). How can anything be faster than the speed of light? Hmmm... Java's HotSpot compiler and GC strategies can, in some settings, outperform C's static optimization and malloc/free routines.There is no emoticon for what I am feeling!
Originally posted by Ilja Preuss:
Microsoft tried to make use of this with J++, but surprisingly it died nevertheless...![]()
Originally posted by Jeff Albertson:
...benchmarks ... GC strategies...
Originally posted by Henry Wong:
Have to comment on this one...
In practically all cases, involving GUI on windows, a C or C++ program written with one IDE will not work on another. Too many compiler specific pragmas, like those needed for MFC. And this is for the same machine !!
Not saying that Java doesn't have some platform portability problems -- but c'mon... worse than C/C++? Frankly, I think it would be much easier to work with the 99.44% of Java that is compatible, than to "stick to standard C and C++".
Henry
Henry
Of course, you have to recompile, but that is no big deal.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Ken Blair:
It has four letters. Had it been named "Jav" instead millions of keystrokes and hundreds of dollars in bandwidth would have been saved...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
Marc, is _______ realated to Whitespace? That's the language I prefer for maintainability.
)"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
That is EXACTLY the point. Who says compiling is no big deal? There's this package we use here at work; it was written by some people in Europe and it's in Java. Now these people have never heard of the IBM iSeries, but it has a JVM so I took their package and ran it on the iSeries and it works just fine. I didn't have to pester them to release an iSeries version.Originally posted by fred rosenberger:
i thought that this is exactly what is meant by java being platform independant... you compile it once, and can deliver the SAME FILES to ANY platform that has a JVM (assuming it is written within certain parameters).
you can't do that with C. And that is the point. or so i thought.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Vasilis Karas:
Has anyone been on eBay?
Looks as though Java performs well enough to run on one of the busiest websites on the net.
eBay is Java� Powered running on powerful Sun Fire UltraSPARC� and AMD Opteron� servers supported by Sun services and solutions. eBay has chosen Sun�s Solaris Operating System, the most advanced operating system on the planet, and its Sun Fire servers to help power The World�s Online Marketplace.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Robert Hill:
"Java, the specification(s), are completely platform independent. It is when users and implementers - of the platform step outside of the specification - usually inadvertantly, that one can observe effects that are attributed as "Java must not be platform independent"."
Java is NOT platform independant. It is dependant on a compiler and JVM It only runs on platforms for which there are compilers and JVM. This number is far less then the number of platforms that support C for example. Yet, many think C is not.
If these are not available on a certain platform, guess what? Java will not run on it.
There are a few(very few) classes in the API that behave differently on different platforms.
Tony Morris
Java Q&A (FAQ, Trivia)
| Consider Paul's rocket mass heater. |