Java to be Open Sourced in October 267
thePowerOfGrayskull writes "Sun is now stating that the Hotspot JVM and javac will be open-sourced in October of this year, with the rest to follow by the end of 2007. There is still no word as to which license it will be released under. For those who haven't seen it yet, Sun has previously opened a public developer community site for soliciting feedback and providing updates about the process."
eh? (Score:3, Insightful)
Comment removed (Score:5, Insightful)
Re:eh? (Score:5, Interesting)
I really hope that we can look forward to a working, recent Java version on FreeBSD without the old bugs and the trouble with OSS-principles in the near future. Kaffe / Classpath just isn't doing the trick. I wonder what this will do to OpenOffice.org.
It all depends on the license. I do hope this will draw some of the fine folks at Kaffe / GNU / Apache who have done a great job by recoding Java to Java itself. But then, if it isn't the GPLv3, RMS will probably keep screaming for a "real free" reversed engineered version of Java.
Well then, off to Flash... Adobe?
Re:eh? (Score:2)
Re:eh? (Score:2)
A trollish comment from Gosling about FLOSS doesn't surprise me; after all, he sold out emacs in the 80's.
Actually, you're bitter that it's the truth and he's not drinking the kool-aid.
October Revolution (Score:5, Funny)
Long live the programmer-letariat!
"While the Copyright exists, there can be no freedom. When there is freedom there will be no Copyright."
Re:October Revolution (Score:2)
Re:October Revolution (Score:2)
Just the Bothans.
Big deal for OSS (Score:5, Insightful)
Re:Big deal for OSS (Score:4, Informative)
Re:Big deal for OSS (Score:3, Interesting)
Re:Big deal for OSS (Score:5, Interesting)
Re:Big deal for OSS (Score:4, Informative)
Re:Big deal for OSS (Score:4, Insightful)
Why is it only Java is so fragile that it can't withstand openness?
Re:Big deal for OSS QWZX (Score:5, Insightful)
I know, I shouldn't feed a troll....
You are the reason they were reluctant to make it (fully) open source.
You obviously are confident you know more about what makes a good language than the designers of Java do. Have you read even one paper at jcp.org [jcp.org]? Have you looked at the people [jcp.org] who make up the JCP? IBM, Apple, Cisco, Intel, HP, ATI, NVidia, Creative Labs, Google (!), Apache, Apogee, Namco ... you really think you're smarter than their combined intellect and months of discussion? Trust me, you're not.
I'm sure you and a lot of others are already giddy with excitement over the idea of making a "better Java" with const [sun.com] and operator overloading [sun.com].
When you understand the "less is more" [sun.com] principle, you'll begin to understand why all your pet features don't belong in the language.
Re:Big deal for OSS QWZX (Score:2)
I just do not understand why the people who hate java want to add all sorts of things to it that would either make it a total pain to use or to undermine the security of the platform.
Java isn't C. It was made for different reasons. People need to learn to live with it. Don't get me wrong, I use C as well, but I just don't know why the heck it is that some people want everything to look like C.
Re:Big deal for OSS QWZX (Score:5, Insightful)
Yeah. The individual usually is smarter than the group.
Re:Big deal for OSS QWZX (Score:4, Insightful)
Unless you're posting that from an AT&T Unix console, you're benefitting from people who had the hubris to think you're wrong.
The road of progress was paved by people who thought the current way of doing things was dumb, and who set out to find a better alternative. This is generally regarded as a good thing (except by people with a vested interest in the old ways).
Re:Big deal for OSS QWZX (Score:2)
Hell, they can't even add local type inference. You know what? I am smarter than these people if they can't figure that much out. What a joke all you fawning apologists are. And here's a shocker -- operator overloading is a purely syntactic construct. If it was added to the language, it would STILL be bytecode compatible.
Let's turn Java into TMMLPTEALPAITAFNFAL! (Score:4, Funny)
And Javadoc should translate all source code comments into Esperanto.
Re:Big deal for OSS QWZX (Score:3, Insightful)
Re:Big deal for OSS (Score:2)
For some interesting stuff about splitting it all up, look at http://docs.safehaus.org/download/attachments/2995
I heard that Sun however had some problems within the OSGi alliance (Eclipse is bui
Okay, but what does "open source" mean? (Score:5, Insightful)
Is this "open source" as in Apple's "public source" Darwin project, where they're basically going "you can see and compile all the code, but no way are you going to be redistributing this as any kind of commercial project"?
Is this "open source" as in Microsoft's "shared source" projects, where it's totally not open source at all except in a PR sense?
Is this "open source" as in Sun's Solaris "open sourcing", where it's open source in all technical senses, but it's under an unbelievably elaborate license which exists for no reason except to engender GPL incompatibility and keep Linux from benefiting from the source release, which effectively scares everyone away from the project?
Cuz really, unless "Java to be Open Sourced" really means "Java to be Open Sourced", it won't make a difference, acceptance of Java will continue to be held back by the perceived closedness of the Java language and real linux-unfriendliness of the Java runtime, and languages like C#/Mono will continue to make inroads until Apache finishes their Harmony project.
Re:Okay, but what does "open source" mean? (Score:2)
Is this "open source" as in Sun's Solaris "open sourcing", where it's open source in all technical senses, but it's under an unbelievably elaborate license which exists for no reason except to engender GPL incompatibility and keep Linux from benefiting from the source release, which effectively scares everyone away from the project?
Care to explain this a bit?
Sun Public License [opensource.org] is an official open-source license. What is "unbelievably elaborate" about it?
And what did they do to 'purposely' endanger
Re:Okay, but what does "open source" mean? (Score:3, Funny)
No, but they do anyway...
Re:Okay, but what does "open source" mean? (Score:2)
Now you can do just that with Java (Score:2)
From Sun:
Comment removed (Score:5, Interesting)
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
If Java were GPL'd it would require that every single project that use it also be GPL'd.
GPL'ing Java would kill virtually all commercial usage of it.
LGPL'd, maybe....
Re: (Score:2)
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
That would satisfy Sun
Re:Okay, but what does "open source" mean? (Score:2)
True... but Java isn't just a compiler.
It's a whole language, and Sun's implementation of it includes a collection of classes that virtually every Java application ever written uses to some extent.
That's why it would be bad to GPL Java.
Re:Okay, but what does "open source" mean? (Score:2)
Or good, depending on one's point of view.
Re:Okay, but what does "open source" mean? (Score:2)
These days, OSI does little more than rubber stamp any license that smells like a free one. They don't really do a very careful job of reviewing these things. As such, their involvement doesn't really tell you anything.
Re:Okay, but what does "open source" mean? (Score:2)
Microsoft also has REAL open source licenses that are free as in free-issimo. [microsoft.com]
opensolaris (Score:2)
Its only been year since the release of OpenSolaris, and there are already many distributions [opensolaris.org] in development. So I don't think the CDDL is everyone away.
While I don't care
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
Re:Closed Java is worse then closed C# (Score:4, Informative)
To quote Mono's FAQ [mono-project.com] page:
The Mono Project is an open development initiative sponsored by Novell to develop an open source, UNIX version of the Microsoft
Personally its a rather nice language.
Oh, as far as:
Unless you know something the rest of us don't, this strikes me more as spreading FUD then anything else.
Re:Closed Java is worse then closed C# (Score:2, Informative)
The patent FUD concerning Mono is now dead, and Mono is included in Fedora are Suse distributions. I am sure Novell would have invested considerable effort in analyzing potential issues. Mono is a from scratch implementation. And no surprise, Miguel appeared in the Microsoft Technet Video [technet.com] explaining Mono last week and it was on slashdot.
Here is a nice article by Paul Graham on SW Patents [paulgraham.com], which was Slashdotted [slashdot.org] earlier. What he says makes a lot of sense: But I doubt Microsoft would ever be so s
Re:Closed Java is worse then closed C# (Score:2)
Good (Score:3, Interesting)
Now that Java can be redistributed legally (tell that to the slackware guy, he has always included it by default), and will be open sourced soon, it can fight back.
Re:Good (Score:5, Insightful)
Re:Good (Score:2)
Oh, Mono deployment is big, that's for sure. The only trouble is that it's all on Windows, and they call it ".NET" instead.
Re:Good (Score:5, Informative)
My background is 9 years in Finance/IT in various technical (mostly programming / systems engineering) roles in three European countries, working in financial institutions of the size 30K-130K employees.
The only
Maybe the
Re:Good (Score:2)
Many of those applications are being updated to new version of the JVM and extended because the work quite well.
"oday, I think it's generally agreed upon at all levels of the enterprise that
No, actually it is not. I don;t know who this "everyone" is you are speaking to is, but you should really get out more. I work for a
Re:Good (Score:2)
Re:Good (Score:2)
To me the biggest shame in this indust
Re:Good (Score:2)
We're past that stupidity. What do you think all those plugin for Vim and Emacs are for? Just goto vim.org and see what the most popular plugins are. But I'm sure you'll be laughed at for program
Re:Good (Score:2)
Re:Good (Score:2)
Re:Good (Score:2)
In time for 1.6? (Score:2)
Cheers,
Ian
So all the juicy bits are to be left for later (Score:2, Insightful)
And then there's the license bit, but I sh
Better and smaller class libraries (Score:5, Interesting)
A perfect Java distro would maybe drop all the deprecated methods (will Sun ever do that? Java 1.6 is a good opportunity...) and unbundle some of the least-used stuff like the CORBA and RMI stuff. Heck, even Swing and AWT should be optional packages. Why couldn't Java be structured sort of like a Java Web Start install, pulling in libraries only if needed. Almost everything is connected to the internet these days and good caching of libraries from trusted sources would be a decent way to get full functionality with a smaller initial footprint.
Re:Better and smaller class libraries (Score:2)
Re:Better and smaller class libraries (Score:3, Insightful)
A perfect Java distro would maybe drop all the deprecated methods (will Sun ever do that? Java 1.6 is a good opportunity...) and unbundle some of the least-used stuff like the CORBA and RMI stuff. Heck, even Swing and AWT should be optional packages.
And the fragmentation begins...
Re:Better and smaller class libraries (Score:3, Insightful)
Re:Better and smaller class libraries (Score:4, Insightful)
And for the love of gods, why bother trimming the libraries? If you don't use the classes, they don't get loaded into the VM. Everything else is inflating including the OSes and you want to trim the programmers libraries?
The more I look at your post, the more I realize you are straddling two fences. You say drop Swing and AWT implying that you are on the server in which case, your not downloading the JVM & libraries to the client anyway. Then you say Java needs to be like a Java Web Start install, meaning you are on the client side and therefore need the libraries you just said to toss! Oh and btw, Java Web Start is part of the jre download - if you have to download and install something to the client, why not download it all at once? Besides, the libraries *are* broken up - j2se and j2ee, correct?
Re:Better and smaller class libraries (Score:2)
Much of java is loaded dynamically at runtime, so if you don't use something, it's not just sitting there, taking up memory. With modern memory management systems, any unused portion of memory is j
Fix the bugs instead (Score:2)
So I'll stand by my call to actually
Re:Better and smaller class libraries (Score:2)
Hehe, Sun just cringes when they hear "Java distro".
Re:So all the juicy bits are to be left for later (Score:4, Insightful)
Exactly. Free Software has plenty of JVMs and compilers. Heck, the Free Software world has too many JVMs and compilers. What's needed are Java compatible class libraries under a license that is both amenable to proprietary and Free Software developers.
At this point Sun is simply trying to draw support away from the various Free Java implementations. Sun knows that if the Free Software implementations ever become popular that its chances of controling Java long term are essentially flushed down the toilet. Sun reacted too late with Solaris, and it is desperate to keep Java from suffering a similar fate. So it is doing everything in its power to keep people away from Free Software Java-alike systems.
If Sun were serious it would A) concentrate on releasing the Java class libraries, and B) it would have given Java developers some guidance on the license that it will be using. Everything else is just fluff.
Does it still matter? (Score:2)
So given that we have Python (for fast code) and C# (for big systems), do people really prefer Java for new projects anymore?
Re:Does it still matter? (Score:5, Insightful)
Re:Does it still matter? (Score:2, Informative)
Re:Does it still matter? (Score:2)
Re:Does it still matter? (Score:2)
This is what I don't understand about Sun... (Score:3, Interesting)
Re:This is what I don't understand about Sun... (Score:3, Insightful)
There is a truth in what you are saying. The real problem with Java is the lack of pace, and the locked Java Community process, which locks the platform and language. Also, since Sun was keen to hold on to the Enterprise space, the platform became too focused on Enterprise applications, while the language was stagnating. It took C#, Python and Ruby to finally get some new
who cares? (Score:2, Insightful)
Java is still only good for simple embedded web applications, or server-side applications. From an application developer's stand point, Java grew out but
Re:who cares? (Score:5, Interesting)
The only reason you have to ship a JVM with your app is because a) Microsoft intentionally sabotages compatibility (by strong-arming Dell, etc not to ship Java) and b) because Linux distros can't legally ship it because of license restrictions. Java apps work fine on a Mac without shipping their own JVM.
With a JVM installed as a standard system component you run your Java programs just like any other program. You just double-click or
Mono has convenient language syntax with C#, but that's it. The CLR bytecode cannot be interpreted well, so hotspot like optimizations are far harder to do. It's a VM trying to be everything to everybody, so it's not really great at anything. It's startup time is far slower than a gcj'd Java program and it's throughput is much less than a hotspot'd one. The only real benefit is that it is oss.
Re:who cares? (Score:2)
Thank you. That was the missing link for me. Why can't you ship Java with Linux? Is this a GPL thing? Or something Sun is doing? I don't think it matters if Sun open sources Java. But modifying their license so that people can actually get it on their systems might be a big improvement.
Re:who cares? (Score:2)
I have not talked with you since 1997 or so. Mini-Impulse hoo-boy!
On topic, however, it seems you've missed the last 8 years or so of Java on Linux. The reason Java was generally not distributed as part of the various Linux distributions for so many years, is that Sun did not make it legally permissable for them to do so.
There are some additional issues like Linux folks wanting to be able to provide security and bug fixes as appropriate for such a core component. The failure of Sun to make
We're going to do it.. NEXT YEAR! (Score:2)
Re:We're going to do it.. NEXT YEAR! (Score:2)
Open source changes... (Score:2, Insightful)
(Example stolen frome Jamie Zawinski's "Java Sucks" rant.)
Add operator overloading (and I mean PROPER operator overloading, not some find-and-replace garbage) to the JDK v6, and you've got a language that (despite being slower than C++ in som
Re:Open source changes... (Score:2, Interesting)
My goodness, what a perfect example of why NOT to use operator overloading.
What would you use for an operator? The +, *,
How would operator overloading make the code more readable?
And you could always wrap the whole thing inside one of x's methods, and give it a reasonable name.
Re:Open source changes... (Score:2)
result = (x + y * BigInteger.valueOf(7)).pow(3).abs().setBit(27) is arguably a lot cleaner: less to read, order of operation is implied by type (multiplication before addition).
As someone who spends his day writing code in C++ that mostly multiplies matricies and vectors (occasionally transposing or inverting them) I still can't fathom why Java doesn't have operator overloading. It put C# a notch above Java for a second laguage to learn, for tha
Re:Open source changes... (Score:2)
C++ would try to find a contructor for BigInteger which took an int, and would upconvert them.
"Does the compiler still honour the traditional meaning, and thus follow order of operation?"
Overloaded operators keep their original precedence, even if you completely redefine them (which is why overloading ^ to do exponentiation doesn't quite work).
Well, in C++, neither of those examples will work, because new returns a pointer. But assuming you mean the following.
Re:Open source changes... (Score:2)
Applying open-sourcing to the real world (Score:2)
But Sire, the train has left the station (Score:2, Insightful)
1. In the application space, there are much more productive languages and tools. Think Ruby, Python. And extreme performance has never been a Java forte either.
2. Core language capabilities are obsolete now. Bruce Eckel's famous piece The departure of the hyper-enthusiasts [artima.com] captures this nicely. And looking at the C# 3.0 spec, with lambdas, automatic type inference, monadic comprehensions and lots of functional programming goodness, Java is left way behind. MS is also way
Re:But Sire, the train has left the station (Score:2, Insightful)
"1. In the application space, there are much more productive languages and tools. Think Ruby, Python. And extreme performance has never been a Java forte either."
Uhm, yeah. Let me guess, never programmed in Java, huh? Java on the server runs as fast, and occasionaly faster than native code. About 8 years ago, Swing was dirt slow, but even it has picked up since about 1.4.2 release. Don't even ge me going on the security superiority of VMs and compiled coded vs scripting languages like Ruby and Python. Clear
Re:But Sire, the train has left the station (Score:2)
Please define "scripting language". If you have the time, please categorize the following as "scripting languages" or "not scripting languages":
1. Java
2. Python
3. Ruby
4. C#
5. Smalltalk
6. Lisp
7. Scheme
Re:But Sire, the train has left the station (Score:2)
Re:But Sire, the train has left the station (Score:2)
Python is byte-compiled and then run on a virtual machine (and I can, for instance, byte-compile to
Re:But Sire, the train has left the station (Score:2)
Re:But Sire, the train has left the station (Score:2)
Inasmuch as I can parse your argument at all, you seem to be saying "Most scripting languages compile to bytecodes that are executed by a VM; therefore any language that executes bytecodes on a VM is a scripting language." If you would learn to express yourself more concisely, you could avoid fallacies like this.
Perhaps it would help if you stopped taking the word "scripting" too literally. As you point out, languages like Perl no longer much resemble the scripting languages from whence they sprang. Nowad
Java vs. Mono now (Score:2)
I'm a C++ Windows developer and I'm interested in starting to do some C# or Java. It is my belief that both are quite good and both can run on Windows and Linux (this is a requirement) so it doesn't matter which I choose technically. I feel equal hostility to MS and Sun so that doesn't matter. If the open source community decides on one or the other as being more 'free' and really gets behind it then I'll probably go with that.
With Sun still playing games on open
Does it matter? (Score:2)
rhY
Re:Does it matter? (Score:3)
Of course, how would you know? You're somehow morally opposed to software that runs 30% slower than some hypothetical ideal.
drop dead, Sun (Score:3, Insightful)
Now that FOSS implementations are mature and nearly complete, Sun is trying to undermine them by finally open sourcing Java (at least in name--in practice, the license will probably be a sham).
The sooner Sun goes out of business, the better for everybody. Microsoft at least makes no secret about where they stand on FOSS, but Sun pretends to be a friend to FOSS but keeps spreading FUD about FOSS and keeps stabbing FOSS efforts in the back.
TCK and calling it "Java" (Score:4, Informative)
As James Gosling has said -- the source to the JVMs and libraries has been available for 10 years. But the TCKs aren't available in source or binary form.
Open sourced (Score:2)
The part of the compound that seems most verbal to me is "open" -- yet they don't refer to it as "opened source" -- which ostensibly refers to source (code) which has undergone an event of opening. Instead, the whole kit and kaboodle has been verbalized. Or, alternatively, "source" is being inflected as a verb on its own, becoming past tense "sourced", leaving "open" as
And ARM Jazelle bytecode specs ... ? (Score:3, Interesting)
There are a lot of embedded CPUs that have "Java Acceleration" built in. I'm specifically concerned with ARM's Jazelle -- as found in ARM926ejs CPUs like the one in the Nokia 770, for example, and all ARM v6 CPUs -- but there is also Atmel's new AVR32 (Linux port is in the MM tree) and there are a few other processors that do the same thing.
But you can't get specs on how to use that stuff ... and if you ask the
chip vendors, the answer is that it's Sun's fault. To get specs, you must
sign agreements with Sun. That's for basic stuff like how to preserve the
relevant processor context, and how to enter or exit the "execute Java bytecodes"
CPU mode, and of course exactly what bytecodes exist. (They just accelerate
the bytecodes ... some things need to punt to runtime code.)
What that means is that for example GCC can't use that CPU acceleration by having its Java runtime (GCJ/GIJ) build on it ... one assumes that this
means a performance penalty for at least the bytecode interpretation parts
of almost every Java runtime environment, though
of course it would be interesting seeing how things like HotSpot affect the
performance numbers. (The CPUs that have Java bytecode acceleration are by
the way not ones that normally have big CPU caches, high clock rates, or
very much memory to waste on the stuff HotSpot does.)
So my question: Is this "Open Sourced Java" going to cover ARM's Jazelle? And the AVR32 Java acceleration? And other chips?
Or is it going to be the same-old, same-old? Folk working with embedded systems want to know... the big system bloatware that that Sun ships is not especially useful. Finally loosening the reins on the bytecode acceleration hardware would be a much more useful step.
Re:Should we begin `digging graves?' (Score:5, Funny)
Re: (Score:3, Insightful)
Re:Missing question mark? (Score:2)
You asked me if I read the summary, then bolded the part of the summary I'd quoted (and/i? I prefaced it with ftfs [from the fine summary])
It's easy to do now (Score:2)
Re:What of IBM (Score:2)
Also keep in mind that most of IBM's class libraries are still owned by Sun, so