Slashdot Mirror


Java To Be Opened For Christmas?

MBCook writes "At the Oracle OpenWorld conference, Sun's CEO Jonathan Schwartz announced on Wednesday morning that Java would be opened within 30-60 days, which would would mean about Christmas Day at the latest. Sun first announced they would do this back in May at JavaOne but didn't give a date. We've seen rumblings before on this topic. Schwartz also commented on the companies Sun Fire servers, Sun's relationship with Oracle, and general trends."

243 comments

  1. All I want for Christmas... by EmperorKagato · · Score: 1

    Is Java-S-E.

    --
    ----- You know you have ego issues when you register a domain in your name.
    1. Re:All I want for Christmas... by Anonymous Coward · · Score: 1, Funny

      Java SE is not just for christmas.. it's for life.

  2. 64-bit by compm375 · · Score: 5, Interesting

    Now maybe we can have a Java plug-in for 64-bit browsers.

    1. Re:64-bit by EmperorKagato · · Score: 4, Insightful

      or Java that utilizes the 64 bit arch as well as take advantage of dual core processing and hyperthreading.

      --
      ----- You know you have ego issues when you register a domain in your name.
    2. Re:64-bit by Anonymous Coward · · Score: 5, Funny

      I'd settle for a Java that doesn't make my machine run slower than a frozen slug.

    3. Re:64-bit by thebluesgnr · · Score: 5, Informative

      We already have one.

      http://packages.debian.org/unstable/net/gcjwebplug in

      [alpha, amd64, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc]

    4. Re:64-bit by gerrysteele · · Score: 0

      Maybe you need a new machine? Or perhaps a new operating system

    5. Re:64-bit by brunes69 · · Score: 4, Funny

      I have never hard the GCJ web plugin actually *work* for a single site I visit. All it seems to know how to do is pop up a window with exceptions in it.

    6. Re:64-bit by compm375 · · Score: 4, Informative

      True, there are gcj and blackdown, but I was referring to a Sun Java that had a 64-bit browser plug-in. I thought it was implied given an open Sun Java was what the article is about. I appreciate the efforts going into non-Sun Java implementations, but as of now they don't quite have full compatibility.

    7. Re:64-bit by cnettel · · Score: 3, Interesting

      What do you have in mind? You might do separate heaps on a per-socket basis, rather than per-thread or common to all (the most common options today), but the JVM itself is not exactly something you easily make parallel.

    8. Re:64-bit by Anonymous Coward · · Score: 0

      What else does it need to do to support dual cores? It looks like it's working fine for me here.

    9. Re:64-bit by EmperorKagato · · Score: 1

      That's what I thought until I ran a program I created that seem to only utilize one of the processors.

      --
      ----- You know you have ego issues when you register a domain in your name.
    10. Re:64-bit by Anonymous Coward · · Score: 1, Informative

      Did it use threads? I'm using jboss spinning off about a dozen services and it looks like they're pretty equally balanced between my cores.

    11. Re:64-bit by CRCulver · · Score: 2, Informative

      It's also got serious security flaws.

    12. Re:64-bit by gameforge · · Score: 3, Insightful

      We need one less programming language, that's for certain.

    13. Re:64-bit by TheRaven64 · · Score: 4, Informative

      Umm, the very first platform Java ran on was Solaris, running on multiple 64-bit SPARC CPUs.

      --
      I am TheRaven on Soylent News
    14. Re:64-bit by Anonymous Coward · · Score: 0

      I was at JavaONE 2 years ago and asked about this. Apparently Sun was planning to get this done for Java 7 (Dolphin). It's being held up so that their coders can scrap the client and server Hotspot compilers and create a single tiered compilation VM. From what I understand the two compilers had a lot of code duplication and stuff that they wanted to sort out.

    15. Re:64-bit by JebusIsLord · · Score: 1

      Uhm, did you start a second thread in your application? Works fine from here.

      --
      Jeremy
    16. Re:64-bit by CastrTroy · · Score: 2, Interesting

      Which is why I think Hyperthreading is a big load a of crap. Whenever I seem to need a little extra power, my computer seems to be stuck around 50% because whoever wrote the program (VB.Net Compiler) doesn't think that making threads is a good idea. Sure Hyperthreading will speed up a few things, but for the most part it just means I end up waiting longer because most of the software out there wasn't written to take advantage of the fact that people may have multiple processors. But I don't really blame them. I took a parallel programming course in University, and it was a lot harder than programming in serial.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    17. Re:64-bit by CastrTroy · · Score: 2, Insightful

      But is it going to be Open source like OO.o is open source? The problem (AFAIK) with OO.o is that they have a huge code base that nobody understands, and that it's hard to actually get them to accept changes from outside their special little group of programmers. I hope that open sourcing Java ends up being better than open sourcing StarOffice ended up.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    18. Re:64-bit by MaggieL · · Score: 4, Funny

      We need one less programming language, that's for certain.
      OK...pick either VB or PHP to hit the dumper. And then everybody who think's he's a programmer who knows only the one that gets GCed.

      --
      -=Maggie Leber=-
    19. Re:64-bit by VGPowerlord · · Score: 2, Informative

      I take it that the parallel programming class didn't mention that a program with a GUI has multiple threads, simply because the GUI needs one for event dispatching?

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    20. Re:64-bit by EvanED · · Score: 2, Interesting

      I take it that your GUI programming class didn't teach you that it's very possible to make a program that uses a GUI that's only single threaded?

      I dunno if that's the case in Java, but any "hello world" Win32 program is certainly single-threaded.

    21. Re:64-bit by VGPowerlord · · Score: 1

      It's possible, but not practical for real world applications.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    22. Re:64-bit by EvanED · · Score: 1

      I would argue that it's as practical as any other application, if not moreso.

    23. Re:64-bit by tepples · · Score: 3, Funny
      Maybe you need a new machine?

      Are you buying?

    24. Re:64-bit by Cyberax · · Score: 1

      Java worked on 64-bit systems from the day one. And it supports massively parallel (32 cores!) Sun Niagara CPUs.

    25. Re:64-bit by Westley · · Score: 1

      Only if you don't mind your GUI completely freezing if you make a blocking call of any description.

    26. Re:64-bit by EvanED · · Score: 1

      True, but in most interactive apps those situations pass within a couple seconds. (Even if they don't, depending on the reason it's "blocking", you still might be able to make forward progress. For instance, if you're just doing computation, you can periodically check for new messages and dispatch them while putting your computation on hold. This won't work if you're actually blocked by the OS of course.) Also, most interactive apps are almost completely waiting for user input anyway. So if you don't multithread your program it will be frustrating to use because it will occasionally make you sit there, but it probably won't take *too* much longer to do what you're doing. But if you're doing some longer-running process (compilation, scientific computation, analysis, simulation, etc.), having a single thread instead of multiple threads could substantially increase your running time if you're on the right hardware.

      So actually I'm gonna pull off of my original statement a little... if you're on a uniprocessor, the difference between your long-running process being multithreaded or not isn't gonna be too much. So multithreading it becomes a lot less important. So going to multiprocessor/core benefits parallel computationally-intensive programs a lot, but interactive applications little. (SMT would depend on the workload of the parallel app where it falls in the continuum.)

    27. Re:64-bit by todorb · · Score: 0

      there are not many compilers i know of, that decide by themselves to make threads out of some parts of code. and exactly why do you think you're going to "end up waiting longer"? you just have more execution units in a HT processor. by "took a parallel programming course" do you mean that you finished it successfully? from your comment i doubt it very much.

    28. Re:64-bit by EsbenMoseHansen · · Score: 0
      The problem (AFAIK) with OO.o is that they have a huge code base that nobody understands, and that it's hard to actually get them to accept changes from outside their special little group of programmers.

      If it is opensource, and someone is really stiffling the progress.... it can be forked. gcc and XFree are 2 examples of how to do this.

      But really, Java has so many flaws, it is only useful for backward compability, unless someone is willing to fix some of the more fundamental flaws. Like getting rid of primitive types, stop throwing the type information away for templated, sorry, generic types, getting support for resource management (where resource != memory). I could go on, but I won't, since it is friday and I am a happy person :)

      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    29. Re:64-bit by ivoras · · Score: 1

      I hope people remember this thread a few years from now. People who don't contribute to Java now (and they can, the development process is open enough) will certainly not contribute when few words in the license is changed, and if they do, it's likely Java will get fragmented because of it (see Firefox/Iceweasel debacle - who wants applications that run only on Debian's "distribution" of Java?).

      --
      -- Sig down
    30. Re:64-bit by ajs318 · · Score: 1

      Did you remember to set CONFIG_SMP=y?

      --
      Je fume. Tu fumes. Nous fûmes!
    31. Re:64-bit by ajs318 · · Score: 1

      Which is why I came up with a self-parallelising architecture on the back of an envelope. I got the instruction length down to 16 bits (usually - some instructions are 80 bits), so allowing 4 instructions to be packed into a 64-bit word. And those four could all be executed in parallel, so long as none of them depends on an answer from a previous instruction (for an operand, or in its condition field) and at most two of them require a bus access (one in each direction; all reads are done on the tick and all writes on the tock). It should be possible to optimise in the pipeline, even accounting for conditionals that won't actually be executed. In practice I expect most instructions will execute always, and a fair number will be Last Successful or Last Failed.

      --
      Je fume. Tu fumes. Nous fûmes!
    32. Re:64-bit by ajs318 · · Score: 1

      Perhaps Debian can call their Java fork "Rosie" ?

      --
      Je fume. Tu fumes. Nous fûmes!
    33. Re:64-bit by Octorian · · Score: 1

      Um, that kinda already exists. Sun has a 64-bit version of Java for SPARC *and* x86-64, and has for quite some time. (they don't have a 64-bit browser plugin, but they have 64-bit *everything else*)

      Of course SPARC isn't a braindead architecture that sucks less in 64-bit mode, so Solaris doesn't actually need to run the entire userland as 64-bit code. As such, even on 64-bit Solaris, most of your apps are still 32-bit. (which makes sense, since 64-bit code can be wasteful on system resources if your app doesn't actually need 64-bit pointers)

    34. Re:64-bit by mackyrae · · Score: 1

      VB. It's not even a real language. It's just clicking around.

      --
      look! it's a bird, it's a plane, it's....a girl? yes, a girl browsing Slashdot on Linux
    35. Re:64-bit by CastrTroy · · Score: 1

      Since you asked, I actually got an A+ in the course. The problem with the extra execution units in hyperthreading is that they only run at half the speed of the single execution unit if you turn the hyperthreading off. So, for applications that aren't written to take advantage of the extra processing unit(s), you will actually experience a slow down. Since a large majority of desktop computers only had a single execution unit, up until a couple years ago when HT and DualCore started to become popular, most programs were only programmed to work on one processor. This is especially true because of the extra complexity required in writing programs that are parallel. The algorithms are different, and the way you think about problems is different. There are currently some languages and libraries that make this process a lot easier, but they aren't widely used, because like I pointed out, people haven't really seen much of a use for them. I think that as multiprocessors become more common, and if intel ever does release their 80 core processor, that we will start to see a big move towards parallel programming. Until then all my old software runs slower on hyperthreaded mode.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    36. Re:64-bit by GigsVT · · Score: 1

      Why would anyone use Java unless forced to by some crappy web site?

      For 99.9% of the world, the plugin is all that matters.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    37. Re:64-bit by cb0nd · · Score: 1

      Well... VB is Turing complete. Heck... It still sucks!

    38. Re:64-bit by Reverend528 · · Score: 1, Funny
      I have never hard the GCJ web plugin actually *work* for a single site I visit. All it seems to know how to do is pop up a window with exceptions in it.

      Sounds like java to me.

    39. Re:64-bit by Anonymous Coward · · Score: 1, Interesting

      I think you misunderstand how HT works.

      On any of the netburst P4's there were multiple execution units, be they HT or not. There was also a clever scheduler that would take the instruction stream (from a single thread) and figure out the interdependancies between the instructions - so that instructions could be executed in parallel on the multiple execution units. This helped hide the hideous latency problems with the netburst architecture as the instruction pipeline was so long.

      What intel realised was that many of these extra execution units were infact idle much of the time because there weren't enough independant instructions coming through on a typical thread - even with their clever compilers. So they discovered that they could actually simply (well probably not) add another scheduler to the processor that used these spare slots on the existing execution units. All it took was something like a 5% increace in transistor count and they got the capability of running another thread on the same processor - so this was cheap in comparison. Also AFAIK that's why it's not there on the Core processors - they don't have the same super long pipelines so there is way less benefit.

      So in theory turning HT on makes the machine simply seem to run faster as it has a second logical processor. The units themselves don't run at half the speed though if you turn hyperthreading off, they run at the same speed.

      So on the face of it HT should be a win-win situation. However there are gotcha's involved. Firstly there is cache - both the threads share the same cache. This is made even worse by windows by default creating threads that are on 1MB memory boundaries - which means that they actually share cache lines in cache because of the way the aliasing works (why they thought this was a good idea in the first place I don't know). This can make HT much much slower than non HT but is easy to get around.

      Also things that do busy-waiting loops rather than using OS sleep (something you shouldn't ever do of course) will flood the execution units and so take away from the non-waiting threads capacity.

      These are almost certainally why your stuff runs slower in HT mode - it was written without considering HT in the fisrt place.

    40. Re:64-bit by thePowerOfGrayskull · · Score: 1
      Whenever I seem to need a little extra power, my computer seems to be stuck around 50% because whoever wrote the program (VB.Net Compiler) doesn't think that making threads is a good idea.
      I'm sorry -- I freely admit that this may be my ignorance of vb.net shining through -- but did you just blame the compiler for not putting threading logic in your code? Am I missing something here?
    41. Re:64-bit by thePowerOfGrayskull · · Score: 1
      Why would anyone use Java unless forced to by some crappy web site?
      Good morning, did you know there's a whole world of server-side programming out there?
      For 99.9% of the world, the plugin is all that matters.
      I think you meant: For 99.9% of the end users, the plugin is all that matters.
    42. Re:64-bit by GigsVT · · Score: 0, Flamebait

      Good morning, did you know there's a whole world of server-side programming out there?

      And what does the world of PHP and ASP.net have to do with some crappy browser plugin that sites from 1998 use?

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    43. Re:64-bit by CastrTroy · · Score: 1

      I'm not talking about the output program from the compiler, but rather the compiler executing. When my compiler executes, it only uses up 50% of the cpu, making the act of compiling the code take twice as long, had it used 100% of the processor.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    44. Re:64-bit by thePowerOfGrayskull · · Score: 1

      Do you still use PHP? How quaint...

    45. Re:64-bit by thePowerOfGrayskull · · Score: 1

      Ahh, gotchya. I misunderstood, my bad.

    46. Re:64-bit by eosp · · Score: 1

      So is Brainfuck. But that's a bit cleaner.

    47. Re:64-bit by FishWithAHammer · · Score: 1

      Eh..VB is really not all that bad. VB6 wasn't bad, but VB.NET has gotten surprisingly good. (The fact that it's the exact same thing as C# though with a different syntax certainly doesn't hurt.)

      --
      "You can either have software quality or you can have pointer arithmetic, but you cannot have both at the same time."
    48. Re:64-bit by Octorian · · Score: 1

      Not always, actually. Thanks to tack-on systems like "Java Web Start", sites can provide *real* locally-running applications through a delivery mechanism that makes them launch from web sites. I've actually run into some applications (like web conferencing software) that use this approach, and it works rather well.

    49. Re:64-bit by Westley · · Score: 1

      If you *ever* touch the network, you really shouldn't do so in the UI thread. A good example of the problem is Firefox, which will hang completely if some Javascript makes a network request. That's a really nasty situation to be in.

      The difference in user experience between a properly written multi-threaded app and a single-threaded app which doesn't take great care not to make blocking calls is vast, IMO. That doesn't depend on whether or not you've got multiple processors - it's just a case of blocking calls not preventing the UI from working. Yes, most of the time many apps will be waiting for user input - but the computer doesn't mind that, whereas users really *do* mind it when they can't even resize or close a window because a server they're talking to hasn't responded yet.

      Jon

    50. Re:64-bit by thePowerOfGrayskull · · Score: 1

      I wish that were more widely used -- generally offensiveness aside, the GP poster indirectly raised a valid point. The general perception of Java has suffered greatly because of early experiences that people have had, and continued (though dwindling) web-site usage that relies on plugins.

    51. Re:64-bit by DragonWriter · · Score: 1
      If it is opensource, and someone is really stiffling the progress.... it can be forked.
      I'm not sure how that addresses the main problem GP points to: "The problem (AFAIK) with OO.o is that they have a huge code base that nobody understands"
    52. Re:64-bit by Mr.+Slippery · · Score: 2, Informative
      I take it that the parallel programming class didn't mention that a program with a GUI has multiple threads, simply because the GUI needs one for event dispatching?

      Ah, you kids today and your multi-threads GUI programs.

      It's entirely possible - indeed, was once common - to use an event loop/callback scheme to run a GUI program in a single thread. Obviously non-blocking calls must be used.

      Threading only started to become common with the release of Pthreads, in the mid-1990s. (Of course it existed long before then!) I don't do much GUI programming but I would not be surprised if back in the days of X11R4, the X libraries weren't even thread-safe.

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
    53. Re:64-bit by EsbenMoseHansen · · Score: 1
      I'm not sure how that addresses the main problem GP points to: "The problem (AFAIK) with OO.o is that they have a huge code base that nobody understands"
      I didn't address it since it is obviously nonsense (if noone could understand it, noone could maintain it. If someone can learn it, then someone could fork it.) If you want to work on a nicely coded office suite, take a look at KOffice. Or maybe Abiword, I don't know that one.
      --
      Religion is regarded by the common people as true, by the wise as false, and by rulers as useful.
    54. Re:64-bit by mackyrae · · Score: 1

      The fact that M$ decided to make VB6 break by making VB.net is just lovely, isn't it?

      --
      look! it's a bird, it's a plane, it's....a girl? yes, a girl browsing Slashdot on Linux
    55. Re:64-bit by Anonymous Coward · · Score: 0

      I pick VB. You can actually do something useful with PHP. :)

  3. Co-ffeee... by Thisfox · · Score: 2, Funny

    Mmmm... Java with the lid off, so we can see the coffee inside...

    Sorry, couldn't resist, must have had too much caffiene thismorning...

    1. Re:Co-ffeee... by Captain+Splendid · · Score: 0, Flamebait

      Which would hopefully mean Java that isn't horribly bloated and slow as molasses?

      Between Azureus and a few useful web applets, I use Java far more than I'd like, as it's the slowest thing on my PC (3ghz/1GB RAM). Would definitely like to see it slimmed down.

      --
      Linux, you magnificent bastard, I read the fucking manual!
    2. Re:Co-ffeee... by Anonymous Coward · · Score: 5, Funny

      1999 called, it wanted its lame comment back.

    3. Re:Co-ffeee... by Captain+Splendid · · Score: 1

      Listen dude, I didn't say it wasn't better, but it's far from from fucking svelte.

      --
      Linux, you magnificent bastard, I read the fucking manual!
    4. Re:Co-ffeee... by darkchubs · · Score: 2, Funny

      dude, Java makes Ana Nicole Smith look like Nicole Richie on crystal meth

    5. Re:Co-ffeee... by kevin_conaway · · Score: 4, Insightful
      Between Azureus and a few useful web applets, I use Java far more than I'd like, as it's the slowest thing on my PC (3ghz/1GB RAM). Would definitely like to see it slimmed down.

      Using Azureus as an example of memory problems in Java is like using Firefox as an example of memory problems in C++

    6. Re:Co-ffeee... by NoCorR · · Score: 0, Flamebait

      Why was this modded Flamebait? It's a perfectly valid question. Java is bloated. It takes 5+ minutes just to load up a Java app on my machine. I'm reminded of something I heard somewhere, "Saying Java is good because it works on all platforms is like saying anal is good because it works on both sexes."

    7. Re:Co-ffeee... by mcpkaaos · · Score: 4, Funny

      Have you seen Anna Nicole Smith recently? She already looks like herself on crystal meth.

      --
      It goes from God, to Jerry, to me.
    8. Re:Co-ffeee... by ahaning · · Score: 1

      Good ol' Bash...

      http://bash.org/?338364

      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    9. Re:Co-ffeee... by Anonymous Coward · · Score: 0

      I don't know about your hardware, but a biggish app like netbeans loads in ~20-30 seconds (which still sucks cock compared to, say, the ~4 second MS Visual Studio 2005).
      Do-nothing hello worlds in swing take a noticeably long time to come up. It only gets worse the more complex the app, and the slower the hardware.

      A pox on all those who foist Java Swing apps on their users.

    10. Re:Co-ffeee... by Shawn+is+an+Asshole · · Score: 4, Informative

      5 minutes? What the hell are you running? Have you used a Java program since 1998?

      I'll do a test right now, with Java 1.6b2 and Eclipse 3.2 with an Athlon 64: 12 seconds to the workbench.

      Yep, that's a long time. Keep in mind Eclipse is a heavy app and I do have many extensions installed. Other Java apps I use regularly, such as pdftk (command line) come up instantly and work very fast.

      Properly written Java apps are not slow, though if they use Swing they look hideous.

      --
      "It ain't a war against drugs.it's a war against personal freedom" --Bill Hicks
    11. Re:Co-ffeee... by Anonymous Coward · · Score: 0

      I know you weren't trying to be funny. But you probably picked java's flagship app and not C++'s , but definately in the top end for C++. And they both have memory problems. That would seem to indicate that if these flagship products have these type of problems there is probably a weakness in the language. If either language were so awsome we would not have memory problems. It's 2006 and we still talk about memory problems. No more blaming the programmers, they already have proven that you give them enough rope they will hang themselves. We now need a new language or a current one re-designed so memory leaks are a thing of the past. Or a much improved garbage collector.

    12. Re:Co-ffeee... by Anonymous Coward · · Score: 1, Funny

      1995 called, it wants its joke back.

    13. Re:Co-ffeee... by NoCorR · · Score: 1

      I meant when I load Java apps within Firefox. It takes awhile. But running Java apps themselves doesn't talk long at all. Just embedded. Guess I should've specified. :D

    14. Re:Co-ffeee... by tkinnun0 · · Score: 0

      Guess you should've specified whether it's your network connection or harddrive that sucks, as well...

    15. Re:Co-ffeee... by Anonymous Coward · · Score: 0

      "5 minutes? What the hell are you running? Have you used a Java program since 1998?"
      Properly written Java apps are not slow, though if they use Swing they look hideous.

      Properly written Swing apps look great. Guess you haven't seen one since 1998!

    16. Re:Co-ffeee... by rHBa · · Score: 1

      At last FairTrade Coffee

  4. License by Tribbin · · Score: 5, Interesting

    Under what license?

    --
    If you mod this up, your slashdot background will turn into a beautiful sunset!
    1. Re:License by jonwil · · Score: 4, Interesting

      Most likely they will use the same license as they used for OpenSolaris.

    2. Re:License by Ajehals · · Score: 5, Informative

      The article only says it will be an OSI Approved License and I would suggest that that probably means the CCDL,

    3. Re:License by 4e617474 · · Score: 2, Informative

      All it really tells us is that it will be one of these. I think you're probably right, but I have my doubts that they've even firmly decided on it yet. They've been holding off on announcing the How and When since May, and now they've announced the When.

      --
      Finally modding someone offtopic when they rant about what "Begging the Question" means: priceless.
    4. Re:License by squiggleslash · · Score: 1

      It's worth pointing out that Jonathan Schwarz has gone out of his way to make it plain the GPL is being considered as a possible license. The main issue I think Sun has is that they prefer GPL3, with its patent retaliation clauses, to GPL2. GPL3 hasn't been released yet, and thus far is fairly controvertial (For reasons I continue to find bizarre.)

      --
      You are not alone. This is not normal. None of this is normal.
  5. heresy! by Phil246 · · Score: 1

    there is no such thing as too much caffeine :)

    1. Re:heresy! by N3Roaster · · Score: 1

      Sure there is. Personally, I hit my limit with 20 shots of espresso within 2 hours (why yes, I do get paid to drink coffee). You can also overdose on caffeine, but not just from drinking coffee.

      --
      Remember RFC 873!
    2. Re:heresy! by Anonymous Coward · · Score: 0
    3. Re:heresy! by Anonymous Coward · · Score: 0

      or you could get it here http://www.bodybuilding.com/store/sf/caffeine.html in capsule form in smaller quantities for almost half the cost and spend the extra on ephedrine hcl http://www.bodybuilding.com/store/mp/vaso.html

      Talk about getting twitchy.

    4. Re:heresy! by RobertLTux · · Score: 1

      well as you reach ~ 5 grams you will find out what "too much" means (starts with the shakes and a "bad trip" and ends with a coronary infarction)
      do yourself a favour don't buy the tablets in bulk

      --
      Any person using FTFY or editing my postings agrees to a US$50.00 charge
  6. Don't be cheap... by __aaclcg7560 · · Score: 1

    If I'm getting java for Christmas, it should be gift wrapped. An espresso machine would be nice too.

    1. Re:Don't be cheap... by pilgrim23 · · Score: 1

      Better Late` ....then never?

      --
      - Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.
  7. How many days are in your Java? by DumbSwede · · Score: 1

    Java would be opened with 30-60 days

    within methinks

    1. Re:How many days are in your Java? by Reverend528 · · Score: 5, Funny
      30-60 days

      The time difference depends on whether or not the garbage collector runs during that time.

    2. Re:How many days are in your Java? by rjolly · · Score: 1

      You're joking, but I've been able to make it spend 12 hours over 24 in the GC for real : http://raphael.jolly.free.fr/text/gc.png (ok it was a tricky symbolic computation, and this is a very very special case just below the heap space limit)

  8. Don't get yer hopes up by jmorris42 · · Score: 2, Interesting

    I'll believe it when it happens. My money is on them releasing under a horrid unfree license and calling it Open Source.

    But at this point it really doesn't matter anymore. GCJ already builds many major Java based apps into either Java bytecode or native executables and has long since passed the point where development would be hindered by a Open Source/Free Software release of Sun's version.

    GCJ is now bringing a lot more to the table than just cloning the Sun stuff. Sun would never do native executables because it doesn't fit into their 'vision.' The JVM and Write Once Debug Everywhere has no real place in the Free Software world. In the Free world portability comes from automake/autoconf and doesn't need to pay the emulation overhead of a virtual machine or any of the other problems. Problems like each major Java app tending to bring along an entire JVM and set of libraries to solve compatibility issues.

    Something I have been wondering.... GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode? If it is treating bytecode as just another target what if a C# frontend were written? Could gcc take C# on input and emit Java bytecode on the other end? And if a mono backend were added could it compile Java source to it? And if this all came to pass would it be a sure sign the end of times were at hand?

    --
    Democrat delenda est
    1. Re:Don't get yer hopes up by Kjella · · Score: 3, Informative

      Something I have been wondering.... GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode? If it is treating bytecode as just another target what if a C# frontend were written? Could gcc take C# on input and emit Java bytecode on the other end? And if a mono backend were added could it compile Java source to it? And if this all came to pass would it be a sure sign the end of times were at hand?

      Just on a wild guess, since C/C++ doesn't target a VM it'd be like saying "we can get assembler code from C, why can't we get C from assembler code?" Going from byte code is easy (well, not really but...) since eventually the byte code has to run on actual hardware, but I don't think there's any good reverse mapping. In the end, I think you'd end up building a x86 VM inside the Java VM, which would have some terrible overhead.

      --
      Live today, because you never know what tomorrow brings
    2. Re:Don't get yer hopes up by brunes69 · · Score: 1

      Something I have been wondering.... GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode?

      No.

      If it is treating bytecode as just another target what if a C# frontend were written? Could gcc take C# on input and emit Java bytecode on the other end? And if a mono backend were added could it compile Java source to it? And if this all came to pass would it be a sure sign the end of times were at hand?

      Mono can already do all of this - mono can run Java apps in it's CIL VM, and Java apps can talk to mono apps.

      mono can't build Java code to CIL though, it doesn't understand the syntax. http://www.mono-project.com/Java.

    3. Re:Don't get yer hopes up by RAMMS+EIN · · Score: 2, Interesting

      ``In the end, I think you'd end up building a x86 VM inside the Java VM''

      Not really. GCC generates x86 code in the backend, which operates on some intermediate language. If the same intermediate language is generated from the Java frontend and the C frontend, and the Java bytecode backend handles that full language, it would be possible to compile C to Java bytecode.

      --
      Please correct me if I got my facts wrong.
    4. Re:Don't get yer hopes up by kevin_conaway · · Score: 1, Insightful

      GCJ is now bringing a lot more to the table than just cloning the Sun stuff. Sun would never do native executables because it doesn't fit into their 'vision.' The JVM and Write Once Debug Everywhere has no real place in the Free Software world.

      WODE is a silly myth promoted by people with an axe to grind, usually those who have no real world experience with Java. Its extremely easy to write portable code in java, but java won't stop you from writing unportable code, just like any other language.



      In the Free world portability comes from automake/autoconf and doesn't need to pay the emulation overhead of a virtual machine or any of the other problems. Problems like each major Java app tending to bring along an entire JVM and set of libraries to solve compatibility issues.


      HA! Portability provided you don't need to port to windows.



      The "overheard" you speak of is largely irrelevant and has been for quite some time due to advances in computing power.

    5. Re:Don't get yer hopes up by AnyoneEB · · Score: 1
      Something I have been wondering.... GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode? If it is treating bytecode as just another target what if a C# frontend were written? Could gcc take C# on input and emit Java bytecode on the other end? And if a mono backend were added could it compile Java source to it? And if this all came to pass would it be a sure sign the end of times were at hand?

      The problem with that is Java bytecode assumes access to the Java class library and .NET bytecode assumes access to the .NET library. You could probably make a lot of 1:1 connections between the two, but why bother when you have JVMs and Mono on multiple platforms. Also, I thought remembered seeing something about Mono being able to interface with Java somehow. Am I imagining things or does someone know what I am talking about?

      --
      Centralization breaks the internet.
    6. Re:Don't get yer hopes up by DeadMeat+(TM) · · Score: 2, Interesting
      If the same intermediate language is generated from the Java frontend and the C frontend

      It isn't, if you're targetting bytecode. Bytecode is handled as a special case which bypasses GCC's RTL representation.

      Since the JVM doesn't allow arbitrary access to memory, it's not feasible to make a Java bytecode backend for GCC. (Java bytecode is Turing complete, so it's technically possible; but you'd have to resort to ugly hacks like representing memory as a gigantic, flat array of bytes.)

    7. Re:Don't get yer hopes up by Anonymous Coward · · Score: 0
    8. Re:Don't get yer hopes up by petermgreen · · Score: 3, Interesting

      If the same intermediate language is generated from the Java frontend and the C frontend, and the Java bytecode backend handles that full language, it would be possible to compile C to Java bytecode.

      my understanding was it was more like

      java-->java bytecode-->GCC internal-->native code

      the trouble with java bytecode is that if you wan't it to run on suns vm and certainly if you wan't it to run in any kind of restricted environment it has to pass the bytecode verifier. Short of essentially having an emulated main ram with a C heap inside it (possible but almost certainly not good for performance) passing the bytecode verifier with something compiled from C would be pretty damn hard.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    9. Re:Don't get yer hopes up by alphamugwump · · Score: 1

      take a look at this

      Actually, somebody wrote a java backend for gcc. Problem is, RMS didn't want it in. The idea was, java bytecode might be used as an intermediate language, so that a manufacturer of proprietary hardware could write a proprietary bytecode-to-machine language compiler for their architecture, and then take advantage of the nice GCC toolchain to promote their proprietary stuff.

      Now, this seems a little paranoid to me, but there you have it. However, the little known mono competitor, dotGNU claims to have a c to .net compiler, and will eventually suppor java too. might be worth checking out.

    10. Re:Don't get yer hopes up by Anonymous Coward · · Score: 0

      GCJ is now bringing a lot more to the table than just cloning the Sun stuff.
      You have got to be kidding me! GCJ is about the biggest Java turnoff for newbies there is. I've been starting with Java somewhere last year and I'm very enthousiastic about it since I really dig the language and the things it provides. What I don't like (I hate it with a passion) is that horrible OSS POS excuse for the real thing.

      Tough words, I know. Just goto the Java tutorial and start learning. Eventually you'll come across several examples which do not work. Not even now at this very moment. When I started out those same examples didn't work and I was wondering what the heck was wrong. Surely not the examples themselves.. Only thanks to my Solaris box (or better put: Other Java environment) did I found out that it was gcj which was to blame. Yeah, great environment when it can't even fulfill basic tutorial examples.

      Another thing.. I have spend a lot of time on Java usenet groups and Java IRC channels. And guess what? The first thing we ask people when they have problems using Java on Linux is: "What jvm are you using? Are you using gcj by any chance? Please run "java -version"" and when the outcome is gcj we tell them to ditch the piece of shit and get the official JVM from Sun. And yes; in 8 out of 10 cases (very broad yet educated guess) the problems are solved.

      So please... give me a break and don't come with this nonsense. gcj isn't Java compatible, has never been Java compatible and most definatly can't keep up with the current pase one single bit.

      I really do not look forward to Sun opening up Java since I already saw what might happen when looking at GCJ. The only thing I do hope is that Linux distributors will now finally ship the official JRE with the several environments so that beginning Java enthousiasts won't have to be turned down by official example code not working on their environments.

    11. Re:Don't get yer hopes up by jmorris42 · · Score: 1

      > So please... give me a break and don't come with this nonsense. gcj isn't Java compatible, has never
      > been Java compatible and most definatly can't keep up with the current pase one single bit.

      And I suspect the GCJ developers would agree with your criticisms but reply thus:

      "Yes, GCJ isn't complete yet and doesn't run many programs yet. On the other hand we are continuing to work on it and welcome any and all assistance."

      The distro maintainers who ship GCJ as the default Java would probably say: "We ship Free Software. GCJ is the only solution to the Java problem available. It runs all of the Java applications we support."

      Especially RedHat, they have sunk tons of resources into GCJ because it was the only way around several thorny problems where careless/thoughtless developers wrote key components in a language that had no Free implementation. Of course politics was at the root of most. OO.o added a dependency on Java for the new DB component.... no suprise most of the development was by Sun developers. Eclipse started life as a Java SDK, no suprise it was written in Java.

      Go look through Fedora and Fedora Extras for Java based apps. They all run using GCJ because Sun's Java is forbidden by the bylaws of the Fedora Project on the grounds of it being non-Free.

      --
      Democrat delenda est
    12. Re:Don't get yer hopes up by jasondlee · · Score: 1

      The JVM and Write Once Debug Everywhere has no real place in the Free Software world.

      How did you come to that conclusion?

      This question brought to you by the letters Q, E, and D.

      --
      jason
      Have a good day?! Impossible! I'm at work!
    13. Re:Don't get yer hopes up by Spikeles · · Score: 1
      WODE is a silly myth promoted by people with an axe to grind, usually those who have no real world experience with Java. Its extremely easy to write portable code in java, but java won't stop you from writing unportable code, just like any other language.

      It's true that you can write portable code in Java, just like you can write portable code in C/C++, but you can't get the program to actually DO anything usefull. And when you try you have to end up debugging it. The easiest example i can think of right now is trying to open a .PDF file. Have you ever tried to write portable code to make Java tell the system to load a PDF file using the default executable handler?

      I have worked on shrinked wrap software that was intended to run on both Linux and Windows, and i can tell you that there are little bugs that crop up now and then due to inconsistent handling, rendering issues, font issues, and especially in the way the Look and feels work. Granted it's not as bad as most people think and mostly it's bugs in Java's default libraries, but there ARE issues, and you shouldn't just dismiss them with a wave of the hand just because you have not had an occasion to experience one

      I have looked at Java SE 6, and they make great strides to solve the non-portable issues ( the disk free/left and desktop integration is a good example ), but the fact is that the Virtual Machine cannot always hide all the platform quirks, and sometimes you need to "debug" the code and write a workaround for a specific platform.

      The "overheard" you speak of is largely irrelevant and has been for quite some time due to advances in computing power
      If you mean "overhead" then that too is debateable and i'll take the bait.
      Java IS slow. There is no doubt about it. Any chance to remove overhead should be taken. Yes it has the JIT ( which is quite good for servers ), but as i mentioned earlier, we develop shrink wrap desktop software which suffers from horrible performance issues relating directly to JIT, GC, and Swing. Yes, we have profiled it, and optimized it, but the problems are still there. The biggest advantage compling to native code using GCJ, is that of pipelining and cache hits when the instruction code is executed by the CPU, thereby reducing overhead. In performance critical apps ( like a desktop app, that needs microsecond response times ), every little bit of overhead we can remove is crucial.

      I look forward to Java SE 6, the new features should help with some of my concerns. And as a final note, ask anyone who has actually done real world apps in Java, they will tell you that Java has it's problems.. but like all languages, is has good points too. I don't bash Java too much, i think we need to highlight it's inadequacies and it's benifits, and not just be evangelical sheep who won't listen to any critism of their holy language.
      --
      I don't need to test my programs.. I have an error correcting modem.
    14. Re:Don't get yer hopes up by tonigonenstein · · Score: 1
      GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode?
      Sure. There are already a few projects aiming to do just that. You can find a partial list here.
      --
      The sooner you fall behind, the more time you have to catch up.
    15. Re:Don't get yer hopes up by tepples · · Score: 1
      In the Free world portability comes from automake/autoconf
      HA! Portability provided you don't need to port to windows.

      Ideally, in the Free world, windows is ReactOS, whose userland is based on the work of the Wine project, but the maturity and user base are not there yet.

    16. Re:Don't get yer hopes up by popeyethesailor · · Score: 1
      Something I have been wondering.... GCC now accepts Java source and emits either native binaries or Java bytecode. Can it take C/C++/etc and emit bytecode? If it is treating bytecode as just another target what if a C# frontend were written? Could gcc take C# on input and emit Java bytecode on the other end? And if a mono backend were added could it compile Java source to it? And if this all came to pass would it be a sure sign the end of times were at hand?
      I know it's too late for anyone to read anyway - Managed C++ in the Microsoft world does something very similar. However, there're certain limitations that come into the picture when targeting byte-code. It works reasonably well, and is a choice for people migrating into the managed code world with a large C++ codebase. For converting C# code to Java and vice versa, checkout IKVM. It's an impressive piece of tech; folks have even converted Eclipse to run on Mono.
    17. Re:Don't get yer hopes up by EvanED · · Score: 2, Interesting

      It's true that you can write portable code in Java, just like you can write portable code in C/C++, but you can't get the program to actually DO anything usefull. And when you try you have to end up debugging it.

      I have worked on shrinked wrap software that was intended to run on both Linux and Windows, and i can tell you that there are little bugs that crop up now and then due to inconsistent handling, rendering issues, font issues, and especially in the way the Look and feels work. Granted it's not as bad as most people think and mostly it's bugs in Java's default libraries, but there ARE issues, and you shouldn't just dismiss them with a wave of the hand just because you have not had an occasion to experience one


      I just want to offer a counterpoint to this... I did Java development at IBM for a summer internship. We were doing server-side stuff (which would, granted, bypass the most difficult platform-specific stuff, the GUI), but we developed on Windows on just typical laptops. The final target for the program was s390 Linux. Change of OS, change of architecture, even change of character set from ASCII to EBCDIC. You'd be hard pressed to find a larger platform transition. We had to make one change to the program to get it to run as well on there as it did on our laptops. I was quite impressed.

    18. Re:Don't get yer hopes up by zlogic · · Score: 1

      I think the OP was saying something more like "If we can make ASM code from C, why can't we get ASM code from Perl?"

    19. Re:Don't get yer hopes up by Jesus_666 · · Score: 1

      GCJ is now bringing a lot more to the table than just cloning the Sun stuff. Sun would never do native executables because it doesn't fit into their 'vision.' The JVM and Write Once Debug Everywhere has no real place in the Free Software world.

      Except for those projects who don't want to fight with managing target platforms. Unlike most C++ libraries Java runs somewhat decently everywhere. No working around OS-specific compiler quirks, GTK not using Aqua on MacOS or Windows not supporting half of the libraries the other platforms depend on.


      In the Free world portability comes from automake/autoconf and doesn't need to pay the emulation overhead of a virtual machine or any of the other problems. Problems like each major Java app tending to bring along an entire JVM and set of libraries to solve compatibility issues.

      You mean trying to learn M4 is in any way productive? Okay, there are alternatives (for example KDE made the move to the vastly superior CMake). Of course if you use, for example, libtdl, Boost and CMake you end up depending on three separate build systems when you really only need one. Much better than having a comprehensive class library from the start, yeah.

      Note: I'm not a Java geek; in my opinion the language is far too verbose. However, if you want to support many architectures it is better than many other languages.

      --
      USE HOT GRITS WITH STATUE OF NATALIE PORTMAN (NAKED AND PETRIFIED)
    20. Re:Don't get yer hopes up by LarsWestergren · · Score: 2, Insightful

      The JVM and Write Once Debug Everywhere has no real place in the Free Software world.

      Sez you. In the real world, java has been the language with the most projects on Sourceforge for quite some time. There are also many other repositories. So you don't speak for the majority.

      In the Free world portability comes from automake/autoconf and doesn't need to pay the emulation overhead of a virtual machine or any of the other problems.

      Again, the majority of languages today, including the open source world, target a virtual machine or an script interpretor. JVM, Mono, Python virtual machine, Parrot, the Lisp virtual machine, and all the scripting languages - Ruby, Javascript, PHP, Lua...oh what the hell, all of them.

      Problems like each major Java app tending to bring along an entire JVM and set of libraries to solve compatibility issues.

      Apps coming with their own virtual machine rather uncommon today. And what application doesn't come with a set of libraries today?

      --

      Being bitter is drinking poison and hoping someone else will die

    21. Re:Don't get yer hopes up by smash · · Score: 1
      The idea was, java bytecode might be used as an intermediate language, so that a manufacturer of proprietary hardware could write a proprietary bytecode-to-machine language compiler for their architecture, and then take advantage of the nice GCC toolchain to promote their proprietary stuff.

      So instead, they can just for example write an x86 front end for their hardware and recompile/interpret that at runtime and leverage the gcc toolchain? Like Itanium perhaps? Or even modern x86 cpus...

      Braindamaged thinking if you ask me, I mean, they could do that with any of the platforms GCC officially supports, not just the Java virtual machine...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    22. Re:Don't get yer hopes up by owlstead · · Score: 1

      Yup, almost by definition, Java VM only uses references, not pointers as such. Pointer arithmetic is not supported. Now you *could* rewrite every C/C++ app and toss all the pointers out, but don't expect too much support from anybody... Java bytecode lives on a rather higher level than normal machine code. For instance, exceptions are handled in Java bytecode, while the x86 instruction set doesn't even know the concept. This is OK, since one of the main focusses of Java and the Java VM is for applications to focus on productivity, instead of low level features. Of course this is restrictive, it *has* to be.

  9. An open source VM isnt much use by jonwil · · Score: 3, Insightful

    Open source VMs already exist, what we need is for sun to open source the java libraries.

    1. Re:An open source VM isnt much use by RAMMS+EIN · · Score: 2, Insightful

      ``Open source VMs already exist''

      Yes, but do they handle the full language that Sun's VM handles, and are they as fast?

      --
      Please correct me if I got my facts wrong.
    2. Re:An open source VM isnt much use by Anonymous Coward · · Score: 0

      WTF? Of course they handle the "full language" of the VM, the Java VM is fairly clearly defined in an open spec. So is the class format and the language specification.

      As for "as fast" that's sort of pointless, it's fairly hard to be slower than Java. But, yes, they're as fast (or not, as the case may be) as Sun's Java.

      What is true is that most open source LIBRARIES fall far behind Sun's massively bloated "standard" library collection, which was the OP's original point anyway.

    3. Re:An open source VM isnt much use by TheRaven64 · · Score: 1
      Yes, but do they handle the full language that Sun's VM handles, and are they as fast?

      The 'language' is quite small, it's just the virtual instruction set. Most of the Java platform is the runtime library, which is huge. There are a few non-Sun VMs, and some of them are very fast. The problem is implementing the libraries, and this is difficult because they are so big. The Classpath and Harmony projects are working towards this, but having Sun release theirs under a Free Software license would make this a lot easier.

      --
      I am TheRaven on Soylent News
    4. Re:An open source VM isnt much use by Anonymous Coward · · Score: 0

      To bad they suck

  10. Finally by Ajehals · · Score: 3, Insightful

    FTA it looks like it really is, finally about to be reality (:)), Java under an OSI approved license. Not only that but within 60 days and all because of pressure from the community - I wonder where else that might work (drivers? - nah need a bigger market share...).

    It looks like Sun Microsystems are starting to see the benefits of Open Source technology, first Open Office (Under the GPL no less) then Solaris and now Java, - I can only hope it catches on throughout the industry.

    Just a couple of points - I know that Java isn't being released under the GPL, and that there are still some interesting debates going on about the CCDL and interoperability with the GPL (I wont even pretend to know the precise issues), but it is definitely a good thing. Since Sun Microsystems is primarily seen as a hardware company, and presumably isn't too worried about the revenue's it is losing from the software sales it could have had (I know this doesn't apply to Java but it could have to Open Office and did to Solaris) it does mean that nothing that they are doing can be readily applied to a Software company. So anybody suggesting that Microsoft et al should start Open Sourcing their code because it works for Sun Microsystems is probably a little off the mark.

    Well anyway - Be a good day when it *actually* happens and his is very good news. I wonder if I should look at using Java...

    PS: By the way (and slightly random) my spell checker in OO.org attempts to correct CCDL as CUDDLY and GNU-GPL as SNUGGLE, how sweet.

    1. Re:Finally by Anonymous Coward · · Score: 1, Interesting

      I think you give Sun a little more credit than they deserve. Sun is just panicking, not being enlightened.

      Sun needs, desperately, to make their implementation of Java the defacto standard with Linux distributions. Their problem is Java is becoming open source right now. That's a comparison between a cleanroom, GPL implementation of Java and Sun's JDK 1.4. That's approximately 99% compatible aside from the swing api. And for a Tomcat or Jboss, that's all you need. Debian already distributes this in the main repository with SableVM. Red Hat favors GCJ.

      Right now Sun is on the cusp of becoming irrelevant. They wanted so badly to prevent a fork of Java but it is already forked right under their noses. They need to dump a superior, complete, open source version of Java on the market RIGHT NOW and sweep support out from under these other projects and kill them with extreme prejudice. Lets face it, Solaris has no takers outside hardcore enterprise customers because we open sourced around them. In another year Sun's JDK will be just "that JDK that comes with Solaris" if they don't do something really soon. Then Java is forked and Sun has lost the standards battle with Microsoft in their eyes.

      Personally, I think an independent Java Foundation needs to get spun off. That way IBM, Sun, Oracle, Red Hat, Intel, HP, and Apple can dump research money into Java without all the discomfort of working with a direct competitor. And finally, fast VM technology will enter the public domain and we can get rid of all this slow ass interpreted shit.

    2. Re:Finally by Anonymous Coward · · Score: 0

      Hm, mine corrects them to "strangle" and "cockdiddle" respectively. You must not be using Microsoft Word.

    3. Re:Finally by lokedhs · · Score: 3, Insightful
      And I think you are giving the Open Source alternate implementations of Java a little more credit than they deserver.

      The fact of the matter is that they for the most part suck. As you mention yourself, they are only now close to becoming 1.4 compatible. The problem, of course, is that 1.5 was a huge improvement over 1.4 and it came out over 3 years ago. 1.6 is in beta 2 and will be released soon.

      You can spend a lot of time discussing performance comparisons between the different VM's like SableVM, but that's not really interesting. It doesn't really matter which "free" VM you use, you still don't have a modern class library available until Sun releases theirs. That is why an open sourced version of Java is interesting for these parties.

      Personally, I think the Sun VM is fantastic, but giving the "free" alternatives the ability to use the same class library will only increase competition and that is good for everybody. Today, they are playing the catchup game, and that must be really boring, since no one that really matters actually use their product for anything important.

    4. Re:Finally by Anonymous Coward · · Score: 0

      There are several problems with your argument. First of all, nobody uses Java 1.5 in production. Most professional IT shops are just starting to roll new projects over to Websphere 6.0 which is based on J2SE 1.4 and J2EE 1.4. J2EE 1.5 is not even out the door yet, much less of any interest to people who do real work with Java. Secondly, most library developers need to support at least Java 1.3, if not Java 1.2 for compatibility reasons. Very few require even Java 1.4 and most that do lamentably can't be used in many environments because of it. Embedded applications are even more restrictive. So not supporting Java 1.5 is not nearly as much of a liability as you make it out to be.

      Third, there is no question the Sun VM is superior at the moment. But the key phrase in that sentence is "at the moment."

      Five years ago Solaris wiped the floor with Linux. Today I don't see people flocking to Solaris despite its handful of technological perks. Linux is just too damn handy. There are realtime versions, secure versions, embedded versions. All based on the same kernel, all free and open, and they all just work.

      In 5 years the difference between Sun's VM and the open JVMs will be negligible if not in the open VM's favor. If Sun waits any longer they will pass the point where they can kill off competing projects so easily. The open VMs will have been adapted to fit on tiny microcontrollers, had realtime patches applied to them, and run on more platforms than Sun's JVM could hope to. To make a relevant comparison, you can talk about how ICC optimizes this and that in such an elegant way that it's 100x faster than GCC for this specific use. But the point is everyone in the open source community uses GCC, all the projects were built up on GCC, hardly anything compiles correctly with ICC, and GCC just works. And if you've been following the open source movement the same thing is happening at Debian and RedHat. They are not targeting Sun's Java 1.5. They are targeting SableVM, GCJ, and GNU Classpath. This scares the bejeezus out of Sun.

    5. Re:Finally by lokedhs · · Score: 1
      First of all, nobody uses Java 1.5 in production.
      Nobody? Without even mentioning the projects I have had direct influence in, and were in production years ago on 1.5, I'll just present you with one link as a counter-argument: Migration to Java 5 at walmart.com.
      Most professional IT shops are just starting to roll new projects over to Websphere 6.0 which is based on J2SE 1.4 and J2EE 1.4. J2EE 1.5 is not even out the door yet, much less of any interest to people who do real work with Java.
      Java EE is not Java SE. Don't take me wrong, I'm a huge fan of Java EE and I want JEE5 to make it as soon as possible. However, you can use 1.5 with previous versions of Java EE, and even if you don't even use many of the new language features or libraries, some 3'rd party library you use may very well be.
      Third, there is no question the Sun VM is superior at the moment. But the key phrase in that sentence is "at the moment."
      I believe that was my entire point of the previous post. The Sun VM is superiour at the moment. The main reason it is is because the others have to play a catchup game that they cannot win. Sun opening the license means that the alternative implementations may get a boost, and be able to actually implement the modern versions of Java instead of being stuck in the dark ages.
      Five years ago Solaris wiped the floor with Linux. Today I don't see people flocking to Solaris despite its handful of technological perks. Linux is just too damn handy.
      Solaris still wipes the floor with Linux, but quality has never been the main reason people choose a technology. Convenience and lazyness are often much more important. I myself prefer to run Linux on a desktop even thugh all my servers run Solaris. Why? It's certainly not because Linux is a technologically better platform, it's because it's much more conventient. All the desktop hardware drivers are there and all the end user applications just work.
      There are realtime versions, secure versions, embedded versions. All based on the same kernel, all free and open, and they all just work. There is not really a huge advantage to run the same kernel everywhere. Especially not when the API's are very similar as is the case of Linux and Solaris.

      On the Java side the VM is even less important since you don't even need to recompile your binaries. The argument that, say, SableVM would take over on the server just because they have an embedded version just doesn't make any sense. There are no visible differences between two competing, certified, versions of Java. However, if SableVM manages to come out with a certificed, compatible version that wipes the floor with the Sun VM on the server, then why wouldn't people use it? However, right now they can't because they're stuck trying to catch up with Sun who are always 2 versions ahead.

      To make a relevant comparison, you can talk about how ICC optimizes this and that in such an elegant way that it's 100x faster than GCC for this specific use.
      It doesn't. It's a few percent faster. Not usually niceable unless you hit some very specific edge cases. GCC is quite decent on Intel hardware. Thies goes back to the onvenience argument I made earlier. Technological advantages are usually not the major deciding factor.
      And if you've been following the open source movement the same thing is happening at Debian and RedHat. They are not targeting Sun's Java 1.5. They are targeting SableVM, GCJ, and GNU Classpath.
      Most Java projects doesn't care one bit what the Linux distributions target. They would never deploy on anything but the Sun VM anyway.
    6. Re:Finally by Anonymous Coward · · Score: 0

      Is that why Apache has such a disinterest in an open source JVM that they started their own Project Harmony? Which within a year mostly implements J2SE 1.4 and 1.5. And they are getting block code donations from IBM and Intel.

      Ohhh RIGHT. Nobody uses Apache projects for Java. And IBM? I've never used their stuff! What do they make with Java?

      Hmm. Now what projects even work with GCJ? Eclipse. Is that like TextPad? Open Office. Is that what includes Word Perfect now? Face it. Soon GCJ will fully support SWT and Swing and open source users will have no reason to load the Sun JVM. From there it's just a performance game.

  11. Firefox : Iceweasel :: Sun Java : ??? by Gracenotes · · Score: 4, Insightful

    The dichotomy that exists between Microsoft Java (which is pretty bad) and Sun Java is, if not jarring, quite irritating. Thankfully, Sun Java is the norm. But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon. Iceweasel, anyone?

    1. Re:Firefox : Iceweasel :: Sun Java : ??? by Ajehals · · Score: 2, Insightful

      Good point,

      And wasnt that why Sun Microsystems were *not* going to Open Java? Im sure I remember reading that they wanted to maintain control of the development of the language and its implementation, although that was a long while ago.

      I wouldn't though compare this to the Debian - Firefox - Iceweasel scenario though, as Debian are not Forking Firefox, developing it independently and making it less compatible, but simply working around some (legitimate) issues that Debian have with Mozilla. (and Mozilla has a perfectly sensible stance on the issue too - Im a Debian user but I don't think you need to take sides over that particular issue - Both groups are aiming at the same goal, but with slightly different ideas of how to get there.)

    2. Re:Firefox : Iceweasel :: Sun Java : ??? by Shados · · Score: 3, Insightful

      Yeah, that would be pretty bad. This is something that has always been bothering me, but I just thought about something while reading your post.

      While not 100% true in all cases, the beauty of java isn't really in the base JVM, its in J2EE. At least, it is what pushes it in the corporate space, where the money is. With that in mind, a specific J2EE implementation usualy has a couple of "supported" JVMs (sometimes only one even). So I suspect even these alternate JVMs, at least the serious ones (which would want to work with J2EE, or else be forgotten), will stay in line (read: compatible) with the commercial J2EE implementations, or die. So while we WILL see a bunch of weirdo useless JVM/Java implementations (I realise both aren't the same thing, but the logic still stands), there should be a couple that stay at the top, and we'll just use those.

    3. Re:Firefox : Iceweasel :: Sun Java : ??? by DragonWriter · · Score: 5, Insightful
      But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon.


      So? There already are several more versions of Java. What keeps the ones that succeed largely compatible isn't licensing (as the non-Sun, non-Microsoft ones are reverse-engineered, not licensed) but the fact that there is no interest in incompatible "Java". Releasing Sun's implementation under the GPL (or the CCDL, or, heck, into the public domain) isn't going to change that.

    4. Re:Firefox : Iceweasel :: Sun Java : ??? by Samah · · Score: 1

      > The dichotomy that exists between Microsoft Java (which is pretty bad) and Sun Java is, if not jarring, quite irritating. Thankfully, Sun Java is the norm. But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon. Iceweasel, anyone?

      Jarring?
      ....
      :)

      --
      Homonyms are fun!
      You're driving your car, but they're riding their bikes there.
    5. Re:Firefox : Iceweasel :: Sun Java : ??? by kevin_conaway · · Score: 1
      The dichotomy that exists between Microsoft Java (which is pretty bad) and Sun Java is, if not jarring, quite irritating. Thankfully, Sun Java is the norm. But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon. Iceweasel, anyone?

      I see what you're doing there..

    6. Re:Firefox : Iceweasel :: Sun Java : ??? by geekoid · · Score: 1

      "Iceweasel, anyone?"
      No thanks, my pants are already full.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    7. Re:Firefox : Iceweasel :: Sun Java : ??? by TheRaven64 · · Score: 1

      Actually, the FireFox IceWeasel thing is an excellent comparison. Sun might open the Java code, but they would retain the Java trademark. If you wanted to fork Java, you couldn't call the result Java. Any Java application would work on any Java(TM) VM, but it might not work on a KenyanPeaberry VM.

      --
      I am TheRaven on Soylent News
    8. Re:Firefox : Iceweasel :: Sun Java : ??? by adrianmonk · · Score: 1
      But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon. Iceweasel, anyone?

      This is why open computing is not based only on the available of open source. Another key element of open computing is open standards. Java has open standards; you can go download the Java Language Specification and check if any given implementation conforms to it or not. You can also go download the Java Virtual Machine Specification and see if some compiler is producing correct bytecode or if some JVM is running the bytecode correctly.

      Yes, it's possible someone may fork an implementation of one or the other (the compiler or the JVM) and make incompatible changes. That would be fairly silly, but that doesn't mean it won't happen. One expects that Sun will allow them to have the source code but will not grant them the right to say it is a conforming implementation of Java if it's not. I assume that is what you're getting at with the comparison to Iceweasel.

      The thing is, this has always been possible. There are open source Java compilers and open source JVMs as well. The thing Sun is doing is making it easier, because they are (apparently) open sourcing their JVM, which creates more opportunity and more interest in doing something with that particular implementation.

    9. Re:Firefox : Iceweasel :: Sun Java : ??? by VGPowerlord · · Score: 1

      In case you forgot, Sun sued Microsoft to stop them from diverging (further) from the standard.

      The end result was Microsoft creating .NET to compete with Java.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    10. Re:Firefox : Iceweasel :: Sun Java : ??? by VGPowerlord · · Score: 1

      It's funny that you should say that. From what I heard, EJB3 (part of J2EE 5) uses annotations extensively. Annotations are a core J2SE 5 feature.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    11. Re:Firefox : Iceweasel :: Sun Java : ??? by Anonymous Coward · · Score: 0

      Yes, the war of different terms really jars the ear.

      bleh, that probably wasn't worth typing.

    12. Re:Firefox : Iceweasel :: Sun Java : ??? by Ferzelic · · Score: 1
      But if Sun Java is released under the GPL, I expect to see several more versions of Java, most of them incompatible with each other, coming out soon.

      You mean, as opposed to the situation we have now, where the non-Sun implementations are 100% fully compatible across the board?
      (Kaffe, Classpath, GCJ, Japhar etc)
      One reason none of them use 'Java' in their name is because they have not demonstrated full compatibility.

      The situation will be no worse than it is today. With an open source Java, other implementations can take the Sun source, and either maintain full compatibility & pass the test suite to use the Java trademark, or break with compatibility and work under a different name. As it stands today, 3rd parties need to implement the spec from scratch -- and either pass the test suite to use the Java trademark, or break with compatibility and work under a different name. (As no totally independent code has at this stage fully passed all tests, there are no 3rd party 'Java' implementations; only software that is mostly Java-compatible.)

      By working from an independent code base, incompatibilities are actually far more likely across implementations, than if there is a common core of source they can share.

      Iceweasel, anyone?

      Yes -- exactly like IceWeasel. If you make changes to the codebase that are not approved by the trademark controlling body, you will have to use a different name. The brand is used as an indicator of compatibility.
      This is actually kind of opposite to what you fear though; Firefox and IceWeasel will remain very much compatible, despite having different names.
      What would be bad is if radically altered products were allowed to share the same name... that's where the worst problems would occur.

  12. Been there, done that... by Anonymous Coward · · Score: 2, Informative

    Blackdown provides a 64-bit plugin. It has even more stablity problems with almost no human noticable performance benefits. There are some advantages to using a 64-bit JRE such as SSL/TLS in Tomcat (and other servers side applications) but for 99% of client side webapps that just does not seem to be the case. Also, using a 64-bit browser also means no Adobe/Macromedia Flash Player plugin for you! I know some YouTube junkies that "need" Flash more than they need Java.

  13. umm yeah ... who cares by darkchubs · · Score: 2, Insightful

    the terms of Suns open initiate are so strict that Im not really all that excited.. you see how great it was for openSolaris.. it was a touted as a Linux killer??? well , in short .. nothing is gong to change..

    1. Re:umm yeah ... who cares by petermgreen · · Score: 2, Informative

      there is a big difference

      solaris was never a big player on anything other than (expensive) sun hardware and even there linux was creeping in.

      sun java is the primary implementation of java. That is it is what everyone writes there code to work with and what you expect to find if you purchase java hosting.

      as to the license terms iirc the CDDL is a mozilla like license, incompatible with the GPL (but then so is nearly every copyleft license other than the GPL itself). Opensourcing the real thing will remove most of the motivation to develop clones (afaict the main motivation for developing the clones has been to get java into linux distros etc).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    2. Re:umm yeah ... who cares by TheRaven64 · · Score: 2, Insightful

      The CDDL, under which OpenSolaris is licensed, is approved by the OSI, and the FSF calls it a Free Software license. The 'restrictions' are things like patent defence clauses. Will OpenSolaris kill Linux? I don't know, but for a new installation I would definitely chose it; there are a number of features where OpenSolaris wins over Linux (ZFS by itself would be a major winner), which are not likely to be ported to Linux since the CDDL is not GPL compatible.

      --
      I am TheRaven on Soylent News
    3. Re:umm yeah ... who cares by McBofh · · Score: 1

      Solaris and OpenSolaris were never meant to be "linux killers" - that's something people who don't understand enterprises fail to realise. Enterprises don't want single-source IT suppliers, they want multiple sources. That's *exactly* why the mob I'm working for right now has HPUX and Solaris and MS-Windows.

      And anyway, there's much more to be gained for all of us if linux and (Open)Solaris use each other as sources of inspiration. Ever heard the term "co-opetition" ? That's what the industry needs. Monopolies are almost always bad for customers, and Sun fully realises that.

  14. Re:Java Q by ettlz · · Score: 1, Funny
    load times of an app are Tight, like cunt of nun?

    Whoa, whoa, whoa, back up — just how the fuck do you know that?!

    You the Vatican's official gynaecologist or something?

  15. And HW accelerator licencing ...? ARM, AVR32, etc by Big+Jojo · · Score: 5, Informative

    Still wondering if this means they'll be opening up specs on how the ARM Java acceleration works ... it would be nice to have some of those free JVMs able to use that to speed up their bytecode interpretation.

    For those of you who don't know about this, most modern ARM CPUs -- like the ARM-926ejs as found in the Nokia 770 and many cell phones -- include three processor modes: (1) pure 32bit ARM instructions, (2) a 16-bit compressed version of ARM instructions called "Thumb", widely used in microcontrollers, (3) an 8-bit Java bytecode interpreter. The first two have public documentation. But ARM won't give docs to the last out, because Sun won't let them do that; you need a separate licence from Sun to get those documents. So it's fully within Sun's power to open up some widely available Linux-savvy hardware to run Java a lot better ...

    There's another CPU that's in the same kind of boat, the new AVR32 from Atmel. You may have noticed that Linux 2.6.19-rc includes initial support for that architecture. AVR32 CPUs have analogues of (1) and (3) above ... but again, Atmel won't give docs to the Java acceleration out, because Sun won't let them do that. (And for background info: yes AVR32 is very new, likely its audience today is almost all developers, only one model of chip available so far.)

    So how about it, Sun ... are you really going to open Java up??

  16. Think outside the box by Asztal_ · · Score: 5, Funny

    We need slower slugs.

    1. Re:Think outside the box by oldwarrior · · Score: 0

      We have to replace these outdated notions of performance. Slower slugs are actually BETTER for our users. See Ruby on Rails for details.

      --
      If it were done when 'tis done, then t'were well it were done quickly... MacBeth
  17. Microsoft Java is pretty bad... but Sun's blows by Anonymous Coward · · Score: 1

    The Sun Java virtual machines jumped the shark the same month they won the lawsuit against Microsoft.
    Their latest versions are bloated, phoning-home pieces of crap that suck ass almost as bad as RealPlayer...
    and, like RealPlayer, in-the-know independent system builders go to OldVersion.com to obtain a replacement.

    We build or rebuild several systems a month with Microsoft's VM and no Sun VM. The machines run better, and have no problem handling the vast majority of java applets.

    If you're writing code that demands a specific brand or version of Java virtual machine, perhaps you should learn to write better code instead.

  18. I'll believe it when I see it. by Ungrounded+Lightning · · Score: 1, Insightful

    Sun has a multi-decade track record of talking about opening things, but not really doing it.

    I'll belive this is really "open" when (if) I see it and it's really open.

    And if so it will be a first for Sun.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:I'll believe it when I see it. by Anonymous Coward · · Score: 0

      Would this include OpenSolaris and OpenOffice?

      Which decade are you referring to?

    2. Re:I'll believe it when I see it. by TheRaven64 · · Score: 2, Informative

      You're so right! They never open sourced NFS. They never open sourced OpenOffice after buying it from Star Division. They certainly never opened any of Solaris or J2ME.

      --
      I am TheRaven on Soylent News
    3. Re:I'll believe it when I see it. by kaffiene · · Score: 2, Informative

      Fucking moron. Sun have OS'd more software than anyone else I can think of.

      OpenOffice,
      OpenSolaris,
      NFS,
      Netbeans,
      GlassFish
      etc etc

      Sun also contributes to Gnome, X.org, PostGreSQL, Mozilla and many other projects.

      Get a fucking clue and stop spreading the same old FUD.

    4. Re:I'll believe it when I see it. by Ungrounded+Lightning · · Score: 1

      Would this include OpenSolaris and OpenOffice?

      I stand corrected.

      You're right: At the very least about OpenOffice,
      and I should have remembered that they DID release
      the code (even though they kept the "Star" version,
      which my employer runs on many of its machines,
      proprietary.)

      The first time they "opened" Solaris they didn't
      really - one of those non-free licenses - and I
      threw in the towel on paying attention to them
      when I migrated from last personal Sun instalation
      to Linux.

      Which decade are you referring to?

      '80s and '90s. The above-mentioned migration was near
      the end of 1999. (No point in dealing with the Y2K bug
      on more than one platform.)

      I'll be happy if Sun is truly opening things,
      and sincerely apologize if I have wronged them.

      But for me it's too little too late. I spent too many
      years crippled by their closed / semi-opened software
      and hardware to go back. Linux and BSD each suit my
      needs and both are truly open (in slightly different ways).

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  19. Microsoft Java VM by Veilrap · · Score: 1

    Ummm, didn't Sun sue Microsoft because they wanted to keep full control over java? Now that their opening it up doesn't this give microsoft the right to produce/release their own virtual machine again?

    1. Re:Microsoft Java VM by DragonWriter · · Score: 1
      Ummm, didn't Sun sue Microsoft because they wanted to keep full control over java?
      No, Sun sued Microsoft because Microsoft was violating the terms of their licensing agreement with Sun. (Now, Sun might have drafted the terms of that licensing agreement because, at the time, it wanted to maintain full control of Java, but that's a different question altogether.)
    2. Re:Microsoft Java VM by Wesley+Felter · · Score: 1

      Microsoft already created their own pseudo-Java (.NET), so now there's nothing worse they could do to Java. Likewise, there are already N different incompatible open source JVMs, so that situation can't get any worse either. Having nothing to lose, Sun can now give up some control.

    3. Re:Microsoft Java VM by TheNetAvenger · · Score: 1

      Microsoft already created their own pseudo-Java (.NET), so now there's nothing worse they could do to Java. Likewise, there are already N different incompatible open source JVMs, so that situation can't get any worse either. Having nothing to lose, Sun can now give up some control.

      1) .NET is a far distance from JAVA, at least .NET can pull credible performance out of its engine.

      2) The original post is quite right, SUN (even though it was a license dispute) argued specifically against JAVA being NOT under their control or have ANYTHING added to it that they didn't want. Opening of JAVA would do exactly what they argued was bad about MS's JAVA implementations.

      3) You are correct, MS is no longer an issue, but on the same front, JAVA is no longer an issue as well. JAVA development is at an all time low in the industry for serious development where you see .NET used on everything from Web Servers to even even performance areas like DirectX9 - again something JAVA just can't reach. And now you have the graphic and communication libraries of Vista added to .NET making it 3.0, allowing for easily coded 3D application interfaces, new communication concepts and even possible wider cross platform support with WPF/E.

    4. Re:Microsoft Java VM by freedom_india · · Score: 1
      1) .NET is a far distance from JAVA, at least .NET can pull credible performance out of its engine.

      Exxcuusseee me??? Since when did .Net performance in Enterprise Computing exceed that of Java?

      Have you worked for an enterprise (like Bank Am, Capital One), where millions of transactions happen every day? Have you ever tried out servers like WAS 5.1.2, or WLI 8.1 SP3?

      To put it mildly, Java beats the socks and b*lls off .net in enterprise computing which involves making your server running with 5 nine's reliability. I doubt whether .net would meet 3 nine's satisfactorily without screwing up somewhere

      Yes, i agree their VM stuff is very easy to code for. But deployment in production? MSFT has a loooong way to go.

      --
      "Doing what i can, with what i have." ~ Burt Gummer
    5. Re:Microsoft Java VM by feijai · · Score: 1
      .NET is a far distance from JAVA, at least .NET can pull credible performance out of its engine.
      Care to back up that ridiculous implication (that .NET is much more efficient than Java) with even a modicum of evidence?
      3) You are correct, MS is no longer an issue, but on the same front, JAVA is no longer an issue as well. JAVA development is at an all time low in the industry for serious development where you see .NET used on everything from Web Servers to even even performance areas like DirectX9 - again something JAVA just can't reach.
      Oh, man, that was funny. Thanks, I needed some humor today.

      Oh, wait this was serious? I guess I should expect as much from someone who thinks "JAVA" is an acronym.

    6. Re:Microsoft Java VM by TheNetAvenger · · Score: 1

      Care to back up that ridiculous implication (that .NET is much more efficient than Java) with even a modicum of evidence?

      How about DirectX 9.0 uses .NET in places, and it is a PERFORMANCE graphics library? Port part of OpenGL to JAVA and see how well that works for you...

      I guess I should expect as much from someone who thinks "JAVA" is an acronym.

      Almost as funny as someone that thinks it is a viable development enviroment. Stick with the drink, it at least moves faster than molasses...

    7. Re:Microsoft Java VM by TheNetAvenger · · Score: 1

      To put it mildly, Java beats the socks and b*lls off .net in enterprise computing which involves making your server running with 5 nine's reliability. I doubt whether .net would meet 3 nine's satisfactorily without screwing up somewhere

      Deployments in this scale are more common than you seem to realize. Just because you may not be working in environments with large scale MS .NET, don't assume they don't exist and don't assume that just because the solutions you are being fed based on Java are the best for reliability or performance.

      You are trying to paint a pretty picture of Java, which is fine, but the context isn't working in this example.

      We could spend 100 pages of posts on just the 'necessary' integration software for the Java examples you cite. These are tools to not only integrate messes, but also work around massive flaws.

      Java works in the deployments you are referencing because of the legacy integration that is necessary, not because it is the MOST reliable.

      I can give you examples of companies still dragging COBOL along, but this doesn't mean it is reliable, fast, nor even the enterprised model, it is still used because it is based on data systems 25 years old.

    8. Re:Microsoft Java VM by feijai · · Score: 1
      How about DirectX 9.0 uses .NET in places, and it is a PERFORMANCE graphics library? Port part of OpenGL to JAVA and see how well that works for you...
      You mean like jogl? Seriously, do you know anything about this language?
    9. Re:Microsoft Java VM by TheNetAvenger · · Score: 1

      You mean like jogl? Seriously, do you know anything about this language?

      Wow a Java API interface for OpenGL. There is a difference between APIs for Java to use OpenGL and actually writing OpenGL in Java.

      Do you even know what you are talking about? Guess not...

      In reference to your link:
      JOGL provides full access to the APIs in the OpenGL 2.0 specification as well as nearly all vendor extensions, and integrates with the AWT and Swing widget sets.

      This is NOT OpenGL being written in Java.

    10. Re:Microsoft Java VM by feijai · · Score: 1

      Mmmm. And you've fallen for the notion that Microsoft is actually writing DirectX's core APIs *in* .NET, have you? Bull Honky. .NET is getting an API to DirectX and certain high-level, non-performance-related elements of DirectX may be written in .NET libraries for .NET programs only. There is no relevant difference between this and jogl. You're a twit, and I'm done with you. Go read a book on computer science.

    11. Re:Microsoft Java VM by TheNetAvenger · · Score: 1

      Mmmm. And you've fallen for the notion that Microsoft is actually writing DirectX's core APIs *in* .NET, have you? Bull Honky. .NET is getting an API to DirectX and certain high-level, non-performance-related elements of DirectX may be written in .NET libraries for .NET programs only. There is no relevant difference between this and jogl. You're a twit, and I'm done with you. Go read a book on computer science.


      Wow, write a few lines and all the crazy people come out to play.

      Direct9.0c moved portions of the code base into managed .NET code. Go do a bit of research on this before you just declare yourself God and strike down anything you don't understand.

  20. CDDL? I don't think so... by hacker · · Score: 0, Troll

    Open has very different terms, and CDDL is not one of them, period. I'm not saying it has to be GPL or BSD licensed, but CDDL is simply an unworkable license, since it is incompatible with the majority of Open Source licenses out there.

    Opening Java might sound all well and good, but not if you can't do anything at all with it, without violating the license terms.

    Thanks, but no.

    1. Re:CDDL? I don't think so... by Alphager · · Score: 1

      I'm a FSF-fan and think the GPL is the way to go, but the CDDL is an OSI approved license. You _can_ modify the code and distribute it. You _can_ do all sorts of stuff with it.

    2. Re:CDDL? I don't think so... by Anonymous Coward · · Score: 0

      Sorry, having read all the licenses, you're quite wrong - the GPL is incompatible with CDDL, it's Stallman's restrictions that prevent intermingling. The CDDL is perfectly supportive of any other file (in that the license is non-viral). CDDL is compatible with all other OSI approved licenses (and is, as well, OSI approved). You should read and understand the licenses before you go spewing ignorance, Floyd.

    3. Re:CDDL? I don't think so... by TheRaven64 · · Score: 2, Informative
      Open has very different terms, and CDDL is not one of them, period.

      Interesting. The Open Source Initiative disagree with you, and the Free Software Foundation describe it as a GPL-Incompatible, Free Software License. Sounds pretty open to me. Oh, and I actually have read the license; I suggest you do to.

      --
      I am TheRaven on Soylent News
    4. Re:CDDL? I don't think so... by hacker · · Score: 1

      You might want to read some more before you make a blanket generalization like this.

      This earlier Slashdot thread also has lots of accurate commentary and links as well. I suggest reading those also.

      In short, the CDDL is great, as long as you don't want to:
      a.) Incorporate it with anything covered by the GPL or the LGPL (so most of Linux is out),
      b.) Distribute it to the public
      c.) Sell anything built with CDDL code commercially

      Doesn't sound very useful to me (and several thousand other developers who agree with me), and in fact, with OSI's discussions of changes to the model, they may end up deprecating the CDDL anyway.

      The OSI has explicitly stated that one of its new policy goals "will be to promote unrestricted reusability of code." The CDDL is incompatible with that strategy. (More on that over here).

  21. Nun cunt. by Anonymous Coward · · Score: 0

    Now that you mention it, that sounds hot as hell. Maybe I'll go nail me one...

  22. Re:And HW accelerator licencing ...? ARM, AVR32, e by audi100quattro · · Score: 1

    Let's not forget that the Java on cellphones, J2ME, is a small subset of J2SE or J2EE. The interpreter may not speed up too much J2SE code. J2ME API's (maybe VM?) seem to be open source already based on a quick google search: http://www.sun.com/software/communitysource/j2me/ atleast the MIDP/CLDC/CDC parts.

    It would be interesting to know exactly how the chipmakers went about implementing the interpreters in hardware and/or firmware.

  23. How is this ever going to end? by Anonymous Coward · · Score: 0

    Is this going to end up like Al Capone's vault on Geraldo?

  24. So in other words by Silent+sound · · Score: 2, Funny

    So in other words, they're not open sourcing Java.

    1. Re:So in other words by jonwil · · Score: 3, Informative

      Acording to http://www.opensource.org/licenses/ the SUN CDDL (which is what they used for OpenSolaris) is an open source license. It is not a Free Software licence and is incompatible with the GNU GPL but it is still an open source license.

    2. Re:So in other words by Anonymous Coward · · Score: 4, Informative

      Actually, the CDDL is a Free Software license, albeit a GPL-incompatible one, according to the FSF. See http://www.fsf.org/licensing/licenses/index_html.

    3. Re:So in other words by hritcu · · Score: 1

      Apache 2.0 and many other perfectly valid free software licenses are GPL incompatible. Maybe things will change with GPL v3.

      --
      If you don't fail at least 90 percent of the time, you're not aiming high enough. (Alan Kay)
    4. Re:So in other words by ajs318 · · Score: 1

      What exactly is the difference between Open Source and Free Software? I mean, apart from the Free Software movement being a bunch of smelly communist carrot-munching hippies looking for ideological purity and the Open Source movement being a bunch of tight-fisted grasping breadheads looking for a free ride on the hard work of others.

      Is it possible to have Free Software that isn't also Open Source? Is it possible to have Open Source software that isn't also Free software? Or is the distinction between the labels more to do with what each camp thinks of the other camp? Is the in-fighting reaching the point where it becomes counter-productive?

      --
      Je fume. Tu fumes. Nous fûmes!
    5. Re:So in other words by Anonymous Coward · · Score: 0
      Mmm, yummy trollicious bait.

      Answers to your "questions" here: http://www.gnu.org/philosophy/free-sw.html

    6. Re:So in other words by ajs318 · · Score: 1

      That really doesn't explain much; only that there are two different definitions (Richard Stallman's Four Freedoms, and Bruce Perens' guidelines).

      Have you an example of a licence which meets one definition but not the other?

      --
      Je fume. Tu fumes. Nous fûmes!
    7. Re:So in other words by squiggleslash · · Score: 1

      A somewhat controvertial example might be the original versions of the APSL (Apple Public Source License) under which early versions of open-source Darwin were released.

      The FSF considered it non-free for a variety of reasons, not least Apple's ability to revoke it at any time. It was heralded as "Open Source" by ESR, then head of the Open Source Initiative. Of course, many people argued it wasn't, and it was part of the reason for the schism which ended up with Bruce Perens quitting the OSI, IIRC.

      --
      You are not alone. This is not normal. None of this is normal.
    8. Re:So in other words by thephotoman · · Score: 1

      Open Source and Free Software aren't entirely the same thing.

      For example: Java is Open Source, in that it is produced from a public collaboration, but is not Free Software, as I'm not allowed to make changes and/or redistribute the source myself. Another example would be anything released under the Apple Public Source License v.1.0. Version 2 of that license is both Open Source and Free Software.

      On the other side of the coin, GNU Ada was formerly developed under a model much like most proprietary software, but at the same time, nobody beyond the GNU project's blessed people had access to the CVS/Arch/whatever archives, nor was it particularly easy for third parties to submit patches back to the project.

      --
      Haec merda tauri est. Ceterum censeo Carthaginem esse delendam.
  25. Re:And HW accelerator licencing ...? ARM, AVR32, e by Anonymous Coward · · Score: 0

    an 8-bit Java bytecode interpreter... But ARM won't give docs to the last out, because Sun won't let them do that

    http://www.arm.com/products/esd/jazelle_architectu re.html

    Put the processor in "Java bytecode" state, and it executes 8-bit Java bytecode directly. It's a third instruction set for the core, in addition to the ARM and Thumb instruction sets.

    ARM doesn't document the Java bytecode. They refer you to Sun, which seems appropriate since that spec is proprietary to Sun.

    Pick a processor core with "J" for "Jazelle" in the name, and read the Architecture Reference Manual.

    "You can switch the operating state of the ARM7EJ-S core between:
            - { Thumb mode deleted }
            - ARM state and Jazelle state using the BXJ instruction"

    http://www.arm.com/pdfs/DDI0214B_7ejs_r1_trm.pdf

    "BXJ" stands for Branch and Exchange to Jazelle. It works like the other ARM branch instructions. If you have some bytecode at address X, then load X into r0 and "bxj r0". The processor starts executing the bytecode at that address.

    What else do you need to know?

    (Yes, the manual does go on to discuss exceptions that take you back out of Jazelle mode, what happens when the processor hits emulated/extended byte codes, and so on. You want to implement JIT to native ARM code, you can do that, too -- but that's your software problem.)

    No big conspiracies here, it seems. Took me three searches on the ARM web site to find the info.

  26. In other news... by Schraegstrichpunkt · · Score: 1

    ... the new Amiga is just around the corner!

    I'll believe it when it happens.

    1. Re:In other news... by HishamMuhammad · · Score: 1

      Crap, Amiga has been gone for so long people don't even relate to these jokes anymore to mod them funny....

  27. It's essential that Java not fragment by presidenteloco · · Score: 2, Insightful

    A wise zen monk went into a fast-food joint and said "Make me one with everything."

    An even wiser zen monk didn't go into a fast-food joint, and said
    "Make me one OF everything."

    One standard version of core Java things like the language definition, bytecode definition,
    and the annointed standard libraries is absolutely ESSENTIAL to Java's continued success.

    Because "one of everything" means that a java app and library code-sharing culture and a
    shared and reusable expertise can flourish. Fragmentation of the core standards will lead
    to disintegration of the core value proposition of Java.

    I hope that this issue can be dealt with as Java is opened.

    Perhaps by trademark protection means? Break (fork) the standard if you want, but if you do
    you can't call it Java.

    Or perhaps just by a consensus-agreed committee approval structure like the java community
    process.

    Can you imagine if everyone were free to fork the XML standard and still call it XML.
    Sheer pointless chaos.

    Java forked in its core standards and libraries is the same.

    --

    Where are we going and why are we in a handbasket?
    1. Re:It's essential that Java not fragment by shish · · Score: 1

      Java is *already* fragmented (AFAIK; Sun, MS, IBM, GNU, Apache, and a couple of others all have their own implementations; then there are java subset forks like sable and jikes) -- several of these were created precisely because java was proprietary. AFAICS, having it be truly open sourced should stop any more implementations being needed, and maybe it could get some of the existing open source versions to merge all their best bits into one~

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    2. Re:It's essential that Java not fragment by jonaskoelker · · Score: 1

      > Can you imagine if everyone were free to fork the XML standard and still call it XML.
      > Sheer pointless chaos.

      Even worse, what if people were free to fork javascript? Or HTML? :)

  28. I don't like it, but hope for a GCJ killer by Anonymous Coward · · Score: 1, Interesting

    The problem with open source today as I see it is seperation. Many people share many different ideas and believes and if there isn't an entity which can lead it all into good paths you're in for chaos. Sometimes this doesn't have to be bad perse but it can be annoying.

    As you can see today with many package maintainers who's only link with the software they're maintaining is that they like it. Only 2 weeks ago did I try to utilize FreeBSD and its ports. I already installed MySQL 4.x and then wanted dspam. No go.. It demanded I used MySQL 5.x. A perfect example IMO, the package maintainer asks...

    And that is why I don't like the idea of Java going open source. Still, despite all that I truly hope it might turn out to be a GCJ killer. Why? If there is one thing turning off Linux people from Java it has got to be gcj.. How frustrating can it be when you're trying example code and only come to the conclusion that it simply doesn't work? You typed everything as it should, you studied the code yourself but yet it does. not. work. Well, enter gcj hell. If you're going over the Java tutorials you'll be sure to run into some beginner examples which will not run when using gcj.

    In fact, many of the usenet and irc groups I'm on start asking people if they're using gcj when experiencing problems on Linux. If so then the advice is: ditch that POS and get the JVM from Sun. Strangely enough this fixes the problem in most of the cases. So yes, I don't like the idea of Java going open source but I'd be very pleased if this stopped the gcj idiocy and got distributions to ship with the official and working Java Virtual Machine. The one from Sun ofcourse...

  29. IBM Trolls by javacowboy · · Score: 5, Interesting

    I can't believe how many IBM trolls are in this thread (and Slashdot as a whole) decrying Sun's lack of a track record in open sourcing their stuff.

    Have they ever heard of NFS? OpenOffice? OpenSolaris?

    Is there something wrong with the CDDL that's not wrong with the Mozilla license? From what I understand, the CDDL is similar to the Mozilla license but simpler. I invite every single one of those armchair critics to stop using Firefox if they're so adamant.

    Unlike IBM (with the exception of Eclipse), Sun actually *open sources* stuff. I invite those IBM trolls to push their corporate master to open source WebSphere, DB2, Rational Rose, or Lotus Notes.

    --
    This space left intentionally blank.
    1. Re:IBM Trolls by EvanED · · Score: 3, Insightful

      Is there something wrong with the CDDL that's not wrong with the Mozilla license? From what I understand, the CDDL is similar to the Mozilla license but simpler. I invite every single one of those armchair critics to stop using Firefox if they're so adamant

      In all fairness, FF is dual-licensed under the GPL.

    2. Re:IBM Trolls by Vulcann · · Score: 1

      In all fairness, FF is dual-licensed under the GPL.

      Would it have made any difference to uptake if it wasn't ?

      I would have to agree with the original poster on this. IBM has a habit of badmouthing everything about Sun while not doing a shitworth of anything unless it directly benefits itself. Open sourcing Eclipse was a good move but it is TINY compared to open sourcing Solaris 10 for instance. Most of the patents they release to "the community" are much less philanthropic measures - they are just aimed to make them look warm and fuzzy, and "open". Many of those patents probably don't make a whit of a difference to the free software community either way.

      Even after OpenSolaris came out, IBM and RedHat jeered it for not being "open". WTF! Lets see them open source AIX .. then we'll talk.

    3. Re:IBM Trolls by EvanED · · Score: 1

      Would it have made any difference to uptake if it wasn't ?

      I dunno. Not directly anyway. Maybe if it affected the quality not being able to link in GPL code, or encouraging developers... but I think that only the very tinyiest minority of users would distinguish not only between Free/nonFree, but GPL compatible and not.

      Anyway, I don't know enough to make any comment on the original post's main thrust, but saying that "if you're so stuck on having GPL compliance than stop using Firefox because it's not released ONLY under the GPL" is just silly.

    4. Re:IBM Trolls by hritcu · · Score: 1

      You are right about IBM trolling here. However, IBM is a well known financial supporter of the Apache foundation and was the first big player pushing Linux. Let's not undermine their contribution to free software/open source.

      --
      If you don't fail at least 90 percent of the time, you're not aiming high enough. (Alan Kay)
    5. Re:IBM Trolls by GigsVT · · Score: 1

      Would it have made any difference to uptake if it wasn't ?

      Yes, I believe so. I know I was using Opera, and primarily switched to Firefox due to license. Of course most end users won't care, but one early user like me plants the seeds for many other users. One example is that our company web site is only tested in Firefox now, and validated by the w3c. If anyone has a problem with it, I make them download Firefox.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  30. Isn't the garbage collector supposed to minimize. by clayasaurus · · Score: 1

    Isn't the garbage collector supposed to minimize memory leaks? At least C++ has an excuse.

  31. Holy Smokes! by Anonymous Coward · · Score: 0

    "Or Java that utilizes the 64 bit arch as well as take advantage of dual core processing and hyperthreading."

    That would be AWESOME! It might actually be as fast as 32-bit single threaded C!

  32. I gotta say I was expecting this by adamkennedy · · Score: 1

    About 2 months ago, a Sun programmer dropped into #perl to ask some questions.

    They were cleaning up some bitrot for a program that had only been used once before.

    The program was written to check the OpenOffice source code for intellectual property owned by other companies, so that they could release it cleanly.

    The program written for OpenOffice had been pulled out of the archives and was being overhauled for the purpose of checking the source code for Java for similar intellectual property issues, so they could release it cleanly.

    So yep, it's almost certainly going to happen. They are certainly doing the work internally to make it happen.

  33. Re:Isn't the garbage collector supposed to minimiz by lnjasdpppun · · Score: 1

    Minimize, yes. Eliminate totally, no.

    It's still easy to have memory 'leaks' in a language with a GC.

  34. Extensive libraries by tepples · · Score: 1
    you can go download the Java Language Specification and check if any given implementation conforms to it or not. You can also go download the Java Virtual Machine Specification and see if some compiler is producing correct bytecode or if some JVM is running the bytecode correctly.

    But how big is the Java Library Specification? How can one be sure that an implementation of all of java.* and javax.* is 1. possible within human life span and 2. correct?

  35. The libraries are horrid. by Anonymous Coward · · Score: 0

    The Java standard libraries are rather horrid.

    What we often find is that they fuck up royally the first time they attempt to add some functionality. Soon enough the very obvious problems with their implementation are seen, and then they're forced to try again.

    This happened with collection classes. First there were classes like Vector and Hashtable. Soon enough, they ended up being replaced by ArrayList, LinkedList, HashMap, and a host of other classes and interfaces that make up the Java Collections Framework. But the new JCF classes aren't threadsafe, which often causes problems. There are remedies, but they often make things even worse.

    Of course, then there was the AWT to Swing transition. Both are horrible. AWT is lacking in many respects, and was not suitable for serious cross-platform applications. Swing, on the other hand, has absolutely terrible performance. What should have been done was a mixed native/virtual widget technique, as done by IBM's SWT.

    There are other examples. But the bottom line is that the Java libraries have become a real pile of shit. You have deprecated junk that's in there for backwards compatibility. You have multiple poorly-designed classes for doing the same thing. It's just a shitty situation.

    What needs to happen is a start from scratch. Java needs a class library that's sensible in all respects. It needs a performant, threadsafe collections library. It needs a GUI framework to replace Swing. The IO classes could use a good reworking, even beyond the java.nio.* classes. In short, Sun needs to throw away what they've come up with so far, and start from scratch. Except this time, they should do it properly. At this point, they do have two or three fuck-ups for each area they can learn from.

    1. Re:The libraries are horrid. by tkinnun0 · · Score: 0
      It needs a performant, threadsafe collections library.

      public void processOneItem() {
      if(collection.size() > 0) {
      Object item = collection.elementAt(0);
      collection.removeElementAt(0);
      processItem(item);
      }
      }

      How is a threadsafe collection going to help code such as this?
  36. Apache Harmony - Open Source Java SE by otisg · · Score: 1

    I am surprised nobody mentioned Apache Harmony - http://incubator.apache.org/harmony/ - that's an open-source Java SE implementation.

    --
    Simpy
  37. Re:And HW accelerator licencing ...? ARM, AVR32... by Big+Jojo · · Score: 1
    Let's not forget that the Java on cellphones, J2ME, is a small subset of J2SE or J2EE. The interpreter may not speed up too much J2SE code. J2ME API's (maybe VM?) seem to be open source already ...

    My question isn't about J2ME or any blob of Sun code though. It's about actually having an open technical ecosystem. That said:

    • subset ... no matter. Once you have the virtual machine, it's up to you what class libraries you put into it. Hardly anyone cares about the minimal subset of J2ME, except that it allows the Java(tm) brand without forcing all the J2SE/J2EE bloatware and legacy design crappola. Remember, those oldest Java APIs were written by people who really did not understand multithreading, efficient OO, or often even that much about Java.
    • speed ... well now that's exactly the reason to want access to the hardware interpreter that's already present. That, and expecting the bytecodes to be a relatively efficient (and, one hopes, portable) program representation. That wireless handheld doesn't have gobs of memory or CPU to burn; the priority is long life out of a small battery. Efficiency is usually more important then speed.
    • open source APIs ... don't care. Last I heard, programming interfaces (APIs) could not be copyrighted. Implementations could be, sure ... but having seen a lot of Sun's code, I certainly prefer the option of using something that doesn't target a 1 GHz machine with 1 GByte of RAM and 1 GPixel display ... since each of those numbers is around four to eight times too big for even a high end embedded handheld platform.

    Remember that "run everywhere" mantra about Java? It would work a lot better if the runtime footprint of the JVM were bearable. For embedded systems, J2SE (and J2EE) are all but completely out of the picture. If the JVM core were all in the hardware, the rest of the system could be quite reasonably small ...

    It would be interesting to know exactly how the chipmakers went about implementing the interpreters in hardware and/or firmware.

    Hardware, not firmware. Some documentation talks about "bytecode accelerator", other docs are more explicit: there's a significant subset of the Java bytecodes that are directly executed by the hardware, just like "native" instructions. There's a CPU mode bit that says it's executing those bytecodes rather than the native instructions, and various types of context switches (irq, syscall, escape to native code, implement "complex" instructions in native code, etc.) will save restore that bit as well as other context in the Java thread.

    So what's needed is to know what instructions are directly interpreted, how to perform the context switches, and similar stuff. Routine systems programming information, which Sun would stop locking down if it actually cared about an open programming ecosystem.

  38. Nothing better to find in your stocking.... by CyborgWarrior · · Score: 3, Funny

    Than an open jar of java beans.

    Thank you, thank you, I'll be here all night!

    --
    If you can't say something nice, make sure you have something heavy to throw.
  39. Re:IBM (non)Trolls by Big+Jojo · · Score: 1

    You don't need to be from IBM to be extremely skeptical about Sun's record of open sourcing Java. They have repeatedly promised to do that, and never done it. It's been many years now ...

    Do you maybe recall the whole bit about pushing Java through ECMA? The reason that fell down is that ECMA required real openness, and Sun was unwilling to let the reins loose enough to achieve that. So they created their own quasi-open "Community Process", which they control to a degree that is completely incompatible with truly open standards. There are in fact checklists that must be followed to get an ISO standard mark, and many of the bullet items were things that Sun just refused to do.

    People that are (still) pissed off at Sun about this are widespread in the industry, and are not just from IBM.

  40. Okay, please run the stock up. by Usagi_yo · · Score: 1

    Okay, now that Sun is releasing the source to Java for free, they are sure to make millions giving it away. Please run the stock up so I can cash out.

  41. Yes Johny, by mano_k · · Score: 1

    there is a Samta Claus!

    1. Re:Yes Johny, by mano_k · · Score: 1

      Note to self: Don't post after sleeples night.
      Yes, I should have use the fscking Preview Button.

  42. Ok! by crhylove · · Score: 1

    Now Wake me up when Java stops sucking!

    --
    I hold very few opinions. I hold information based on observation and fact. If you wish to disagree, please use facts.
    1. Re:Ok! by Anonymous Coward · · Score: 0

      Wake up honey... it's time to rinse the sperm from your mouth and pick my pubes from your teeth. Ahhh good. Now bend over like a good little bitch monkey like your daddy taught ya. MMMMmmm nice. Doesn't it feel *good* to have found your lot it life?

  43. Advantage? by Anonymous Coward · · Score: 0

    Who is this going to be an advantage for?

    The Java-people seem to be all keen on "one Sun way", screaming about how making Java open source is going to destroy it. That it will result in lots of incompatible versions.

    The open source people who want to use a VM-based system are already using MONO. They haven't been sitting on their ass for years, doing absolutely nothing while waiting for Java to be open source.

    The first group is going to hate the change. The second already regards Java as nothing more than a previous step in evolution of VM's, like Homo Erectus was for humans.

    1. Re:Advantage? by Anonymous Coward · · Score: 0

      Mono? You can't be serious. Most "open-source people" are NOT using Mono, they are using Ruby, Python, Perl, and (gasp) even Java. The people using Mono are mostly Windows people who are new to Linux, since most "open-source people" do not trust Microsoft technologies like C#/.NET. Mono is really a hobbyist toy, it will never be fully accepted in the open-source community.

  44. Re:Isn't the garbage collector supposed to minimiz by delt0r · · Score: 1

    Oh it does. If you have done a lot of programming in lots of different langs its hard to go back to non GC types. It really makes life easier. And no C++ does not have an excuse. You can use GC in STL and such as well.

    Programming langs are tools! Not religions. Bad java is slower than proper C++. Poor C++ is hard to debug compared to well writen Java. Use the right tool for the job.

    --
    If information wants to be free, why does my internet connection cost so much?
  45. translation by oohshiny · · Score: 1

    Sun has already said that they were going to try to come up with an "open source" license that still prohibits "fragmentation"; but that's a logical impossibility, since the ability to fork a project is an intrinsic part of any license that can be called "open source".

    So, "Java will be open source in 30-60 days" may simply mean that Schwartz will attempt to redefine the meaning of the term "open source" within the next 30-60 days to fit the source license they are already using.

  46. Re:Isn't the garbage collector supposed to minimiz by hr+raattgift · · Score: 4, Interesting
    It's still easy to have memory 'leaks' in a language with a GC.


    Only if you redfine 'leak' to be something other than data which is no longer reachable.

    A precise collector will always correctly identify the liveness of data, because it knows what is a pointer into the GCed heap. (That is the definition of a precise collector).

    A conservative collector is used when an object may or may not be a pointer into the GC heap (e.g., it may be a pointer into memory that is not to be managed by the collector, sometimes it may be another type of object entirely). Conservative collectors must err on the side of retaining possibly (but not provably) unreachable objects, and so can leak. However, for a number of years now, modern approaches such as barriers and generational scavenging asymptotically eliminate such retained dead objects from the managed heap, unless they are deliberately created. Such deliberation usually requires some effort, can be prevented by the compiler, is readily detected at runtime, and is easy to debug.

    Bad programming practices can result in the growth of lots of live data. Typically this involves using global variables. Sometimes this is accidental, such as when the top-level retains a history of results returned to it for debugging purposes or other convenience. However, these are not leaks per se -- the data is live in that it is reachable. Making the data in question unreachable (reset the global variable or previous-results list) will allow either type of collector to reclaim the space.

    In general it is much more common that memory is consumed by abandoned data that was created in heaps not managed by the collector, and these heaps are almost always used by code written in another non-GCed language. This includes the runtime, libraries, and foreign functions. Usually this is fixed via careful wrapping of the non-GC-language code with finalizers (exceptions, dynamic winding/unwinding, and other techniques), and in most GCed languages which expect to interact with things like the POSIX API this is usually done through libraries written in the GCed language.

    Finally, some GC implementations, particularly conservative ones, are simply buggy or are not using modern techniques. In this case it's the implementation's collector leaking, not the language.
  47. Article badly written ... by hritcu · · Score: 1

    ... or at least written by a non-computer scientist who thinks open source is some sort of wagon. "The core platform [...] will be offered via an open source format"? "available via open source"? WTF ?

    --
    If you don't fail at least 90 percent of the time, you're not aiming high enough. (Alan Kay)
    1. Re:Article badly written ... by ADamiani · · Score: 1

      So, are you saying it's less like a big wagon, and more like a series of tubes?

  48. GUI vs multithreading by hummassa · · Score: 1

    It's easy to do anything withou making a blocking call.

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
    1. Re:GUI vs multithreading by Westley · · Score: 1

      How, exactly? If you use non-blocking IO, then in many frameworks you'll end up being called back in a different thread - which leads to all the normal threading problems. Writing code using asynchronous IO is far harder than writing it using blocking calls - and harder, IMO, than writing a multi-threaded app using blocking calls.

      Now, in certain situations an application really, really shouldn't use any blocking calls - but for a normal GUI, I'd far rather do long-running tasks in a separate thread and marshall calls back to the UI thread than try to make everything asynchronous.

      Jon

  49. weak post by Anonymous Coward · · Score: 0

    "Schwartz also commented on the companies Sun Fire servers",
    would read much better if it said something like,
    "Schwartz also commented on the company's Sun Fire servers".

  50. VB by Anonymous Coward · · Score: 0

    What's wrong with VB ?

  51. Excellent time to drop Mono by HendrikIJzerbroot · · Score: 1

    So, with that OSS argument against Java out of the way, can we drop the Mono desktop apps already?

    Those .exe and .dll entries in my ps output gives me the shivers.

    1. Re:Excellent time to drop Mono by L'homme+de+Fromage · · Score: 0

      Some of us have never used Mono apps to begin with. :)
      Just curious, buy why are you running *any* Mono apps? I haven't seen one yet that wasn't a terrible bloated mess (on other people's machines). Java is pretty fast compared to Mono. And with the possibility of Microsoft enforcing their patents in .NET, the whole Mono project could be squashed at any time.

    2. Re:Excellent time to drop Mono by HendrikIJzerbroot · · Score: 1

      Not by choice! Mono apps are creeping into the latest distributions. For example, my SuSE 10.1 runs Tomboy (yellow notes) and Beagle (desktop search) by default. I couldn't agree more with you - Mono is a waste of development effort. If MS doesn't outright kill Mono sometime, it will certainly sabotage portability.

  52. Re:Isn't the garbage collector supposed to minimiz by bentcd · · Score: 1

    Only if you redfine 'leak' to be something other than data which is no longer reachable.
    That depends on what you mean by "reachable". It is quite easy to end up with memory that cannot be reached from Java code but will never be collected.
    This classically happened (and probably still does although I haven't checked for a while) if you forgot to call dispose() on GUI windows - the native GUI resource would not be freed because there is a piece of native code that hangs on to it until you call dispose().
    Furthermore, you can easily "lose" your references into libraries that do not offer public access to them thereafter. For all practical purposes, these are not reachable from your code, although they certainly are reachable by the GC.

    --
    sigs are hazardous to your health
  53. 'bitrot' by Randomly · · Score: 1

    Is there a CPAN equivalent for Java?

  54. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  55. Trolls Nonetheless by javacowboy · · Score: 1

    First of all, whether or not Sun goes through the EMCA has nothing to do with their track record on open sourcing stuff. That's a non sequitur.

    Secondly, Sun largely (but not exclusively) maintaining control over Java means that they can continue to innovate with some measure of centralized control. Look what happened to JavaScript when it got EMCA'd.

    Third, Sun has done absolutely nothing to prevent the FSF and the Apache foundation from working on their own open source Java implementations.

    Fourth, Sun has invited a wide range of stakeholders into the JCP, including the Apache Foundation.

    So what's the problem here?

    --
    This space left intentionally blank.
  56. Re:Isn't the garbage collector supposed to minimiz by squiggleslash · · Score: 1
    Only if you redfine 'leak' to be something other than data which is no longer reachable.

    You mean redefine it back? A memory leak is simply a set of circumstances in which a program isn't freeing memory taken up by data that is no longer in use.

    Whether that data is reachable is a slightly different, but related, issue. Data not being reachable yet remaining in memory certainly is one form of leak, because that is one set of circumstances in which unused data will continue to hog memory, but it's not the only one.

    The misunderstanding that "unreachable" is the whole of memory leakage is one reason why automatic garbage collection should never be taught as a panacea. Regardless of whether you use it or not, you should work with it and ensure that you don't leave objects referring to other objects if there's no cause to.

    --
    You are not alone. This is not normal. None of this is normal.
  57. That can't be right... by crivens · · Score: 0

    That can't be right - my wife already opened her new coffee maker on her birthday!

  58. Look who's trolling now!! by Big+Jojo · · Score: 1
    Secondly, Sun largely (but not exclusively) maintaining control over Java means that they can continue to innovate with some measure of centralized control.

    Centralized control isn't "open". It means that Sun has the power to quash innovations it doesn't like, or delay them until they can't be as effective, or otherwise tilt the playing field. That's the point of the "control" after all.

    Fourth, Sun has invited a wide range of stakeholders into the JCP, including the Apache Foundation.

    While it has excluded an even wider range ... those too small to fork over the $$$ to join, or too open to agree to strangling discussions with non-JCP participants for a year or two before the JCP proposal gets to an all-but-complete late draft stage.

    So what's the problem here?

    Lack of openness on Sun's part. Providing some access to the source code, at this extremely late date, isn't much of a fix for a process that's fundamentally not open ... for a game that's stacked in favor of a certain model that hasn't even done all that well for Sun's shareholders.

  59. OT, funny sig? by BalloonMan · · Score: 0, Offtopic

    "loose = advective, opposite of tight."

    What's an "advective"?
    People who can't spell shouldn't pick on other people's grammar.

    1. Re:OT, funny sig? by VGPowerlord · · Score: 2, Informative

      Oops, typo on my part. I just added the adjective and verb parts to it last night. Apparently a bit too late last night.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  60. ok, for a certain value of 'easy'.... by hummassa · · Score: 1
    How, exactly? If you use non-blocking IO, then in many frameworks you'll end up being called back in a different thread
    Or, an event will be fired to you indicating completion of a certain AIO. You'll pick up the event in your queue (all in _your_ pace) and indicate to the UI the completion of the IO, or to proceed with the computations. It's all a matter of having a really well-lubricated finite state machine....
    Writing code using asynchronous IO is far harder than writing it using blocking calls - and harder, IMO, than writing a multi-threaded app using blocking calls.
    Well, that's why they invented multithreading to start... but in some situations, you really simply can't have another thread. :-)
    Seriously, this has been done a lot of times, with success.
    In your others points, well, I agree with you.
    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  61. Re:And HW accelerator licencing ...? ARM, AVR32... by Big+Jojo · · Score: 1

    Ooh, I hate to reply to myself, but this is good news.

    It turns out that Atmel just published the AVR32 Java Technical Reference Manual giving exactly the information I was asking about. Probably about 40 hours before I posted; sigh. I guess that Atmel guy was wrong when he said they couldn't publish that information ...

    I've only skimmed those docs, so I can only say that they look like the right thing but clearly omit things like "how to invoke a synchronized method" (marked as TBD) ... but it's the first revision, and Atmel's pretty good about revising such stuff.

    So part of my question is answered! Not the ARM part, which is too bad since ARM is the widely available platform, not AVR32.

  62. VB by Anonymous Coward · · Score: 0

    I'd like to hear some *real* arguments against VB ...

  63. Wonderful! by Anonymous Coward · · Score: 0

    Wonderful, a nice little toy programming language that I can give to the kiddies. Something they can be frustrated with, since it doesn't work, or come with everything I need to run it. One more 'toy' I can return to Santa, hopefully I kept my receipt.

    Seriously, Java is nothing better than a toy, it should have been properly open-sourced years ago, maybe then, someone could have taken it to the same level as C, given it some rudimentary standards compliance, and done something useful with it.

    As it stands, java is good for letting those too affraid to learn a "real" language, or harm their hardware, get some basic programming experience, at the cost of some of their sanity.