Slashdot Mirror


Java to be Open Sourced in October

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."

46 of 267 comments (clear)

  1. eh? by slummy · · Score: 3, Insightful

    "Source code for Java already is available and has been for 10 years", said James Gosling. I guess Open Source means they want free developers.

    1. Re:eh? by squiggleslash · · Score: 4, Insightful

      It's part of the easing of license restrictions that currently make it difficult to incorporate Java in certain types of Free Software project, and that cause hassle for companies like RedHat and Novell/SUSE who sincerely want to distribute Java but more than that want their operating systems to be 100% Free Software.

      It's funny. The prime difference between Open Source and Free Software is that OSS is married to a community based development model whereas Free Software is just the basic principle of it being Free. Everyone keeps using "Open Source" here, but Sun has, actually, been following the community based development model part of Open Source for years without making Java Free Software. If it's not Free Software, it's not Open Source, but Java's certainly proven you can have the advantages of Open Source without actually making your software open source.

      So why are they doing this? Well, like I said in my first paragraph, the current license and environment is too restrictive for many significant potential adopters. They're finally recognising people want the freedom, not just an open development model.

      --
      You are not alone. This is not normal. None of this is normal.
    2. Re:eh? by FST777 · · Score: 5, Interesting

      In the long run, this will make Java more portable too. It took the FreeBSD Foundation some serious time lobbying before they could distribute Java as a package. Even from ports (source, for the non-BSDies here), Java is a pain on FreeBSD, because the lack of support, crazy patchwork and the need to download everything by hand, whilst signing agreements.

      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?

      --
      Free beer is never free as in speech. Free speech is always free as in beer.
  2. October Revolution by Anonymous Coward · · Score: 5, Funny
    Java to be Open Sourced in October
    Hey, it's another October Revolutinon!

    Long live the programmer-letariat!

    "While the Copyright exists, there can be no freedom. When there is freedom there will be no Copyright."
  3. Big deal for OSS by andrewman327 · · Score: 4, Insightful

    Depending on the license that they choose, OSS purists can now utilize Java in their programs. OpenOffice.org ran into some issues when it began using Java to power some of its components. Hopefully the license under which this is released will be acceptable.

    --
    Information wants a fueled airplane waiting at the hangar and no one gets hurt.
    1. Re:Big deal for OSS by silvaran · · Score: 3, Informative

      Well Joe can release whatever Java interpreter he wants, there's no guarantee that anyone's going to use it. You could have 500 different forks of the Java code (license permitting), but unless they provide some huge advantage and become mainstream (see egcs/gcc, which turned out to be a good thing from what I've heard), the conformant Java interpreters/compilers/runtimes are going to remain the de facto ones to use. And Joe can sit there and run his modified version of the Java platform all he wants, while everyone else happily sticks to the comformant platforms.

    2. Re:Big deal for OSS by nuzak · · Score: 3, Insightful

      Yeah, look what happened to perl and python thanks to their open license. Incompatible bytecode everywhere.

      Why is it only Java is so fragile that it can't withstand openness?

      --
      Done with slashdot, done with nerds, getting a life.
    3. Re:Big deal for OSS by mrogers · · Score: 4, Informative

      There are already free JVMs and free Java compilers. The problem is the class libraries. Java's standard libraries are huge, and free reimplementations are having a hard time keeping up. Without the libraries, open source versions of javac and the JVM won't bring us significantly closer to the goal of a completely free Java platform.

    4. Re:Big deal for OSS by _Swank · · Score: 3, Interesting

      but the source or the java libraries IS available. i've been able to look at the source for the standard libraries for years (it's available with the Sun SDK). so am i missing something or are you complaining about the license the source is available under? if it's the second, why? why would java need to be under a more GPL like license? what are the real benefits?

    5. Re:Big deal for OSS by molarmass192 · · Score: 4, Interesting

      You can LOOK at the source all you want, but why don't you make a change, say renaming the util package to utility, post your source code, and send Sun an email with a link to your modified source code. You'll be asked to remove your modified code lickity split. The SCSL is open source but NOT redistributable. So why a less restrictive license? Say I have a KDE based distro, I want to package Java with that distro, but there's a bug in java that breaks the clipboard under KDE but not GTK (this is a real life bug) and Sun refuses to address it because they only support GTK. Under the SCSL, you're toast. Under something less restrictive, you can patch the affected class, and distribute your "fixed" rt.jar.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  4. Okay, but what does "open source" mean? by Anonymous Coward · · Score: 5, Insightful

    Is this "open source" as in "open source"?

    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.

    1. Re:Okay, but what does "open source" mean? by FooBarWidget · · Score: 2, Insightful

      Uhm no. Have you ever heard of commercial open source software? If not, then you have now. Commercial and open source are not mutually exclusive.

    2. Re:Okay, but what does "open source" mean? by squiggleslash · · Score: 4, Interesting

      Some major things in no particular order:

      1. Open Source means Open Source. There's a list of approved licenses. Sun are aware of this, they participate in the OSI, they've submitted licenses before for approval. They're not saying "Open Source" when they mean "Shared Source" or anything like that. Who do you think they are, SGI? ;-)

      2. Jonathan Schwarz has specifically stated that the GPL is under consideration. (See his blog) It sounds like they're interested in GPL3 but obviously want to see what it has to say first.

      3. OpenOffice.org is available under the GPL. Releasing Java with a compatible license would help resolve some of the issues there are in integrating Java code with OOo code, which is a live issue right now.

      4. This is a major issue. Right now, the two major enterprise distributions, RedHat, and SUSE, are promoting alternatives to Java, be they attempted workalikes like GCJ or full blown rivals like Mono. Both RedHat and Novell are being clear on this: they don't want Java in its present form because it's not Free Software. Sun has to act. They're saying they're going to act. This is, stategically, one of their most important projects, if not their most important (Solaris wasn't, StarOffice wasn't even close. By comparison, Java is something dear to Sun's heart as the only technology they own that truly does influence the direction the entire computing industry is going in.) So you can't blame them for taking baby steps. But when they say it's going to go open source, I believe them. And when Schwarz talks about the GPL and uses phrases like "Free Software" and "Open Source" with fairly clear deference to their supporter's meanings, it's hard for me to believe they haven't done their homework, that they're not aware of the damage they'll do if they don't follow through, and that they have no intention of following through.

      --
      You are not alone. This is not normal. None of this is normal.
    3. Re:Okay, but what does "open source" mean? by mrchaotica · · Score: 2, Funny
      Should the Berkeley people complain about GPL 'purposely endangering' BSD compatibility?

      No, but they do anyway...

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    4. Re:Okay, but what does "open source" mean? by mark-t · · Score: 2, Insightful
      The GPL would be catastrophically inappropriate for Java, due to library linkage issues.

      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....

    5. Re:Okay, but what does "open source" mean? by BranMan · · Score: 2, Insightful

      No, I don't see that at all. GCC is GPL, but the code you compile with it is NOT GPL (unless you want it to be). If they GPL Java compilers and runtime it would not force anything using it to be GPL. Now, if the Java libraries are GPL (which I can see them being in their code form - i.e. you can't modify the library code except under GPL) that might be a problem, but I can see them being set up so the code of the libraries is GPL, but their use as libraries is LGPL.
          That would satisfy Sun I think - the main deterrent to open sourcing Java has been MicroSoft getting their grubby hands on it again. With GPL, that can't happen (in theory at least).
          Remember, a GPL word processor does NOT make your letters GPL. A GPL Java environment would NOT make your Java programs GPL.
          Commercial use can continue, without modifying Java itself - which is exactly what we have today.
          I don't see a problem.

  5. Good by Espectr0 · · Score: 2, Interesting

    They better do it fast. Sadly for Java, .NET took almost everything good about Java and fixed lots of its quirks and gotchas. And with Mono, OSS people are giving it a chance too. With dynamic language support being heavily invested in both platforms, having outside contributors is critical.

    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.

    1. Re:Good by cryfreedomlove · · Score: 4, Insightful

      Do you have any data that shows that Mono deployment in the enterprise is increasing, relative to java deployment? Because, in my experience of 8 years of enterprise java, Mono is not making any strides. It's a backwater that a few people are toiling in.

    2. Re:Good by THEbwana · · Score: 4, Informative

      Mmm.. thats my take as well.
      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 .Net stuff I've seen is on the client side of some internally developed trading systems. The serverside, however, is usually run as J2EE apps running in one of the many servlet/ejb containers you see in the marketplace nowadays... J2EE simply rules the serverside and SWING apps are seen quite frequently. My guess is that banks will be happier extending eclipse when writing their client apps than going the .Net route...
      Maybe the .Net route is more popular within other market segments ? Anyone working in another industry care to comment ?

  6. Re:Should we begin `digging graves?' by 3770 · · Score: 4, Funny

    Don't use the "d"-word here. ;)

    --
    The Internet is full. Go Away!!!
  7. This is what I don't understand about Sun... by Anonymous Coward · · Score: 3, Interesting

    If they had done this right 5 years ago, .NET would have been stillborn and Sun would be the worlds leading application platform vendor. That's a desirable and advantageous position for a hardware vendor to be in. Instead we're 2 months before a release and we still don't have enough details to consider java for future projects. With the benefit of hindsight, the best business decision Sun could have made back in 2001 would have been to relicense the java source code like they were being asked to.

    1. Re:This is what I don't understand about Sun... by jeswin · · Score: 3, Insightful

      If they had done this right 5 years ago, .NET would have been stillborn and Sun would be the worlds leading application platform vendor.

      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 language additions.

      Had it been Open Source, a lot more (free)wisdom would have gone into the core language.

      --
      Life is a conviction.
  8. Re:Does it still matter? by John+Courtland · · Score: 4, Insightful

    Apache seems to be banking pretty hard on it.

    --
    Slashdot is proof that Sturgeon's Law applies to mankind.
  9. Better and smaller class libraries by kherr · · Score: 5, Interesting

    It's definitely the class libraries that make Java "java". The language is straightforward and there are decent JVM workalikes, but developers write their code around the class libraries. The problem I've always found with Java is the bloat of the class libraries, so I'd like to see open source distributions make lean and mean Java variants.

    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.

    1. Re:Better and smaller class libraries by TypeC · · Score: 2
      A perfect Java distro would maybe drop all the deprecated methods (will Sun ever do that? Java 1.6 is a good opportunity...)
      This question was asked again a JavaOne last summer and Gosling himself said they'll never remove deprecated items because of backward compatiblity.
      --
      Objectivity.
    2. Re:Better and smaller class libraries by Kunta+Kinte · · Score: 2, 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...

      --
      Based on upvotes, Ageism is the only "-ism" Slashdotters care about and think isn't SJW
    3. Re:Better and smaller class libraries by zlogic · · Score: 2, Insightful

      Lean and mean Java implementations is all we need. "Works on Sun's, IBM's and XYZ's Java but not on gjc and others. And Kaffe needs some hacks and updates in order to make this app work". We are already seeing this kind of problems with .NET and Mono: you can either write simple apps that work in both, or advanced apps that work in Mono (and need GTK# in .NET Framework), or advanced apps in .NET Framework (and hope that it will work in Mono, although will look ugly on Linux and won't support Windows Native calls).
      As for deprecated stuff, it should be avaliable as an easy-to-install packages that aren't installed by default. It's a real shame that some of Sun's own demos in Java Tutorial designed for an old VM don't work on 1.5 (maybe they've fixed this now, I don't know). One of the strong points in Java is that it's abstracted so that if you write an app you're sure it will work pretty much the same after ~5-10 years. If an OS's API changes, Java's classes can be rewritten so that older apps still work. That's why many educational stuff is written in Java (or Flash) - because if you buy an encyclopedia or dictionary (things that don't change over time and don't need to do any platform-specific stuff), you won't be buying upgrades every year just because some library is "deprecated"; after all, these things are pretty much like music and videos, platform-independent and not changed every year.

    4. Re:Better and smaller class libraries by 955301 · · Score: 3, Insightful

      Drop RMI? You realize that communication to EJB's is RMI right?

      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?

      --
      You are checking your backups, aren't you?
  10. Re:Closed Java is worse then closed C# by powerlord · · Score: 3, Informative
    C# is just a language. There is a specification for it that has been submitted to ECMA, as there are for lots of the pieces that make up MicroSoft's ".Net" initiative. Not all their ideas are bad ones, and anyone is free to implement standards.

    To quote Mono's FAQ page:

    The Mono Project is an open development initiative sponsored by Novell to develop an open source, UNIX version of the Microsoft .NET development platform. Its objective is to enable UNIX developers to build and deploy cross-platform .NET Applications. The project implements various technologies developed by Microsoft that have now been submitted to the ECMA for standardization.

    Personally its a rather nice language.

    Oh, as far as:
    There are also potential patent issues (I can't believe that there would be _no_ patents that cover C#.)

    Unless you know something the rest of us don't, this strikes me more as spreading FUD then anything else.
    --
    This space for rent. All reasonable inquiries will be entertained at proprietors discretion.
  11. Re:Does it still matter? by ahmetaa · · Score: 2, Informative

    well.. yes, java is still the most used platform in business and it is getting bigger. who is "we" you are talking about anyway? "we" here use java in all big applications and very happy about it.

  12. Re:So all the juicy bits are to be left for later by Jason+Earl · · Score: 3, 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.

  13. Re:Should we begin `digging graves?' by squiggleslash · · Score: 2, Insightful
    By the way, we shuld not be suprised if we hear OSS zealots saying that this action should have come earlier. Some will even say it is too little too late.

    Not sure how stating either of those makes someone a zealot, but, whatever.

    It should have been earlier, and it may well be too late. I respect Sun's problems with making the system open, and they've certainly experimented a great deal with different levels of openness, but I think they ended up making the wrong decisions. Not making Java Free Software earlier helped proponents of alternatives such as Mono, and this in turn gave .NET more traction.

    GCJ isn't going to go away. It's more than just a JVM, after all, and people are only beginning to see its power. But I can see GNU Classpath disappearing if the official Java libraries are available under a GPL-compatible license.

    --
    You are not alone. This is not normal. None of this is normal.
  14. Open source changes... by ClockworkSparrow · · Score: 2, Insightful
    How long until some enterprising hacker adds all the features to Java that people miss, such as operator overloading? I personally would use Java far more if I could avoid code such as this:
    result = x.add(y.multiply(BigInteger.valueOf(7))).pow(3).ab s().setBit(27);
    (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 some cases) towers over C++ in so many ways - garbage collection, easy exception handling, a huge standard library...
    1. Re:Open source changes... by RetroGeek · · Score: 2, Interesting
      result = x.add(y.multiply(BigInteger.valueOf(7))).pow(3).ab s().setBit(27);


      My goodness, what a perfect example of why NOT to use operator overloading.

      What would you use for an operator? The +, *, /, or what?

      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.
      --

      - - - - - - - - - - -
      I am a programmer. I am paid to produce syntax not grammar. Deal with it.
  15. Re:Closed Java is worse then closed C# by jeswin · · Score: 2, Informative

    Mod parent up.

    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 explaining Mono last week and it was on slashdot.

    Here is a nice article by Paul Graham on SW Patents, which was Slashdotted earlier. What he says makes a lot of sense: But I doubt Microsoft would ever be so stupid. They'd face the mother of all boycotts. And not just from the technical community in general; a lot of their own people would rebel.

    --
    Life is a conviction.
  16. Re:who cares? by 0xABADC0DA · · Score: 4, Interesting

    What is this "native executable" you speak of? To quote morpheus, "Do you think those are instructions you are running?" Pretty much every so-called native program you run is passed through the ld.so interpreter that relocates the binary and loads shared libraries. Grep the kernel sources for "ld.so".

    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 ./ it.

    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.

  17. But Sire, the train has left the station by jeswin · · Score: 2, Insightful

    I doubt if this will change anything:

    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 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 ahead in adding dynamic languages support to the platform (Microsoft supported IronPython v1 for .Net Fx due out this month.)

    3. I think Gosling needs to move on. After he said Ruby/PHP are just scripting languages, and they just generate web pages, and lack the "power" of Java. [Which "power"?]

    4. With Vista MS would have finally killed Java's Run Anywhere promise. It will still run, but it will look totally out of place. The new eye candy, and the good communication foundation (WCF) is better and easier accessed through .Net.

    The only reason to have Java is for compatibility in a "Legacy" Java environment. Kind of the same reason why we still have mainframes. These days I cannot think of a single reason why someone would go with Java, other than interop.

    --
    Life is a conviction.
  18. Re:Big deal for OSS QWZX by VGR · · Score: 4, 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? Have you looked at the people 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 and operator overloading.

    When you understand the "less is more" principle, you'll begin to understand why all your pet features don't belong in the language.

    --
    The Internet is full. Go away.
  19. Re:Big deal for OSS QWZX by Reverend528 · · Score: 4, Insightful
    Have you looked at the people 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?

    Yeah. The individual usually is smarter than the group.

  20. drop dead, Sun by m874t232 · · Score: 2, Insightful

    10 years ago, Sun promised ANSI and ISO standards for Java plus open source implementations. What did we get? No standards, a lot of FUD (yes, FUD from Sun) about how they can't because of MSFT, proprietary and closed implementations, costly compatibility tests, bloated APIs and implementations, and threats of lawsuits.

    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.

  21. Re:Big deal for OSS QWZX by Just+Some+Guy · · Score: 3, Insightful
    you really think you're smarter than their combined intellect and months of discussion? Trust me, you're not.

    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).

    --
    Dewey, what part of this looks like authorities should be involved?
  22. TCK and calling it "Java" by kmahan · · Score: 3, Informative

    To me the real question is "When will Sun be releasing the various TCKs?" The conformance suites are what is needed to validate any of the java implementations and call them "Java" in the eyes of Sun (and their lawyers).

    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.

    --
    Invalid Checksum. Retrying.
  23. Let's turn Java into TMMLPTEALPAITAFNFAL! by Jesus_666 · · Score: 3, Funny

    But Java would be so much better if it was more like $MY_FAVOURITE_LANGUAGE! For example, it's lacking some features found in PHP like being mixable with HTML code and not using namespaces! And it should have the syntactic goodness of both Ruby and Haskell! Speaking of Haskell, why doesn't Java use type inference everywhere? Forcing the user to give a type only makes things complicated. Also, function declarations should not look like String foobar(int blah, int fhqwhgads) - foobar::Integer -> Integer -> String is much better for a completely nonspecific reason that everyone with two brain cells to rub together could see (just as he could see that such declarations should be optional since they could be inferred by the compiler). Also, Java should run on Dotnet and use FLTK as the main GUI toolkit.

    And Javadoc should translate all source code comments into Esperanto.

    --
    USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
  24. And ARM Jazelle bytecode specs ... ? by Big+Jojo · · Score: 2, 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.

  25. Re:Does it matter? by ltbarcly · · Score: 2

    ARG. Are you on some kind of medicine that makes you slow? Java is just as fast as any other language once you consider the quality of programming. A perfect C program is faster than a perfect Java program at the same task. Of course, a real world C program is never perfect, so you are VERY likely to see Java software which has better performance than natively compiled software.

    Of course, how would you know? You're somehow morally opposed to software that runs 30% slower than some hypothetical ideal.

    <sarcasm> I never run software that was written in C. I only run software written in Fortran, because the lack of pointers lets the compiler squeeze 2% better performance out of the code. I always decide on which software to run based on some esoteric implementation detail which doesn't effect me at all rather than how well the software solves the problem it is designed to solve. Where I work, getting things done is job 2! (Job 1: Making sure my computer isn't bogged down.) </sarcasm>

  26. Re:Big deal for OSS QWZX by runderwo · · Score: 2, Insightful

    You are aware that the Java trademark prevents third party distributions from being referred to as Java, are you not? If someone hacks features into the language, they can't legally call it Java. Simple as that.