IcedTea's OpenJDK Passes Java Test Compatibility Kit
emyar writes "At JavaOne in May, 2006, Sun Microsystems announced they were going to release Java as free software under the terms of the GPL. The size of the task (6.5 million lines of code) was only eclipsed by the size of the opportunity for Java as a free and open technology. [...] This week the IcedTea Project reached an important milestone — The latest OpenJDK binary included in Fedora 9 (x86 and x86_64) passes the rigorous Java Test Compatibility Kit (TCK). This means that it provides all the required Java APIs and behaves like any other Java SE 6 implementation — in keeping with the portability goal of the Java platform."
So why don't they just use Java's JKD?
How about performance. It is a great milestone, it is, but if it is too slow it isn't ready for prime time.
alias possession='chmod 666 satan && ls
If Mono wants to ever become suitable for enterprise use, it will need a testsuite and compatibility kit like this. One of the main benefits of Java is the stringent standards that implementations must adhere to. This brings a level of predictability that we just can't get from .NET or Mono. And for huge enterprise apps, that predictability is totally necessary.
So, Sun's own codebase passes their own compatibility suite. BFD.
If after more than a decade, there is not a single, independent, compliant Java implementation, then there is evidently something wrong with the Java platform.
You mean Vista is written in Java?
Man! Was that joke ever funning circa 1997...
It's a simple matter of complex programming.
Languange compatibility was never the main problem - it was class libraries. Java has a mountain of class libraries.
...). Each package is like a treatise on OOP and design patterns. When are people going to learn that OOP is just one tool of many?
Unfortunately most of them are complete bloat (e.g. Swing, NIO, logging
But Java the *language* is great. I wish that someone would create a non-bloat version of the Java class libraries. Do an analysis of important use cases, redesigned the class libraries to be much less "fluffy" and then post some metrics to show how much better it performs.
Feels like it.
Sweet. Maybe was can start getting Java VMs on the Mac less than a decade after they're released now.
Thomas Galvin
Man! Was that joke ever funning circa 1997...
Yes, nowadays everyone has the 2GB of RAM, due to Windows Vista, so it isn't a problem.(1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
Well said sir.
GPL or not, based on Sun's behavior around their Indiana/OpenSolaris (That can't be called OpenSolaris because Sun said no)will pretty much kill whatever advantages going GPL/community driven may bring.
http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
Circa 1997 nobody could afford having 2 GB of RAM.
Votez ecolo : Chiez dans l'urne !
Six point three million lines of code??? How is it possible for a language to need six point three milliion lines of code? Is this bloat, or are all six point thee million lines actually used?
The first iteration of Artificial Insanity (a smartassed Turing test program I wrote way back when I still gave a shit) was less than 16k of BASIC, but when I rewrote it with pretty much the same source code in Clipper for DOS, the executable was over 400k despite the fact that the source was still less than 16k.
The SOURCE for java is 6.3 megabytes? What is it written in, COBOL?
mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
Okay, so I understand that this is a huge success, yay GPL and all that, but what is wrong with Sun's JDK?
What makes the OpenJDK more desirable than Sun's?
Is it merely the GPL?
Are there any performance gains?
I don't use java, so I really have no idea and it would be nice if someone could enlighten me.
Dear Sun employees as a /. reader and Debian box user i am occasionally interested in the Freshmeat apps on the right hand side. When it says downloading jar i know it usually won't work.
Yes I am lazy and wont download stuff from your website, untar it, click agree and hope that all the other working Java bits still work and i have got a handle on what ever your Sun marketing experts have named the jdk this week.
It is a shame that the run everywhere on everything has been such a long time coming.
I had 2 GB of RAM you insensitive clod.
Thank God for evolution.
Why does it seem that every time the hardware guys give us more machine, the software guys use every last bit of it to do exactly what the previous generation of machines did, only the previous generation did faster?
mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
Because each generation of "software guy" becomes n+1 generations removed from being a hardware guy himself. That is to say, the tools become "better" to make programming "easier" for people who aren't also electrical engineers.
At least, if I had to guess, that's what I'd say.
Well that explains a lot. It explains why with every iteration OS X streamlines a bit making it slightly faster on the same hardware, It explains why OS X can do everything Vista does on a quarter of the hardware.
it is because Apple controls the hardware thus promoting a tighter bonds between the two groups of people.
i thought once I was found, but it was only a dream.
Not only can I torment myself programming in Java, but I can do it freely! Thanks GNU!
Life sucks, then you have to program in Java and learn just how bad it can get!
-- Many men would appreciate a woman's mind more if they could fondle it
You forgot the corrolary to Moore's Law, Which is Gates's Law: Every 18 months, the speed of software halves.
He actually spells it "Ice T": http://en.wikipedia.org/wiki/Ice_T
If you do what you always did, you get what you always got.
You don't realize (or maybe you do) how accurate this is. As much as I hate to admit it, I'm a perfect example.
I sit right next to a guy at work that went to the same university I did. However he's got 10 years on me. Both degrees are in Computer Science. Yet he knows a LOT more about E.E. stuff than I do. It seems the curriculum at our school got softer (pun intended) as the years went on.
I realize this at least and do my best to pick up bits and pieces from him and the other E.E. guys here at work. But it does disappoint me a bit that I didn't get the same level of education as my co-worker.
Sure they could the Cray T90 came out in 1995 with up to 8GB of ram and the Y-MP M90 came out in 1992 and had up to 32GB of ram, the T3D came out in 1993 with up to 64GB of ram. Basically your run of the mill supercomputer had several times that much ram by the mid 90's =)
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
Sorry I was thinking about individuals or small companies.
Votez ecolo : Chiez dans l'urne !
Comment removed based on user account deletion
For the last 2 years I've been doing Python work with a little PHP but the 2 before that were spent almost exclusively in .Net (C# and IronPython).
.Net.
Right now on my dev box I have 4 versions of
They run side-by-side without issue.
There is no forced upgrade. It's like saying that C wasn't predictable because C++ emerged.
But this itch obviously is not powerful enough to cause the community to scratch. So is it really a matter of immaturity or wrongness? Or is someone going to claim that the issue is that Java just isn't in use enough?
College-Pages.com - Online Colleges, Degrees, and Programs
Those are JVM implementations, not complete Java implementations.
There are a few non-Sun implementations that have passed certification, but they are not independent implementations; they contain licensed code from Sun.
As I was saying: there are no independent implementations that have passed Sun's certification.
The One True Language, beloved by all (Objective-C) also uses 2 GiB of RAM for "Hello World", but just because it needs to use that memory to cure cancer and feed starving children.
USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
Don't you think he has more knowledge than you because he has been working the last 10 years and learned new things? After all, you don't learn everything in a university.
"Die endgueltige Teilung Deutschlands - das ist unser Auftrag." - Chlodwig Poth
Electrical engineers can't code. The real problem is cs professors teach that memory, disk and cpu is cheap. That has to stop.
Maybe it has more to do with the skill of the developers than anything else.
Badass Resumes
If you can design the logic circuits, you should be able to code. Had "computer science" even been developed as an independent discipline when they were building the Apollo guidance systems? I don't know the answer to that.
.com mode.
I agree with the rest of the statement though. I think that the real problem is that too many departments are teaching using Java and the like, which are "industry standards" because too many students are looking at computer science as a gateway to a career coding JBoss apps for a bank, or working in IT -- basically a 4 year trade school.
Computer Science has about as much to do with IT as mechanical engineering has to do with working in a lube shop. Sure, you could do it -- but you should have been taught to do a whole hell of a lot more. If all you want to do, or can do, is the trade aspect then I'm not sure that an extended education in what is essentially applied mathematics is really the route to go, and those who want that advanced theoretical knowledge shouldn't have to have their class time watered down by the kid who is still in
Then again, what the hell do it know. *goes back to working in Quark*
thats why I have built a very basic computer out of logic gates EEPROMs, static rams and a Z80A running at 4MHz. I have also done projects that involve taking things like PIC chips beyond the limits of what they should rearly be able to do (acting as a simple MMU and controller for a delta sigma modulator based voice recorder). I can honestly say I have wrote a bug free program that runs as fast as is posible on the hardware available as I spent 2 weeks on just over 200 lines of asyembler. Those 200 lines are perfect there is no posible speed up... somehow that is satisfying.
No. We've had this discussion and compared "notes"...he did a lot of EEPROM programming, using scopes, took more E.E. like classes than I ever did (remember, same C.S. degree from the same Univ.).
Matter of fact, the only time I had to flash an EEPROM was in my assembly class (1 class in 4 years). I'm not saying all of this just because he did more with EEPROMs than I did, that's just one example.
Of course I've learned a lot over the years (just like he has), so you are correct there...but what he knew right out of school and what I knew right out of school was very different.
I think that if you looked at the software 10 years ago, you'd find that it did less, was less stable, and was less secure. I know that I'm doing a lot more with my computer these days than I ever did 10 years ago and my programs crash less. Hell, my development environment alone is light-years ahead of where it used to be.
So, us 64-bit users are still in need of 32-bit emulation to use that... What tests exactly does this JVM pass?
Not mine.
null
thank your hardware for that not your programs *it is more stable then 10 yrs ago *it works faster then 10yrs ago *it has more memory then 10yrs ago that is why the programs are more stable (some of it might have something to do with your OS but I can't say that here can I......)
null
There are many billions of IT projects out there written using Visual Basic 6. I guess no one should try and pass Visual Basic off as immature, incomplete, incorrect, or insufficient either, right?
Yes, that is true.
It's also true that products produced with VB6 tend to be rather shoddy. But you appear to be unable to distinguish VB6, the framework and development platform, from the things people build from it.
Just what you'd expect from someone who can't even figure out how to register on Slashdot.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Wow! Good for you! Want a gold star?
That's not true anymore. OSX has been getting slower and slower with each revision.
Hell, look at the requirements for Spore. Spore for XP requires 512 megs of ram, Spore for Vista requires 768 megs of ram, and Spore for OSX requires 1 gig of ram.
I don't remember saying anything about faster. I said its more feature-full, which is true. I can run emulators for systems like the Playstation. My games are prettier and have more features. My word processor checks my spelling and grammar as I type. My IDE checks for syntax errors, displays possible methods to use, compiles documentation, checks my coding for various coding standards. I'm streaming, transcoding, and playing video. I'm doing video chat. You have web apps giving you a more user-friendly experience, like gmail. Granted, a lot of these things were possible or even implemented in '98, but were they widespread, stable, useful, and feature-full? I'm sure you could make an argument that you're doing the exact same things on your computer today that you were doing 10 years ago, but only if you generalize it to a degree that it becomes meaningless ("coding", "writing a document", etc).
.Net remoting framework often generates overly-verbose network traffic compared to something that you wrote using plain sockets. But at the same time, in addition to being quicker, you also get strong typing, and the libraries take care of making sure the data you pass between layers is appropriate.
Your comment about having more memory is wrong. My programs didn't crash because I didn't have enough memory. They crashed because they were shoddily written and didn't do a lot of stuff that modern languages and programmers do as a matter of course. I mean, C++ programmers make heavy use of RAII and smart pointers these days. They slow down the program but they prevent memory leaks. C# and Java have garbage collection to do the same things. Most modern languages have containers that do bounds-checking automatically. Thats slower than if you just threw the input at it. More validation, etc.
And yeah, my OS is better these days. Thats an improvement in the OS. And some of those improvements take *drumroll* more processing power, because bugs need to be coded around, and more checks and validations need to be performed.
To be sure there are some things that are designed to save developer time given programming time. The
Its just irritating to have people repeatedly say that developers are lazy and writing inefficient code. These days I worry more about the code I'm writing than I was in the past. And most developers I know are the same. You may be able to get your super-awesome "bloat" free programs, but they'll probably take twice as long to develop with less features, be full of bugs, crash all the time, and leak like a sieve. The 90's was not the golden age of computer software that a lot of people make it out to be.
Are you sure you're not overreacting? If you hop on over to perl.com, you'll notice that the *compressed* source of Perl 5.10.0 is 14.9MB. The compressed source of Python 2.5.2 is 11MB. Ruby 1.8.7 comes out well at 3.9MB, but that's without any gems (good or bad depending on your point of view). The source for Common Lisp 2.4.5 is 7.1MB.
However you're singling out Java as the one that's bloated? Get real.
- I don't need to go outside, my CRT tan'll do me just fine.
Yes it's called M$Cobol' 2008 (Microsoft's version of Cobol)
Wow, you have a processor with 8080 compatibility?
That rocks (in 1976)!
Technology Compatibility Kit, not Test Compatibility Kit.
That's very geeky and impressive, but basic economics suggests that work like that will become a net loss, not a net gain, as cheap good-enough alternatives emerge. So while it's very geeky, I suspect it's not a good idea to base a business on.
Sam ty sig.
Memory is about $20-$40/GB. Disk space is down to about $0.30-$0.50/GB. CPU is about $0.01 per bogomip (hey, there isn't really a good measurement out there, so what the hell).
Yeah, let's teach a fantasy.
one thing about these language wars is that everyone claims "language X implements feature k better than language Y" where in general its also true that language Y implements feature i better than language X.
best tool for the job really.
when it comes to languages why not pick what fits?
I use java for work, since its got better tool support and a nice comfy syntax. I use C# for interfacing with windows/MS because its just better at it. I use C++ for runtime speed and LISP for fun.
we were somewhere just out of Barstow when the patent trolls attacked.
Yup. Look at Visual Basic and PHP. Both have an abysmal reputation and both are extremely widespread because they have excellent support for getting things done. The result might not be pretty, but it works (even correctly, if you know what you're doing) and it's fast to implement. That featureset happens to be compelling in many cases.
USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
http://clisp.cons.org/
Considering that Emacs is a lot of folks' LISP engine of choice, the standalone GNU implementation seemed a legitimate choice.
- I don't need to go outside, my CRT tan'll do me just fine.
Java running in a browser currently limits you to a single VM. (This is likely to be changed soon.)
However, there is no reason you can't run multiple stand-alone Java VMs of many different (or same) versions at the same time. Indeed, you can download almost any version Sun ever produced if you need to, and run them all at once.
I'm not sure how you are forced to upgrade, although if you do, you're likely to see benefits, including improved performance and reliability.
-John
No, but it's a GREAT idea to base learning on. Not everything needs to be based on economics, unless of course you are a practitioner of America's State Religion (Mammon Worship).
I never thought I'd see the day when so-called "nerds" at slashdot would bash someone for hacking (old-school meaning of the word).
mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
Jaschnizzle bombs! You're right.
Being a byproduct of Reaganomics, I have become tremendously detached from the inner workings of the 'puter. Very few of my generation understand the low level workings of assembly or the reasonings behind the tech. Now, we can computer parts like giant pieced legos, but none I know can decipher the inner workings of most drivers. We are high level programmers and only feed are drive for efficiency through inefficiency.
But then, you're statement holds true to any technology created. Inventions such as automobiles and televisions are more constrained to specialists albeit still with its hobbiests. Eventually, you will have a generation that just hardware as just a machine again, and have no clue of the process.
Adhere my words, the machines shall rule...
Who said anything about Java?
Maybe it has more to do with the skill of the developers than anything else
OS A has ten programmers working on it.
OS B has two hundred programmers working on it.
OS C has fibe hundred thousand programmers working on it.
Which OS is most likely to have the programmer with the most skill?
mcgrew's razor: Never attribute to stupidity that which can be explained by greedy self-interest
He was obviously trying to reference the 8086 compatibility inherent in Real Mode. (Some Bios'es limit the first few instructions to 8086 compatible code, despite real mode have some newer 80186 and I think even 80286 instructions available. It does seem a bit odd that there is a mode in current gen processors, (which by the old naming would be 80686, and by modern naming is 686) for the 8086 ( which by modern naming would be the 86, or perhaps 086). However, I must say that is excellent backwards compatibility.
Stylish sheet to fix many problems in Slashdot's D3: https://gist.github.com/801524
My vote for the best post of the year 2008 goes to parent. To be perfect though, I think it needs to talk about at least Haskell and mySQL :)
And i think Spore for Mac runs in Cider/Wine. This is based on the fact that the creature creature trial uses it.
it's a net gain as money is irelivent as long as you have enough of it to survive and persue your interests. aquasition of wealth is only a means to do other things.
The problem isn't so much the raw price as other related considerations.
I can't just tell a non techie to buy themselves another gig of ram, I have to check what type it needs, check the motherboard and OS aren't at thier limits already (in which case tough luck, they simply can't have any more without making other potentially expensive changes). I may have to order more to make up for memory that is going to get pulled out (which drives up the effective cost per gig of the upgrade) and finally I will probablly have to fit it for them.
The same goes for disk space, they can't just pay 50 cents and get another gig of disk space, To get disk space at a reasonable price per gig they have to buy in units of at least 160 gigs or so. Again compatibility has to be checked, someone has to do the installation and depending on the machine an existing drive may have to be replaced (which in addition to it's affect on the effective cost per gig will also mean a load of downtime while the data is copied)
and then there are laptop users and worse users of flash based ultraportables to consider.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
I'm currently studying CS at university. This is why I have my own micro-controllers, I already learnt to code and I have efficiency arguments with my lecturers etc. I even have friends who want to learn this stuff, and we help each other to do so. Of course this is where I get moaned at for have 8GB of ram in my desktop, however I always optimise before release of any code. Anther reasons they use java is because the libraries guarantee that they can have basic animation in GUI to keep those where (as likely) it is their first time writing code engaged in programming. I'm not sure this way works to well though.
Unless that C is running on the Linux kernel, then it does infinite loops in 5 seconds. :P
But unfortunately, this lack of fluff comes with a drawback: the CPython bytecode interpreter is less efficient than the JVM. In fact, the JVM was found to be faster than CPython for everything but startup time and I/O. From that page, I gather that it's more likely with Python than with Java that you'll have to rewrite an inner loop in C and then recompile it for each CPU/OS combination.
Perl, Python, and LISP are all more "obese" than Java.
- I don't need to go outside, my CRT tan'll do me just fine.