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

61 of 243 comments (clear)

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

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

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

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

      It's also got serious security flaws.

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

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

    9. 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
    10. 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.
    11. 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.
    12. 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=-
    13. 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
    14. 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.

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

      Are you buying?

    16. 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
  2. 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 Anonymous Coward · · Score: 5, Funny

      1999 called, it wanted its lame comment back.

    2. Re:Co-ffeee... by darkchubs · · Score: 2, Funny

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

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

    4. 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.
    5. 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
  3. 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. 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 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.
    3. 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.)

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

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

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

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

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

  9. 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
  10. 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??

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

    We need slower slugs.

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

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

  14. 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
  15. 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
  16. 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.

  17. 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?
  18. 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.

  19. 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.
  20. 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.
  21. 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