Slashdot Mirror


Even Sun Can't Use Java

cowmix writes "It turns out that Sun does not eat its own dog food. Specifically, this internal memo from Sun strongly suggests that Java should not be used for Sun's internal projects. More interesting still, they go on to state which other languages fullfil Java's goals better than Java does itself. Finally, the memo states Sun's own Solaris is the cause of many of Java's woes. Yikes."

732 comments

  1. It would be interesting to find... by BitwizeGHC · · Score: 4, Funny

    ... a memo which says that Sun has standardized on C# and Microsoft .NET.

    --
    N4st0r, trixx0r h0bb1tz0rz! Th3y st0l3 0ur pr3c10uzz!
    1. Re:It would be interesting to find... by Anonymous Coward · · Score: 5, Funny

      And equally as unlikely. You think the JRE is bad - have you seen how Microsoft's .NET runtime performs on Solaris?

      (Blah... blah... Mono... Free... chasing a moving wall in order to pound your head against it...)

    2. Re:It would be interesting to find... by Anonymous Coward · · Score: 0

      That has got to be one of the funniest qutables I have heard in a long time. :)

    3. Re:It would be interesting to find... by g4dget · · Score: 5, Interesting
      Given that Mono looks like it may become an important part of Gnome, Sun may be shipping a C#-based desktop before they have a Java-based one.

      It boggles the mind that after half a dozen years of Java, Sun has not yet moved their default desktop over to Java GUI apps. And Sun has missed lots of great opportunities popularizing Java by failing to deliver desktop apps and utilities that would motivate Windows, UNIX, Linux, and Mac users to download the JRE.

    4. Re:It would be interesting to find... by kryonD · · Score: 0, Offtopic

      It boggles the mind that after half a dozen years of Java, Sun has not yet moved their default desktop over to Java GUI apps.

      I have to ask....why? How many times do you have to visit a web site that gives you 15 popup windows complaining about script errors in IE? Just to load netscape and have the page work fine, or vice versa. Who here hasn't had to download an older version of the JRE because you've found a program that doesn't work on the newer versions. JAVA isn't, nor has it ever been, platform independant. It continues to be unstable on more platforms than just solaris and really doesn't provide that much of an advantage over ANSI C/C++. Yeah, it was cool back in the days before DHTML, Flash, and XML. But now it offers very little additional functionality.

      I may be commiting a sin to say this on slashdot, but just because it's free doesn't mean it's worth using.

      --
      I've dirtied my hands writing poetry, for the sake of seduction; that is, for the sake of a useful cause. --Dostoevsky
    5. Re:It would be interesting to find... by Anonymous Coward · · Score: 1, Flamebait
      I have to ask....why?

      Because it's better than what Sun has right now (OpenWindows).

      Who here hasn't had to download an older version of the JRE because you've found a program that doesn't work on the newer versions. JAVA isn't, nor has it ever been, platform independant. It continues to be unstable on more platforms than just solaris and really doesn't provide that much of an advantage over ANSI C/C++. Yeah, it was cool back in the days before DHTML, Flash, and XML. But now it offers very little additional functionality.

      You are barking up the wrong tree. We are talking about desktop applications for Solaris, not applets for IE.

      I may be commiting a sin to say this on slashdot, but just because it's free doesn't mean it's worth using.

      Java isn't free, and Sun's motivation for using it would be to replace an even more awful system.

    6. Re:It would be interesting to find... by Anonymous Coward · · Score: 5, Funny

      How many times do you have to visit a web site that gives you 15 popup windows complaining about script errors in IE?

      You do know that that's Javascript which is nothing to do with Java, right?

      Who here hasn't had to download an older version of the JRE because you've found a program that doesn't work on the newer versions.

      Yes, inter-version compatibility is a big problem, as mentioned in the Sun memo.

      Yeah, it was cool back in the days before DHTML, Flash, and XML. But now it offers very little additional functionality.

      Oh for chrissake! The memo is talking about large applications. As in, not java applets. Read the damn memo. And get a clue. "Java was cool back in the days before ... XML. But now it offers very little additional functionality"? What does that even mean? It sounds like you're just throwing buzzwords around. I suppose C offers little functionality over ASCII, and C# just isn't cool now we have WordPerfect and ISO9660?

    7. Re:It would be interesting to find... by TheCrazyFinn · · Score: 1

      Umm, that would be why Sun is replacing OpenWindows with Gnome? Java is dead as more than a webscripting and teaching language. Too bad, it had promise, but Python runs circles around it when it comes to backwards-compatability, memory footprint and cross-platform capability.

      --
      "You've got an invalid haircut" -Warren Zevon - Life'll Kill Ya
    8. Re:It would be interesting to find... by Anonymous Coward · · Score: 0

      Voodoo journalism here. Substantiate the story, please.

    9. Re:It would be interesting to find... by cakoose · · Score: 1
      ...Python runs circles around it when it comes to backwards-compatability...



      Really? I thought that all the new features were not backwards compatible. I'm not fanatical about strict backwards compatibility, but it seems like the Python developers aren't either. I've noticed that Debian keeps a python1.5 packages and that some applications require this older version.

    10. Re:It would be interesting to find... by Capsaicin · · Score: 1
      I thought that all the new features were not backwards compatible.

      Python1.5.x code should run in a python2.x environment with almost no modification. Clearly the "new features" of python2.x are not going to be understood by the 1.5 environment. New features are necessarily not backwards compatible.

      That being said the features in python2.2 make it almost a new language (no nasty primitive types meaning among other things you can subclass built-in types), iterators and generators and much syntactic sugar. You really wouldn't want to be writing in anything less than 2.2.

      --
      Better to be despised for too anxious apprehensions, than ruined by too confident a security. --Edmund Burke
    11. Re:It would be interesting to find... by cakoose · · Score: 1
      New features are necessarily not backwards compatible.

      I guess my choice of words was poor. What I intended to say was that I thought the new Python features/changes made old code behave differently.

      That's why, I believe, some Python applications ask that you use an older version of Python. Again, I'm not saying that this is necessarily bad, but the original poster seemed to claim that newer Python runtimes are completely backward compatible in every way.

    12. Re:It would be interesting to find... by g4dget · · Score: 1
      Umm, that would be why Sun is replacing OpenWindows with Gnome?

      You seem to have lost complete track of what we are talking about. Here is what we are talking about: the fact that Sun isn't using Java for their own desktop applications suggests that Sun doesn't have much confidence in Java or can't figure out how to write desktop applications in it.

      Java is dead as more than a webscripting and teaching language.

      Nonsense. Java lives as a server-side applications language and teaching language. It isn't being used for "web scripting" (whatever that may be) because it isn't a scripting language.

      Too bad, it had promise, but Python runs circles around it when it comes to backwards-compatability, memory footprint and cross-platform capability.

      On the other hand, there are native code compilers for Java that rival C and there are multiple compatible JVM implementations. Altogether, both languages end up being useful for some niches but overall seriously flawed.

    13. Re:It would be interesting to find... by rodgerd · · Score: 1
      Because it's better than what Sun has right now (OpenWindows).


      Sun don't ship OpenWindows management tools, they ship CDE/Motif based ones.

      And the whole point of the memo is that both the engineers being forced to reengineer them in Java and the customers talking to them think the new Java tools are a big, festering pile of shit that are a great deal worse than the Motif ones.
    14. Re:It would be interesting to find... by Capsaicin · · Score: 1
      What I intended to say was that I thought the new Python features/changes made old code behave differently.

      That's what I thought you were getting at, which is why I pointed out that 1.5.x code should run in a 2.x environment, with as I put it "almost no modification." Well I've never had any problems in that regard, but unlike the original poster I'm not going to claim absolute compatibility ... (which is not to say it isn't 100% compatible either).

      However, the developers of Python, are conscious of the need to preserve backward compatibility. So the introduction of despite the introduction of iterators in 2.2, the old syntax remains in place, it is just realised differently (and there is some new syntax should you want to use that as well). Despite the introduction of new style classes in 2.2, old style classes are still recognised and will work as expected (though we are warned they may be depricated in future releases.)

      That's why, I believe, some Python applications ask that you use an older version of Python.

      Yup this would suggest compatibility problems, though what these migh be I can't even guess. Maybe paranoid developers, you'd have to ask them I guess? As I've said, Python has always treated me OK regarding backward compatibility.

      --
      Better to be despised for too anxious apprehensions, than ruined by too confident a security. --Edmund Burke
    15. Re:It would be interesting to find... by chrisdrop · · Score: 1

      thank you for ripping this comment. you gave me a good laugh this morning :)

      --
      " I have no tag line. "
    16. Re:It would be interesting to find... by Strigiform · · Score: 1

      If it's complaining about script errors then it sounds like the problem is with Java*script*, not Java.

      IIRC, Javascript was called Livescript and developed internally at Netscape. The rename allegedly came about as an attempt to steal some of Suns' thunder.

    17. Re:It would be interesting to find... by JavaJoint · · Score: 1

      > IIRC, Javascript was called Livescript and developed
      >internally at Netscape. The rename allegedly came
      > about as an attempt to steal some of Suns' thunder.

      This is correct. The name "Javascript" is unfortunate,
      because it has resulted in 5+ years of confusion. They
      could have called it Netscript, or Scriptzilla, or..
      hell, anything but Javascript. It was a dorky decision.

      But hey, these folks also gave us the <blink> tag...

    18. Re:It would be interesting to find... by ausgnome · · Score: 1

      Hey i like the that tag , you can really annoy ppl with it

      --

      I had a pet once
    19. Re:It would be interesting to find... by Strigiform · · Score: 1

      I wonder if the hand of Netscape marketing had something to do with the namechange. The same cannot be said of the tag, which was deprecated last time I checked, but which might hide inside Netscape yet.

  2. Hypocrisy? by amigaluvr · · Score: 3, Insightful

    This smells bad. Sun have been forcing the monopoly thing down microsofts throat for so long, and now there they are victim of themselves again.

    What took them so long to come out with this? It seems to have stayed nicely hidden while they could cause damage to microsoft. Looks like they're a lot more relaxed now it's 'home turf'

    'home run' indeed. They're now able to disassemble java like they wished to for a while it seems, but wanted to get most leverage out of it against a competitor

    Commercialism stinks

    1. Re:Hypocrisy? by frleong · · Score: 2, Insightful
      This smells bad. Sun have been forcing the monopoly thing down microsofts throat for so long, and now there they are victim of themselves again.
      This boils to the question: is it a good thing to force the bundling of the Sun's JRE in Windows? MS's JVM is not particularly bright, but I don't think JRE is better in terms of performance.

      Anyway, regardless of the JVM, applets are only applets. Its security model prevents it from doing anything useful than pretty animation and fancy UIs. But for fancy UIs, we have Flash, which is definitely faster and easier to program.

      --
      ¦ ©® ±
    2. Re:Hypocrisy? by kisrael · · Score: 3, Interesting

      Anyway, regardless of the JVM, applets are only applets. Its security model prevents it from doing anything useful than pretty animation and fancy UIs. But for fancy UIs, we have Flash, which is definitely faster and easier to program.
      I think the primary interest here is "server side Java", doing heavy lifting business applications. Currently Java/J2EE is in a competition with .Net ... in a race that has strong parallels with and implications for Unix/Linux vs Windows on the server side.

      This memo makes me a bit nervous. Right now, I'm a Java/Perl guy professionally, and this is horrendous publicity for Java, and could pontentially tarnish Unix as well, since Java is so popular for business apps there.

      (Applets seem to have kind of fallen by the wayside, though they seem to show up in more places than you'd expect...I can't do applets at work, it pops up a message about the firewall config, and I see that dialog a heck of a lot.)

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    3. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      I've always been surprised that Java doesn't decline on it's own. At work, I've had the problem they talk about where I've had to load 2 or 3 jvm's on a machine for the various pieces of software. That and the fact that the garbage collector in 1.3 sucks have largely turned me off of ever really learning the language.

    4. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      At least they are honest and addressing it.
      i dont belive ms will ever say anything bad about
      c#.(their os, web server, etc)

      They will continue to lie and point fingers at java.
      so will other suckers.

      ct

    5. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      There's no problem with Java on NT or Linux, only Solaris.

    6. Re:Hypocrisy? by Ilgaz · · Score: 1

      Yes!

      You should someday install Sun JRE and see how Java conspires this excellent browser (opera 6,7.x) and probably others.

      Its NOT compatible with many sites and of course, Sun does not provide a good tool to cleanup/help MS JVM spesific code for FREE. (Yes, MS does it right?) So, "haha, lamer bastards, they don't know how to code" won't help. We speak about huge sites like Yahoo etc which goes mad with Sun Java here.

      As a user (yes, I am) when you complain, you read same redundant story that how MS conspired java etc. I know. I used OS/2 even, I know which games they played. They question here is, what SUN DOES to prevent people not to use MS Java variant spesific stuff.

      I was on Opera forums just 10 mins ago, I just counted 2-3 threads complaining about "bad browser not displaying java". Heh... If they knew about it wasn't Opera's fault. Anyway, nobody has to know everything.

    7. Re:Hypocrisy? by soloport · · Score: 3, Insightful

      Gee! Is it April 1st, already? You guys really fell for this one :-D

      Can you say, "hoax"? (Read the "memo")

    8. Re:Hypocrisy? by g4dget · · Score: 5, Insightful
      I think the primary interest here is "server side Java", doing heavy lifting business applications. Currently Java/J2EE is in a competition with .Net ... in a race that has strong parallels with and implications for Unix/Linux vs Windows on the server side.

      For server-side apps, it makes no difference whether Microsoft bundles the JRE or not--anybody putting together a bunch of servers is going to install the latest JRE directly from Sun anyway.

      In fact, while Java is a decent language for server-side development (and that's pretty much the only thing it's really good at), it's ironic that its cross-platform features in particular are largely irrelevant there: for many other reasons, any reasonable place is going to have a homogeneous server environment for individual web apps, and re-compiling for that server environment is a tiny part of deployment.

      So, something like GNU gcj, which requires recompilation for each target platform, may well be the better choice than Sun's bloated JRE: while you don't get universal byte code deployment, which you don't need, gcj binaries start up much faster and consume less resources, which may be more important on your server.

    9. Re:Hypocrisy? by Zeinfeld · · Score: 5, Insightful
      This smells bad. Sun have been forcing the monopoly thing down microsofts throat for so long, and now there they are victim of themselves again.

      The note is certain to be used by Microsoft in their appeal against the Java injunction.

      In particular the points about Java code being tied to a particular runtime completely negates Sun's claims about the need to distribute in the O/S base. Clearly that is not going to help much since Sun have no clue about dependency management.

      Consider the following thought experiment. Microsoft distribute 30Mb of Java 1.3 with XP. Then Sun upgrade to 1.4, what does Microsoft do? Do they distribute 1.4 on the new O/S versions only, add it to the current release of XP or put it on instant update. None of these work. The instant update option will break existing java applets on the system. Mixed versions of java will mean that consumers buying a Java based progam will not be able to rely on the release number of XP to decide whether the program works on their machine. Waiting till the next O/S version is released will result in a lawsuit from sun.

      The note shows clear similarities to the early articles on C# explaining the difference in approach between Java and dotNet. If the Java lobby was not so convinced that Java was the end of program language design they would have realised their significance.

      To give one example, the version incompatibility problem is known to Windows developers as 'DLLHell'.

      My company uses Java for a lot of projects. I would not be suprised however if we didn't end up on .NET server with the applications compiled down to native code through J# and IL.

      Unfortunately Sun don't have a level 5 leader in charge. They have an egotistical idiot who is concentrated like a laser on another companies business instead of his own.Antics like those of McNeally and Ellison play well in the press but measured by the success of the companies stock price leaders like Jack Welch or Lee Iaccoca don't do as well as their PR would have it. Iaccoca may have saved Chrysler (it might also have been the government loans) but once he started concentrating his energies on being a folk hero Chrysler's performance went back down the tubes. Similarly Jack Welch's performance does not look that hot if you look at the growth in GE earnings rather than the stock price - which is certain to shrink as GE returns to its old P/E multiple.

      One of the things a level 5 leader does is to encourage comment. The memo only says what others outside Sun have been saying for eight years.

      My take on the Sun/Microsoft Java war is based on a lot of time working in standards groups with both groups of engineers. I think that the Microsoft engineers thought they could improve Java and got frustrated because the Sun engineers behaved - well like Microsoft engineers sometimes do.

      Of course this will all be rationalised away. Of course it was all the fault of the Redmond club's evil schemes. Nobody outside Sun has any ideas of any value and Sun's JCM is genuinely open and not a proprietary farce.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    10. Re:Hypocrisy? by smd4985 · · Score: 5, Funny

      "The note is certain to be used by Microsoft in their appeal against the Java injunction."

      Um, no.
      First off, who knows if the note is even authentic.
      Secondly, what will be MS's argument?:
      "Judge, Sun feels they should improve their Java product. As you know, the law states that no company should be able to improve their products, unless they are us, and we can improve other people's products, but only for Windows. Thank you."

      --
      smd4985
    11. Re:Hypocrisy? by Tim+C · · Score: 1

      This boils to the question: is it a good thing to force the bundling of the Sun's JRE in Windows?

      I may be wrong (I do do Java development, but strictly server-side), but I think that MS's JVM is frozen at roughly 1.1.4. That makes it essentially hopelessly outdated. Iirc, the collections framework wasn't introduced until 1.2, and I can't remember the last bit of non-trivial Java code I wrote that didn't use at least one class from that.

      I have no problem with MS being forced to ship a strictly-compliant modern JVM written by someone other than Sun (even by MS themselves), as long as that compliance is guaranteed (and indepently vetted). Allowing them to ship their old JVM, or (worse) a new one with all the proprietary, "disguised" extensions to the API, or to not ship one at all (while the .NET framework is worked ever more tightly into the OS) is not acceptable.

      But for fancy UIs, we have Flash, which is definitely faster and easier to program.

      I can't comment on the ease of programming in Flash, but the speed question is increasingly becoming a non-issue. The machine I'm typing this on is running at 2.4GHz and has 512MB of RAM, and trust me, Java gui apps run plenty smooth enough on it. True, it's a fairly beefy machine, and true, lots of people are still using the machine they bought 3 years ago, but eventually, there comes a time when you must upgrade. Nothing lasts for ever, and so unless you scour eBay for spares, you're going to be buying a new, super-powerful machine eventually. As the average PC spec increases, so the perceived slowness of Swing decreases. Sure, it'll never be quantitatively as fast as native (or Flash, or whatever), but if it's qualitatively as fast (ie you can't tell the difference), who cares?

    12. Re:Hypocrisy? by kisrael · · Score: 1

      So, something like GNU gcj, which requires recompilation for each target platform, may well be the better choice than Sun's bloated JRE: while you don't get universal byte code deployment, which you don't need, gcj binaries start up much faster and consume less resources, which may be more important on your server.

      Heh...but given the swollen bloaty crapfest that is EJBs, a 500lb hammer for your nail, that probably outweights the whole JRE/gcj kind of thing. Just a guess.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    13. Re:Hypocrisy? by kisrael · · Score: 1

      Gee! Is it April 1st, already? You guys really fell for this one :-D

      Can you say, "hoax"? (Read the "memo")


      Yeah, I did read it. And even with a skeptical eye...I didn't see anything that really screamed hoax, and enough plausible sounding details that it's not a casual hoax, at least.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    14. Re:Hypocrisy? by g4dget · · Score: 1

      Even the best compiler can't work miracles. But languages like Java and C# are reasonably nice for server-side development, and with a decent compiler and reasonable libraries, they can be very effective.

    15. Re:Hypocrisy? by Ilgaz · · Score: 2, Insightful

      While I don't like Sun's Java, which they didn't even care to update Installshield causing problems (read my other replies), I don't agree with this one:
      "On nearly every system I've used Sun's Java on, the Microsoft has taken up less ram, run faster, crashed less often, and basically been a smaller pain in the ass. There will be people who will scream that Microsoft has sabotaged Sun, but I don't think it has anything to do with that. And even if it does, at this point forcing end users to use Sun's Java is just going to deter people from wanting to use it at all."

      Erm, the JVM you use is roughly 3-4 years old. Its 1.0 , while Sun is serving 2.0 for 1-2 years.

      So, its like running Quake 1 on a machine and bitching about how slow quake 3 is, compared to quake 1.

    16. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      Java is backwards compatible for most of it's recent releases.

    17. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      wtf is this "level 5" leader stuff?

      why don't you just say "good ceo"

    18. Re:Hypocrisy? by crmartin · · Score: 1

      Looks real to me, and I worked for Sun.

    19. Re:Hypocrisy? by inode_buddha · · Score: 1

      Er... for those of us who are not businesspeople or even pro developers, could you please:

      $man "level 5 leader"

      Thanks, I think I have some research to do.

      --
      C|N>K
    20. Re:Hypocrisy? by Jahf · · Score: 4, Insightful

      I still work for Sun and have never seen anything like this memo. Java is still used daily for internal projects, still hyped strong and developed strong, and I've never seen a Sun person try and dissuade another from using it.

      If the memo is real, then it's being kept in a very small group.

      If it's fake, they did a good job with the language and examples.

      --
      It is more productive to voice thoughtful opinions (reply) than to judge (moderate) others.
    21. Re:Hypocrisy? by elmegil · · Score: 2, Insightful
      If the memo is real, then it's being kept in a very small group.

      Can you say "duh"? As if even strong engineers could actually keep their jobs after telling everyone that Bill Joy's (yes, I know Bill didn't write it, but he sponsored it) baby is not just ugly, but hideously deformed? Keep it small, build support, when you have some safety in numbers, THEN come forward to a wider audience. Seems eminently politically practical.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    22. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      What if you want to run more than one instance at the same time, or more likely, have other programs running at the same time such as Outlook, or Word (which is very likely in a business environment). If the java application hogs the whole machine, it reduces worker productivity because they have to close and open everything else.

    23. Re:Hypocrisy? by fitten · · Score: 5, Informative

      Well... The Inquirer had a blurb about this about a week ago, before anyone heard about any "memo".

    24. Re:Hypocrisy? by crmartin · · Score: 1

      Yes, to both. I'm sure that memo was from developers to their first or second level manager, or to a project manager.

    25. Re:Hypocrisy? by lseltzer · · Score: 1

      >>I think the primary interest here is "server side Java", doing heavy lifting business applications. Currently Java/J2EE is in a competition with .Net ... in a race that has strong parallels with and implications for Unix/Linux vs Windows on the server side.

      Exactly, and yet the preliminary injunction specifically excludes server versions of Windows. It only mandates that MS include the Sun JRE on desktop versions. Sun doesn't seem to care.

    26. Re:Hypocrisy? by Zeinfeld · · Score: 2, Insightful
      First off, who knows if the note is even authentic.

      We will soon find out. However Microsoft will certainly get the ability to subpoena etc. regardless of whether it is eventually proved to be a fraud.

      Judge, Sun feels they should improve their Java product

      No, that would be Sun like Microsoft recognises that Java is broken and needs fixing. Furthermore it recognises that the monolithic architecture of the JVM makes it seriously broken.

      If Java was not a 30Mb lump it would not need to be deployed with the O/S. It would be possible to download the support libraries required together with the code. It would be possible to download the versions of the libraries that the code was compiled against - exactly what dotNET does.

      Of course this would also mean that the distinction Sun has attempted to enforce between Sun approved modules and other modules would go away. It would be possible to develop a version of dotNET that ran J2EE programs optimised for the native processor.

      Sun's legal manipulations have been aimed at forcing Microsoft to support a platform while denying Microsoft and the rest of the community any say in the development of that platform. In every other standards process the vendors always reserve the right to not support the outcome if they don't like it. So there is a compromise between the positions of the parties, usually one that is aligned to the interests of the users. In the case of Java Sun has opposed any changes by Microsoft and in fact any other party that it belives are counter to Sun's interests

      I am not a Microsoft employee but I would be happy to testify for them.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    27. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      My company uses Java for a lot of projects. I would not be suprised however if we didn't end up on .NET server with the applications compiled down to native code through J# and IL.

      These days, you can compile Java into native code as well. This has been possible for quite some time.

      Also, there are other JVM implementations out there besides Sun's. IBM has one, for example.

    28. Re:Hypocrisy? by 'The+'.$L3mm1ng · · Score: 1
      is it a good thing to force the bundling of the Sun's JRE in Windows?
      Yes - if you include Perl (with tons of modules), Python, at best even MySQL and PHP with a pre-installed IIS (Apache is highly unlikely to ever ship with Windows, right?).
      Why? All these things are platforms for application development and why should Java be the only "other" platform to be shipped with Windows - just because there's a company behind it?
      Shipping the JRE with Windows would make many Windows computers Java-ready within quite a short timeframe. Since I do not program in Java, but make web applications oder do some stuff with Perl/Tk, I would like to see those there too. You would not want your user to deal with the hassle of downloading the JRE or ActivePerl and so on, so it would just be fair.
      After all, most users just don't know anything about "that Java thing".
    29. Re:Hypocrisy? by Refrag · · Score: 1

      Unless I am mistaken, the articles points out problems with Java on the Solaris platform. This has nothing to do with Windows.

      --
      I have a website. It's about Macs.
    30. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      The difference is that Sun had a *contract* with Microsoft to bundle the JRE with Windows. Microsoft violated that contract. Microsoft's entire dotNET platform is based on the JRE they licensed from Sun, which amounts to potentially billions of dollars in revenue directly related to that contract. Maybe Microsoft would have developed C# and the CLR independently without influence from the licensed Java code. But the reality is, they didn't. Even if it was a "clean room" implementation -- which they aren't claiming-- Microsoft had already licensed Java, so that point is irrelvant.

    31. Re:Hypocrisy? by austus · · Score: 1

      Even as a hoax, are not the issues it discusses valid? Let us not engage in argumentum ad hominem.

    32. Re:Hypocrisy? by rodgerd · · Score: 1
      in a race that has strong parallels with and implications for Unix/Linux vs Windows on the server side.


      Might as well start learning to love Windows, then. Sun's success in conflating "J2EE" and "Unix" means that Unix will likely go down with J2EE.
    33. Re:Hypocrisy? by pardonne · · Score: 1

      > Similarly Jack Welch's performance does not look
      > that hot if you look at the growth in GE earnings
      > rather than the stock price - which is certain to
      > shrink as GE returns to its old P/E multiple.

      Dude, Jack Welch's performance looks particularly hot
      when you look at GE's earnings growth. Steady double digit growth for twenty some years, no?
      What are you talking about?

      Pardonne

    34. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      Whatever the shortcomings of Java, Microsoft took the hook. They were happy to sign all of Sun's licensing restrictions for Java at the time. If it was in bad faith, then that just proves Sun's point.

    35. Re:Hypocrisy? by Zeinfeld · · Score: 2, Interesting
      Er... for those of us who are not businesspeople or even pro developers, could you please:
      $man "level 5 leader"

      It is a term used by Jim Collins in his book 'Good to Great'.

      What Collins did was to set up a bunch of objective standards for good-to-great companies based on their share price over two 15 year periods. Then he compared them with a bunch of other companies that were comparable in the 'good' phase but never managed the 'great' phase.

      He noted that the good to great companies had a bunch of qualities in common. In particular the CEOs behaved in a particular way. Instead of using 'I' all the time they used the word 'we'. They did not spend their time in self promotion for the sake of it. One of them used the comparison 'I'm a plough horse, he [the competitor's CEO] was more of a show horse'.

      The basic research for the book was done prior to the recent CEO perp-walks by the Enron, Worldcom, Haliburton, Harken etc. crowd. So now almost everyone is trying to be a level-5 type leader rather than a Jack Welch who is a 'level 4' - not quite as good.

      Incidentally if you apply it to politics then Thatcher comes out as a level-4 leader rather than a level-5. Anyone who follows British politics will know the reason why, she failled to plan for succession. The Tory leaders who followed her have all been failures and the party poll numbers show the results.

      Unfortunately the notable standout is the failure in the Whitehouse who is a level-2 leader if that. Bush meets none of Collin's leadership criteria. It is all do as I say, not do as I do. Prime example, you go off and fight a war, I dodged service in Vietnam by getting Daddy to pull strings, then went AWOL. Secondary examples you keep your treaty commitments, I will unilaterally break the test ban treaty, ignore the security council, withdraw from Kyoto and basically ignore any treaty I consider inconvenient.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    36. Re:Hypocrisy? by Eunuchswear · · Score: 1

      You know, a week ago I had moderator points. Bugger.

      --
      Watch this Heartland Institute video
    37. Re:Hypocrisy? by Zeinfeld · · Score: 1
      Dude, Jack Welch's performance looks particularly hot when you look at GE's earnings growth. Steady double digit growth for twenty some years, no? What are you talking about?

      That would be the share price. The earnings have also risen but not as fast. If one takes earnings per share instead of the gross earnings the picture looks much less impressive. Basically a company can pump up its earnings by simply buying companies.

      The earnings growth is currently being questioned in the financial press. While nobody is alleging anything like Worldcom or Enron went on there is a heck of a lot more skepticism over GE's results during the Welch period. It appears that GE was growing in the same way AOL did, using an inflated stock price to buy up companies that were actually profitable.

      While that is cute, it is hardly evidence that six sigma and the cult of Jack Welch really worked. It was a PR game rather than a model of business leadership.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    38. Re:Hypocrisy? by Anonymous Coward · · Score: 0

      Souds insane to say they'd use freeking microsoft and .net, and comparing java to python is a misnomer , but they'd make java more python-like and switch from solaris to their own linux distro before they'd start using microsoft.

    39. Re:Hypocrisy? by alan_d_post · · Score: 1

      Unix will likely go down with J2EE.

      So then we will all use plan9? That might be cool, if Lucent's owners ever fix the license.

    40. Re:Hypocrisy? by kisrael · · Score: 1

      Might as well start learning to love Windows, then. Sun's success in conflating "J2EE" and "Unix" means that Unix will likely go down with J2EE.

      I don't think J2EE is down by any stretch, as people see the benefit of J2EE that shuns EJB.

      On the other hand...I wouldn't mind picking up a bit more .Net knowledge if it helps me keep more options open. I've never been a huge Microsoft is Evil advocate.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    41. Re:Hypocrisy? by jcast · · Score: 1

      s/might/will/

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    42. Re:Hypocrisy? by dukethug · · Score: 1



      One of the things a level 5 leader does is to encourage comment.

      Wow, you've read Good to Great. Is it safe to assume you are the CEO of a Fortune 500 company?

    43. Re:Hypocrisy? by tgrigsby · · Score: 1

      Did you read the article? Java is not at fault; Solaris and its version of the JRE are what the memo slams.

      And yeah, the memo, while certainly chock full of interesting tidbits, seems addressed to the wrong people. Looks like a possible hoax?

      --
      *** *** You're just jealous 'cause the voices talk to me... ***
    44. Re:Hypocrisy? by kisrael · · Score: 1

      Did you read the article? Java is not at fault; Solaris and its version of the JRE are what the memo slams.

      And yeah, the memo, while certainly chock full of interesting tidbits, seems addressed to the wrong people. Looks like a possible hoax?


      Both could be true, but it's not going to be given such a deep reading by people out to slam Java on the server.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    45. Re:Hypocrisy? by rodgerd · · Score: 1
      For server-side apps, it makes no difference whether Microsoft bundles the JRE or not--anybody putting together a bunch of servers is going to install the latest JRE directly from Sun anyway.

      On your planet, perhaps. My client's servers are covered in numerous JREs, each specific to various applications, because they can only be qualified on particular point releases.
    46. Re:Hypocrisy? by DNS-and-BIND · · Score: 1

      And this is different from Clinton HOW exactly? At least the current occupant of the White House hasn't been disbarred or impeached. He didn't smoke pot, either, though he was a champion drinker.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    47. Re:Hypocrisy? by pardonne · · Score: 1

      I remember an investigation of IBM and GE earnings about a year ago or so. Gestetner made a chunk of money for IBM through pensions but Jack is the real deal, at least as far as Business Week is concerned. Yes I am talking EPS here. If I hadn't thrown the stuff out I would have cited it for you.

      I don't think there is any problem with accomplishing growth by buying out other profitable companies, btw.

      Pardonne

  3. Not Java but the Solaris JRE by Anonymous Coward · · Score: 5, Insightful

    Read the article poeple, what their saying is that the JRE on solrais has huge significant bugs that need fixing!!

    1. Re:Not Java but the Solaris JRE by Danta · · Score: 2, Insightful

      Read the memo a bit more and you will realize that many of the problems they list out are inherent to the current state of the Java platform itself and not just the Solaris JRE.

    2. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      I here you, so many poeple just jump all over a post and dont even bother to really read the thing !

    3. Re:Not Java but the Solaris JRE by Jugalator · · Score: 4, Interesting

      I don't think the "bugs" with huge memory usage and general slowness is limited to the Solaris platform since I've noticed it while running Java applications on Windows as well, while using Sun's JRE. Many of the bugs discussed in the memo is connected to the JDK itself as well, and Sun is concerned with how many bugs are closed with the "Will Not Fix" status. Since the JDK is mostly the same on all platforms due to Java's nature, I'm pretty sure this is a cross-platform problem in many ways.

      --
      Beware: In C++, your friends can see your privates!
    4. Re:Not Java but the Solaris JRE by jcr · · Score: 5, Funny

      Sure, Java doesn't suck, it's just the JRE.

      And communism doesn't suck, it's just all the implementations!

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    5. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 1, Funny

      I see! Java is communist. McNealy is both Lenin and Trotsky personified. Thank you for enlightening me.

    6. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      But those aren't the problems this article focuses on. It's on Solaris only that Sun advises not to use Java for software projects. As far as I can judge from the memo (and yes, I did read it completely), they *are* developing software in Java for other platforms and will continue to do so.

    7. Re:Not Java but the Solaris JRE by abe+ferlman · · Score: 5, Funny

      Don't forget "Capitalism doesn't suck, it's just all the corporations!"

      --
      microsoftword.mp3 - it doesn't care that they're not words...
    8. Re:Not Java but the Solaris JRE by obsidian+head · · Score: 2, Insightful

      It's on Solaris only that Sun advises not to use Java for software projects. As far as I can judge from the memo (and yes, I did read it completely), they *are* developing software in Java for other platforms and will continue to do so.

      It seems like we didn't read the same memo. The backwards compatibility problems, versioning, etc were not intrinsic to Solaris. And anyone who programs Java on Windows notices bad performance there too.

      It was a very diplomatic letter. Sun's comparative advantage does not lie with Windows, so I don't think it makes much sense for the memo's author to make a big deal of it.

    9. Re:Not Java but the Solaris JRE by Swootech · · Score: 1

      I've been coding applets for commercial use with JRE on the Windows platform and I'm never doing that again. Every new release of JRE screws something up and currently I have to force users to have several versions of JRE installed which is a terrible solution.

      Since the release of JRE 1.4.0 a critical feature has been broken and thought the bug has been submitted and acknowledged it has not yet been fixed. It has had the same "in progress, bug" status for more than 6 months :(

      I can only agree with Sun, that there are serious problems with JAVA. For me it is especially part 4 "It is not backward-compatible across minor releases" which is why I vil NEVER do a JAVA-project which has to run on numerous customers computers again.

      I enjoy programming JAVA, but the cost of support and maintenance are imho simply to big.

    10. Re:Not Java but the Solaris JRE by as6o · · Score: 2, Insightful

      This memo looks to me like it is simply the Solaris apps team complaining to whom ever will listen that the JRE for Solaris doesn't get the same attention as the JRE for Windows.

      HelloWorld on Win2K using Sun's 1.4 JRE (1.4.1_01) takes up 4856K - little over a half of the memory required to run a similar app on Solaris (according to the memo.) I'm not claiming that this is spectacular, but the situation on Windows doesn't seem to be nearly as bad as it appears to be on Solaris. (Doing a quick test, the situation on Linux appears to be the same as on Solaris.)

      The memo even states that things aren't as bad on Windows:

      "5. Customers and Field Engineers Are Noticing the Problem

      Following is an excerpt from Kevin Tay's e-mail to three Java aliases regarding a customer installation of a third-party product written in Java called Vitria. We see typical very large RSS numbers compared to a WinNT implementation combined with increased resource usage from Solaris7 to Solaris8:"


      Sure, the JRE could use some improvements (maybe more than some.) However, the breadth of Java's standard and third-party APIs, especially in the web app space, combined with ease of development make it worth the performance and memory disadvantages to some (apparently quite a few) organizations.

      Disclaimer: I code Java at work on Win32 and play around with PHP and Python at home.

      -Aaron

    11. Re:Not Java but the Solaris JRE by KingDaveRa · · Score: 1

      I only skim-read it, and managed to pick up on the fact that the Sun bosses were pointing out problems. It seems to be more of a 'this is wrong, so get on and fix it, its making us look dumb' kind of thing. And I thought I was always mis-reading things.

    12. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      What are you, some kind of 'Marxist-oriented guerilla'? (Actual quote from story on Colombia printed in major newspaper!)

    13. Re:Not Java but the Solaris JRE by snarkasaurus · · Score: 0, Troll

      99% of corporations work as intended. They maximize profit for the shareholders and provide services like food, cars and this nice Internet we all enjoy. The exceptions are dealt with swiftly, usually by the stock market before the police. Communism gets millions of people killed, the latest example being Mugabe's idiot regime. Communism caused an ecological disaster all through Europe and Asia. (What capitalist country has broken nuclear submarines beached and leaking radioactive doodoo into the arctic ocean?) In fact, Communism in ALL its implementations to date is a horror. Go and read, young man.

    14. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      Yes! Finally a man who realises that murderous Capitalist dictators have been butchering their own people by the million for as long as anyone can remember! We need to get ourselves a _real_ Cuban-style (or, failing that, Iraq-like) democracy people. After all, what can Capitalism offer that Socialism doesn't? Clean drinking water? Sanitary living conditions? Decent-tasting food? Freedom of expression/assembly? A car? A computer? Fuck all that materialistic bullshit! I want to live in a Socialist utopia god damn it.

    15. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      We need to get ourselves a _real_ Cuban-style (or, failing that, Iraq-like) democracy people.

      Been to Guantanamo lately? I think we've already *got* that kind of democracy. All the fascism you could possibly desire with a thin veneer of democratic input, overruled by the courts whenever it contradicts monied interest.

      Camp X-Ray, TIA, PATRIOT and PATRIOT II, FBI perusing library records, race-based roundup-and-imprison, permanent war, god damn dude wake up and smell your own rear end.

      Be sure to thank those commie-pinko labor people for the weekend you spend posting to Slashdot. And pray that you never become unemployed in a society that doesn't have one of those socialist-style "safety nets".

    16. Re:Not Java but the Solaris JRE by luisdom · · Score: 1
      Since the JDK is mostly the same on all platforms due to Java's nature, I'm pretty sure this is a cross-platform problem in many ways.
      Yeah, pretty sure X11 and w32/GDI are pretty the same, and unix/windows threads behave the same , and...
    17. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 1, Funny

      "99% of corporations work as intended. They maximize profit for the shareholders and provide services like food, cars and this nice Internet we all enjoy."

      Welcome to our universe. It's nice to know corporations work so well in yours. Can you take some of our CEOs back when you return home?

    18. Re:Not Java but the Solaris JRE by IIRCAFAIKIANAL · · Score: 1

      Slashdot doesn't suck, it's just all the loudmouthed linux hippies and biased moderators!

      No, it's a joke, don't mod me down *ARGH*

      --
      Robots are everywhere, and they eat old people's medicine for fuel.
    19. Re:Not Java but the Solaris JRE by elmegil · · Score: 2, Insightful
      and provide services like food, cars and this nice Internet we all enjoy.

      Or Else!

      Like, say Disney, AOL, Amazon and their lovely patents, etc. Not to mention the accounting bs that goes on; you can't convince me that Enron et. al. were just a couple of bad apples. They just had the misfortune to be poster children to let the rest of the corporate world know they better shape up enough to squeak by in the short run.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    20. Re:Not Java but the Solaris JRE by nehril · · Score: 1

      the bugs listed don't seem to be the main focus of the memo (whether the memo is 'real' or not is a separate question.) While the bugs are there, they seem to support a different argument: deployment issues.

      if you develop an "enterprise" java app, you typically have to nail down the JVM in use. i.e. if you tested on 1.3.1, that's what you can support, because you know all the bugs. If a separate Java app needs a different version, then you have some hard choices:

      1. everybody bundles their own JVM for support purposes (and your memory usage skyrockets, this is where they start talking about 9mb hello worlds an 1 GB "real" apps).

      2. be prepared for support problems with app #2.

      3. run everything on it's own box, which is not feasible for business desktops and is a bit counter to Sun's Semi Big Iron offerings.

      this isn't such a big deal for single-use systems (like "point" servers), but if you are deploying desktop apps (NOT servlets) then you run into a maintenance and deployment nightmare. This problem could keep java from becoming "the new visual basic" for ubiquitous super specific business apps. (well, vb introduces it's own 'DLL hell' problem that we'll set aside for now).

      the memo authors seem to be advocating a more backwards-compatible release system following some established Sun guidelines.

    21. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      >After all, what can Capitalism offer that Socialism doesn't?

      But there are purely capitolistic governments to date. Each government has elements of socialism (think social security). That just puts a state closer to one side than the other. Neither is great by itself. Remember that the Fascist governments claimed themselves to be the most capitolistic governments in the world (i.e. perfect union between state and corperation).

    22. Re:Not Java but the Solaris JRE by MeanMF · · Score: 1

      Memory usage is definitely a problem under Windows. My company was looking at deploying a Java-based product to our users via our Citrix server, but it turned out that each instance of the application took over 90mb of memory just to load up. We ended up using a similar product written mostly in VB that uses less than 20mb per user and runs noticably faster.

    23. Re:Not Java but the Solaris JRE by KAMiKAZOW · · Score: 1
      Sure, Java doesn't suck, it's just the JRE.

      And communism doesn't suck, it's just all the implementations!



      This isn't "Funny". It's "Insightful".
      Communism doesn't suck. I just don't know any country that ever had real communism or socialism.


      Dictatorship with communist slogans isn't communism or socialism - it's stalinism.

    24. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      > Sure, Java doesn't suck, it's just the JRE.
      >
      > And communism doesn't suck, it's just all the
      > implementations!

      The only implementations of Java are on Solaris? When did that happen? I can tell you that a more than Java is slow and clumsy on Solaris. If it weren't for their support policies, Solaris would have died years ago.

    25. Re:Not Java but the Solaris JRE by God!+Awful+2 · · Score: 1


      Communism doesn't suck. I just don't know any country that ever had real communism or socialism.

      I didn't realize it was possible to both get the point and completely miss the point simultaneously.

      -a

    26. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      Communism doesn't suck. I just don't know any country that ever had real communism or socialism.

      And why do you suppose that is? You'd think that out of the dozens of countries that have tried it, ONE would've gotten it "right". Instead, it degenerates into slavery and mass-murder every single time.

      Could it be, oh, I don't know, that communism DOESN'T FUCKING WORK? And that when it fails miserably (as it inevitably does), true believers, such as yourself, start looking for scapegoats to send off to the gulag, rather than questioning your religious beliefs?

      Nah. Couldn't be.

    27. Re:Not Java but the Solaris JRE by tempest303 · · Score: 1

      you mean like Sweden? :P

    28. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      Okay, what is *real* communism then?

      If you want to claim its a magical peaceful land where everyone has a beachfront mansion on a hill, works only 30 hours a week doing what they enjoy, has steak and and ice cream every day for dinner, and their own private old growth forest wetland to enjoy not visiting, then that's just a different name for something that we already have... it's called a fairy tale.

    29. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      Fascist governments claimed themselves to be the most capitolistic governments in the world (i.e. perfect union between state and corperation).

      Don't know a whole lot about capitalism, do you?

    30. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0
      Don't know a whole lot about capitalism, do you?

      Don't know a whole lot about fascism, do you?

    31. Re:Not Java but the Solaris JRE by crmartin · · Score: 0, Troll

      Clearly you've never actually seen what real fascism is like.

    32. Re:Not Java but the Solaris JRE by jcast · · Score: 1

      I just don't know any country that ever had real communism or socialism.

      That's because Communism's assumptions (e.g. scarcity is a product of capitalism) are in inescapable contradiction to the real world.
      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    33. Re:Not Java but the Solaris JRE by Malcontent · · Score: 1

      " 99% of corporations work as intended. They maximize profit for the shareholders and provide services like food, cars and this nice Internet we all enjoy."

      All the while consuming the earths resources at a much higher level then is sustainable.

      --

      War is necrophilia.

    34. Re:Not Java but the Solaris JRE by rodgerd · · Score: 1

      The fatal flaw with communism is much the same as with libertarian thinking, and most other secular "isms" - that there is an identifiable class of persons (capitalists, Jews, welfare recipients, what have you) who are causing otherwise decent people to behave badly, and that if one only removed that class of persons, a utopia would flourish as people behaved in a socially and personally optimal way.

    35. Re:Not Java but the Solaris JRE by jcast · · Score: 1

      I dare you to name one credible example of that kind of thinking in any piece of libertarian literature.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    36. Re:Not Java but the Solaris JRE by snarkasaurus · · Score: 1

      This argument is childish. Who pays for the R&D that keeps the Intenet going? American corporations, specifically Cisco, Intel, Microsoft (there I said it!), IBM, AT&T and etc.

      Those guys pay the shot so you can spew unsupportable nonsense on Slashdot.

      In fact, Slashdot is a corp and is owned by another, bigger corp.

      Do companies sometimes get taken over by criminals, like Enron did? Sure! Have we caught them all? No! Is Disney and AOL/Time/Warner a bunch of dorks ruining three formerly strong companies? Yes!

      But are American companies in general responsible for all the ills of the country and the world? Poisoning the air, the water, the little furry bunnies?

      Doubt it!!!! You want to make THAT argument you better have names, dates and recipts. And you don't.

      So go get 'em, or shut the fuck up. Boy.

    37. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      That was fucking constructive!

      Fascism is SOCIALISM, dick brain! It is of the LEFT, not capitalist at all.

      Go and read.

    38. Re:Not Java but the Solaris JRE by Anonymous Coward · · Score: 0

      So, they tattoed numbers on all the women and children they have locked up at Guantanamo, did they? Built a bunch of gas chambers made to look like showers?

      Uh huh, sure they did.

    39. Re:Not Java but the Solaris JRE by CommieLib · · Score: 1

      Quoth Adam Smith.

      --
      If your bitterest enemies are people who hack the heads off civilians, then I would say you're doing something right.
  4. ... nothing new under the sun by imperator_mundi · · Score: 2, Troll

    people spend far more time chattering about java than using software written with it...

    maybe because talking about is the only field where java and c/c++ have the same performances.

    1. Re:... nothing new under the sun by xintegerx · · Score: 1

      I use JEdit.

      But only to edit .java files, though... I guess you have a point about java applications, then.. :/

    2. Re:... nothing new under the sun by DarthWiggle · · Score: 4, Interesting

      Why in God's name is this modded troll? Have we offended the slathering hordes of Java devotees? Lemme tell all of you something, when I was laid-off from a position, I went to interview with two shops, both with a heavy Java focus, and roughly equivalent in their focus, style, and clients. I didn't get a job with the first. But with the second, I was given some very good advice: Talk a lot about J2EE, Beans, and a bunch of other buzzwords, a few of which I had never heard of. "Doesn't matter if you don't know, man, just throw the words in. That's all they care about."

      Got the job.

      Java is so much about a culture and not a technology that it's disgusting. And it's a pity too, because all the PRINCIPLES of Java (portability through the VM, objectification, etc.) are so good that Microsoft took them to build .NET. (Don't start gnawing on me because I put "portability" and ".NET" in the same sentence - I was referring to the VM.)

      Hell, I think Java is a great language. It concerns me that it takes seventeen steps to accomplish something as basic as opening a database connection, grabbing some results, and outputting them into an HTML stream (and seventeen may be generous). But, it's a very straightforward language, very teachable because it's so logical.

      But too much of the culture is fluff. Why is it that Sun doesn't focus on point releases that improve performance but instead focuses on getin gthe newest buzzword, uh, "feature" out the door? Why did they invent something called Java2 which is, IIRC, just Java 1.3? Because they're more concerned about IMAGE than about getting their product - which is great in principle - in a usable state.

      But let's talk substantively. I've developed large scale server-side applications in Java, C, C++, and - on the web-app side - PHP, Cold Fusion, and ASP.

      The slowest of those was, almost without exception, Java. Java took the most coding to do a basic task, and Java was BY FAR the most difficult to package, deploy, and deliver to my customers. That's a real pity, because I was about 90% certain that our customer's architecture didn't really matter if we were playing with Java. Upgrading those old Dell NT servers to IBM? No problem. We'll just move the app over, and it should run without a hitch.

      But, lord have mercy, it ran slowly.

      To top it all off, here's some advice I received from a Java-guru at another company. I was griping about how slow Java was, and he said to me, "Oh, everybody knows it's slow. But why worry? Hardware's getting faster every day. True, 2ms is half the speed of 1ms, but who's gonna notice?"

      I almost fell off my chair. It's that sort of laziness that makes my skin crawl.

      Look, I love Java. I want it to succeed. It's a brilliant idea: an utterly cross-platform language whose apps run without regard to the hardware and OS under them.

      But it's a seriously flawed masterpiece.

      (The funny thing is, I was just going to write "Why was this modded troll? But then my post bloated... kinda like how you go to write "Hello World" in Java and... ok, ok, nevermind.)

    3. Re:... nothing new under the sun by Anonymous Coward · · Score: 0

      People always said that Java and C++ have same performances if you can optimize your Java code.

      umm... I'm only a rookie, but I really hope that someone can teach me how to optimize the Java HelloWorld so that it can run as fast as the C++ version.

      I believe Java can run fast, in case you know how to optimize it.

    4. Re:... nothing new under the sun by arkanes · · Score: 1
      I don't normally do the me to thing, but I'm going to here. The religion surrounding Java drives me insane, and I actually have great hopes for .NET, which is like Java done right. If MS can resist the temptation to cripple it on non-Windows platforms, or to make changes that break Mono, and all the other crap they're known to do, then they've got a winner.

    5. Re:... nothing new under the sun by jfx32 · · Score: 1

      You say you like Java, yet you complain about how many steps it takes to do fairly simple operations. You then talk about how it is usually the slowest of the server side languages you have used. You say you want it to succeed, mostly because of the ideas behind it (cross-platform, etc).

      It sounds like you prefer the ideals of Java more than the language itself.

    6. Re:... nothing new under the sun by Anonymous Coward · · Score: 0

      Developers like Java....do USERS like Java? I doubt it. It's slower...has a larger footprint....

      Perhaps this will bring back the glory days of writing Java code and understanding EFFICIENCY and RUNNING TIME and HOW TO CODE RIGHT THE FIRST TIME RATHER THAN RELYING ON THE VM!

    7. Re:... nothing new under the sun by Anonymous Coward · · Score: 0


      Yes, that's exactly what he said. He likes the idea of a truly cross-platform language (the hackneyed phrase "write once, run anywhere" comes to mind) but the Java implementation is too closed, platform- and version-fragmented, and too slow. Frankly, I feel the same way too.

    8. Re:... nothing new under the sun by Fjord · · Score: 1

      Maybe it's modded a troll because people use Java every day without knowing it. Major sites serve their content through servlets.

      You are right that talking about J2EE stuff will get you hired. Mostly because there aren't enough good J2EE people around that if you can talk the talk it's enough to have them see if you can walk the walk. At many places, they don't have J2EE experience in house so you can coast when you get there because no one knows enough to realize what you don't know.

      But take it from me, someone who knows J2EE, that there is actually some great stuff in there. Stuff that's useful for building real business applications. I'm not saying it's better or worse than .NET, since I don't know .NET. But Java is more than smoke and mirrors, it's a real technology that is continuing to prove itself.

      --
      -no broken link
    9. Re:... nothing new under the sun by Anonymous Coward · · Score: 0

      To top it all off, here's some advice I received from a Java-guru at another company. I was griping about how slow Java was, and he said to me, "Oh, everybody knows it's slow. But why worry? Hardware's getting faster every day. True, 2ms is half the speed of 1ms, but who's gonna notice?"

      I almost fell off my chair. It's that sort of laziness that makes my skin crawl.


      I take it, then, that you write all your code in assembly language? No? Then perhaps there are circumstances in which portability and productivity are more important than raw execution speed?

  5. Quick version: by RawDigits · · Score: 1

    While java encapsulates many features not found in standard C/C++ it is still bloated and slow.

    We will remain committed to selling large Sun Enterprise servers to power these applications, however we should be more practical internally.

  6. Sun's Internal Argument by Jrod5000+at+RPI · · Score: 5, Insightful

    To me, this report seems to be the manifestation of a battle going on with Sun between the Java Engineers and the folks who integrate Java with Sun's other products. They went to the Engineers initially to explain the problems, but it didn't change anything. So they wrote a damning memo to management to force them to deal with the situation.
    This isn't Sun saying to the world that Java sucks, its simply two groups within Sun saying that their official implementation needs to have a few bugs worked out.
    -jrod5000

    1. Re:Sun's Internal Argument by Anonymous Coward · · Score: 0

      To be more exact, it is one group claiming they need to controll java. This is an internall pissing war, defining territory, and ownership of people within a massive and chaotic commany. While all of the technicall arguments are true... Sun has little interest in fixing most of them.. they can sell more sun hardware if java conusmes more processing and memory on solaris then windows. And it sure is expensiveto hire the engineers to fix bugs, rather then the indian middle managers they currently have, just closing them in the defect tracker.

  7. From the article... by Whispers_in_the_dark · · Score: 4, Informative

    A study performed by an outside team appears to indicate a rough parity in performance between Java and a common implementation of another OO language called Python (see IEEE Computing, October 2000, "An Empirical Comparison of Seven Programming Languages" by Lutz Prechelt of the University of Karlsruhe). Both platforms are Object Oriented, support web applications, serialization, internet connections and native interfaces. The key difference is that Python is a scripting language. This means there is no compilation to byte code so the Python runtime environment has to do two things in addition to what the Java runtime environment does. It has to perform syntax checks and it must parse the ascii text provided by the programmer. Both of those tasks are performed at compile time by Java and so that capability does not have to be in the JRE.


    Assuming the memo is for real, this is a real boon for the Python community, even though it gets the bit about bytecode compilation wrong (Python DOES compile to bytecode and one CAN take the bytecode and ship without source). The point about Python carrying its compiler with it is true but IMHO it is a feature, not a bug. It always bugged me that Java had no good mechanism to compile simple expressions on-the-fly.

    I am, however, a little leary on the performance parity bit. Don't get me wrong, I love programming in Python, but I know from experience that it still costs a good bit to create all the dictionaries that are used for frame construction, global maniuplation, and object management.

    Python is, however, fast enough for a great many applications. I'm just a little skeptical about it being quite as fast in certain aspects.
    1. Re:From the article... by Anonymous Coward · · Score: 0

      I am, however, a little leary on the performance parity bit. Don't get me wrong, I love programming in Python, but I know from experience that it still costs a good bit to create all the dictionaries that are used for frame construction, global maniuplation, and object management.

      You're right to be leary. At my company, or research department put together a program that it was estimated would take 1 YEAR to run. Rewritten in Java, it took about a month.

    2. Re:From the article... by The+Mayor · · Score: 4, Insightful
      It has always bugged you that Java had no good mechanism to compile simple expressions on-the-fly? Here are a few options for you:
      • Jython is a Python scripting engine for Java. There, now you can use Python within the JVM! <sarcasm>Get the worst of both worlds!</sarcasm\>
      • Rhino is a Javascript engine for Java.
      • Jacl is a TCL engine for Java.
      • Bean Sripting Framework is a generic wrapper for including scripting languages within your application. It's from IBM, and is intended to abstract away the implementation of the scripting language. It supports Jython, Jacl, and Rhino now. It seems like I remember IBM releasing something for REXX as well.
      My point here is that saying that Java doesn't include an interpreter is a downfall to Java is like saying that Perl not having a JVM is Perl's downfall. It's not their design goal. Java is a bytecode-interpreted language, not an interpreter. If you want an interpreter you can easily add one. And many are available.

      Performance isn't great, but reports have indicated that Jython is about 75% of the performance (near the end of the article...search for the word "performance") of CPython. It's slower than Java code of the same type. But, hey, if you wanted speed you wouldn't be using interpreted code (or byte-code interpreted code, for that matter), right?

      --
      --Be human.
    3. Re:From the article... by Whispers_in_the_dark · · Score: 1

      Those are all good ways to add an interpreter to Java. OTOH, what I was trying to say is that that JAVA should have a way to compile JAVA expressions without needing a separate language to compile to Java bytecode. I mean, if I want a program to be able to evaluate "3+5" I have to add whole other languages or write the parser myself? Sheesh.

      Plus, I never said not having the evaluator was it's downfall, only that it bugged me. However, an admission like that, if real, lends more credibility to Python, which is frequently dismissed in Java and Perl circles despite having several features that the others lack (generators anyone?).

      Java is a fine tool for many things and as I said I am leary of the claim that Python is performing as well as Java. My contention with the article is that having the compiler around, considering it is relatively tiny, is a PLUS, not a MINUS in Python's favor.

    4. Re:From the article... by Anonymous Coward · · Score: 0

      As I know you can also compile Perl to bytecode. I don't think with/without VM will lead to downfall or not. But the performance of the VM/interpreter really does matter.

    5. Re:From the article... by Anonymous Coward · · Score: 0

      It always bugged me that Java had no good mechanism to compile simple expressions on-the-fly.

      IOW, Java's not enough like lisp.

    6. Re:From the article... by Daniel+Phillips · · Score: 4, Insightful

      I am, however, a little leary on the performance parity bit. Don't get me wrong, I love programming in Python, but I know from experience that it still costs a good bit to create all the dictionaries that are used for frame construction, global maniuplation, and object management.

      I did a little benchmarking recently, and I can confirm that for typical algorithmic benchmarks (not heavily library or IO oriented) Python is more than 100 times slower than C/C++. There's a Python "specializing compiler" called Psyco that produces significant speedup, running my little fibonacci test around half the speed of C, very impressive.

      Java on the other hand has had huge amounts of effort and money put into making it run faster, and to my surprise, I found it now runs my fibonacci benchmark faster than gcc-compiled C. Overall, Java performance has improved from horrible to tolerable. Programs are still taking a long time to start, even on a beefy machine, but to be fair, I've seen some long startup times on some C++ programs as well.

      Python really beats Java in startup time, with the result that Python gets used here and Java doesn't.

      Python is, however, fast enough for a great many applications. I'm just a little skeptical about it being quite as fast in certain aspects.

      I see Pysco has made it into Debian Sid, this is a good sign.

      --
      Have you got your LWN subscription yet?
    7. Re:From the article... by dusty123 · · Score: 1

      It is real, have a look at:
      This location.
      Pretty interesting.

    8. Re:From the article... by Anonymous Coward · · Score: 0

      Then use one of the Java interpreters in Java then. Beanshell is one I use frequently.

    9. Re:From the article... by esme · · Score: 1
      In my experience, the only performance problem with Java is the JVM startup. So it depends greatly on what kind of app you're working with.

      If you're doing a simple command-line program where it performs one simple task, then the JVM startup time will kill your performance. But if you're doing an application that does a lot of processing, once the JVM is loaded, I have found Java to be faster than many native programs. For example, I've found Xalan-J to be about 10% faster than libxslt, when I'm running a Java app that does thousands of XSLT transforms.

      That said, I still use libxslt on the command line, and for simple single-transform apps, b/c there is zero startup penalty.

      When you're running inside a Servlet or EJB container, where the JVM and probably your classes are already loaded, there is no performance difference between Java and other languages.

      -Esme

    10. Re:From the article... by HorsePunchKid · · Score: 3, Informative
      You missed one of the best options for this kind of thing in a Java environment. See my previous post regarding BeanShell. It's an excellent piece of open-source software. Oh, and don't forget Ant.

      --
      Steven N. Severinghaus
    11. Re:From the article... by Anonymous Coward · · Score: 0

      Load Beanshell or Rhino or whatever everytime you want to do an eval() or expr() or sum()? That's the problem with the Java mentality.

    12. Re:From the article... by The+Mayor · · Score: 1

      Yes, right. BeanShell is exactly what this guy was looking for in the first place, too. The ability to interpret Java code.

      --
      --Be human.
    13. Re:From the article... by salmo · · Score: 1

      I'm interested in seeing the code in the three languages that you were using. I'd like to see where the bottlenecks are and see what specificly causes these results. I would think that C would be faster than Java, which would be faster than Python (but none by 100 x). I'm not saying that you're wrong, but now I'm interested in why.

    14. Re:From the article... by Kumkwat · · Score: 1

      I do would like to have a look at the src u used to do the benchmarking, I'm looking at dynamic typing issues and the tradeoff's associated with them...performance would be a good one..

      Would u mind sending me them?

      Thank u
      Jason.

    15. Re:From the article... by Internet+Dog · · Score: 1
      I did a little benchmarking recently, and I can confirm that for typical algorithmic benchmarks (not heavily library or IO oriented) Python is more than 100 times slower than C/C++. There's a Python "specializing compiler" called Psyco that produces significant speedup, running my little fibonacci test around half the speed of C, very impressive.

      If you are testing something like fibonacci encode in pure Python then yes it will be 100 times slower than C/C++. But if you are doing real world work then you can use the Python library for the most commonly used algorithms, and the libraries are generally well optimized. It's the Batteries Included part of Python that makes it such a productive environment. Optimization is suppose to be the last step in the coding cycle. Get it write in Python first and then recode the bits that are too slow to tolerate in C.

      People are using Python for high performance applications. It's all about good software design. If performance was an issue then LLNL wouldn't be using Python to control applications that run for days on supercomputers. Performance isn't an issue because the Python code just sets up the problems to be solved. Python assembles the standard algorithsm and calls them with the appropriate datasets. Also, the Zope server, written in Python, scales to very large web sites because it uses well placed optimization

    16. Re:From the article... by Daniel+Phillips · · Score: 1

      It's the Batteries Included part of Python that makes it such a productive environment. Optimization is suppose to be the last step in the coding cycle. Get it write in Python first and then recode the bits that are too slow to tolerate in C.

      That would be fine if Python had a more efficient C interface than it does. What's it has sucks supremely. You parse ascii text to unpack each parameter. Grief. The result of this is, you can't write just the little parts that suck the time in C, you have to wrap these in enough surrounding program to cut down the number of times you have to cross the C-Python boundary.

      Mind you, I still like Python, but I shy away from it for any heavy lifting. The Python crowd really do need to look seriously at native code generation, it's just not something you can ignore forever. As it stands, I see Python as a more elegant, maintainable way of writing the kind of scripts that have traditionally be done in Bash and Perl.

      --
      Have you got your LWN subscription yet?
    17. Re:From the article... by Daniel+Phillips · · Score: 1

      I do would like to have a look at the src u used to do the benchmarking, I'm looking at dynamic typing issues and the tradeoff's associated with them...performance would be a good one..

      Would u mind sending me them?



      ---------
      fib.c:
      ---------
      int fib(int n)
      {
      return (n<2)? 1: fib(n-1) + fib(n-2);
      }

      int main(void)
      {
      int n = 35;
      printf("fib of %i = %i\n", n, fib(n));
      }

      ---------
      fib.py:
      ---------

      def fib(n):
      if(n < 2):
      return 1
      else:
      return fib(n-1) + fib(n-2)

      import psyco
      psyco.bind(fib)

      print fib(35)


      Try it with and without the "import pysco".

      --
      Have you got your LWN subscription yet?
    18. Re:From the article... by Daniel+Phillips · · Score: 1

      I'm interested in seeing the code in the three languages that you were using. I'd like to see where the bottlenecks are and see what specificly causes these results. I would think that C would be faster than Java, which would be faster than Python (but none by 100 x). I'm not saying that you're wrong, but now I'm interested in why.

      Oh, and the java version:


      class Fib {
      static int fib(int n) {
      return n<

      The jit-compiled Java ends up running faster than the gcc-compiled C probably because of better register optimization, and possibly elimination of the tail-recursion. I didn't look at the assembly code from the C this time, but every time I do, I tend to see extra instructions being generated that should have been optimized away with simple peephole optimization. Lots of room for improvement.

      --
      Have you got your LWN subscription yet?
    19. Re:From the article... by Daniel+Phillips · · Score: 1

      I do would like to have a look at the src u used to do the benchmarking, I'm looking at dynamic typing issues and the tradeoff's associated with them...performance would be a good one..

      Oops, heres's the rest of it, from the <=:

      <=2? 1: fib(n-2) + fib(n-1);
      }

      public static void main(String args[]) {
      int n = 22;
      System.out.println("Fib of "+n+" is "+fib(n));
      }

      }


      The jit-compiled Java ends up running faster than the gcc-compiled C probably because of better register optimization, and possibly elimination of the tail-recursion. I didn't look at the assembly code from the C this time, but every time I do, I tend to see extra instructions being generated that should have been optimized away with simple peephole optimization. Lots of room for improvement.

      --
      Have you got your LWN subscription yet?
  8. Where I saw something like that? by gmuslera · · Score: 1
    In personal conversations with Java engineers and managers, it appears that Solaris is not a priority

    Maybe within IBM talking about OS/2? Is nice to hire people to dig our own grave.

  9. "viva la resistance" by ajole · · Score: 2, Insightful

    This damned langauge will go one of two ways:

    they'll fix it,
    or it'll die (phase out, dehype, become far too slow and filled with awkward design mechanisms that it cannot survive any longer).

    --
    -P ...and the boy pulled open his bleary eyes an discovered the python he always knew he was.
    1. Re:"viva la resistance" by Timbo · · Score: 1

      ...or it'll get replaced by C#.. like it or not.

    2. Re:"viva la resistance" by ajole · · Score: 2, Interesting

      heh. Or J#. already used it. Like all of the MS languages/implementations, its fast as balls. I used it for a project last week simply because compiling a 7 class app took
      amazing how Microsoft just decides to implement a language, and it outperforms the original by logorithmic factors.

      --
      -P ...and the boy pulled open his bleary eyes an discovered the python he always knew he was.
    3. Re:"viva la resistance" by Anonymous Coward · · Score: 0

      The good thing about Microsoft development tools is that they tie developers in to using them; that way it stops them from poluting some other, unspoilt environment.

      Steve - Windows Programmer / Whore.

  10. What's the point? by CoderByBirth · · Score: 4, Insightful

    This memo states that Sun believes their Solaris implementation of Java to be flawed.
    It states the flaws; ie. which flaws should be fixed.
    So?

    A REAL "shocking memo" would be one in which the company goes out of it's way to not criticize it's own product.

    1. Re:What's the point? by rodgerd · · Score: 2, Interesting

      Insightful? For what? Not even reading the memo?

      If you bothered reading the piece before clicking "Post a slaverng Java fanboi response", you';d notice the engineer is recommending Java is so bad at Sun it not be used BECAUSE THE JAVA ENGINEERING TEAM WILL NOT FIX IT. Because they regard features as more important than a stable API or bug-free runtime.

    2. Re:What's the point? by SubliminalLove · · Score: 1

      I think this is an excellent point. While I'm in strong agreement with all the problems that need to be fixed in Java (and am amazed at some of the ones I didn't even know about, being a third-year CS student and not a real programmer), I think we should give Sun kudos for acknowledging that there are major flaws in their own language.

      Now, on the down side, this is an internal memo, so it wasn't really supposed to be public knowledge, right? And a lot of the problems seem to be related to Sun's unwillingness to fix glaring problems in their design and update process. So maybe they get neutral kudos.

    3. Re:What's the point? by fastdecade · · Score: 1

      Now, on the down side, this is an internal memo, so it wasn't really supposed to be public knowledge, right?

      It's an internal memo, but I doubt Sun are naieve enough to expect it remain internal. This is evident in the guarded language used, e.g. the opening paragraph includes "While the Java language provides many advantages over C and C++" and "these issues are not inherent to Java".

      They do go on to mention "the Java problem" a few times, but on the whole, the memo reads as one intended to be constructive.

      Gosling has at times been criticised for being too much of a fanatic, but really I think Sun has generally been quite open in their assessment of Java.

      A great example of Sun's open attitude is Josh Bloch's "Effective Java" book. This is a Sun guy responsible for the collections framework, among other things. In the book, he is quite objective about where the Java API implementation sits according to his Java tips. For instance, he points to classes that should have been declared final (in his opinion), some classes could have been made immutable, etc. OO design concepts have matured since Java was developed, so there's no shame in admitting these things.It is only a shame when such problems are not admitted, and just swept under the carpet (as the poster above mentioned).

      The nice thing about Sun's business model for Java, in contrast to a more private model, is that they are forced to be responsive because they have many partners, and benefit greatly from open source. If Sun were ever to begin treating their comments on Java as nothing more than a public relations exercise, they may as well start making all their boxes run C#.

  11. Hey wait a minute ! by Anonymous Coward · · Score: 1, Informative

    Did you "read" this, it says the problem is
    "Solaris" not java itself !.

    1. Re:Hey wait a minute ! by Jugalator · · Score: 1

      You'd also see how many of the problem might give cross-platform problems. Perhaps that's why Sun themselves call their problem as "the Java Problem" and not "the Solaris JRE Problem" in the memo.

      --
      Beware: In C++, your friends can see your privates!
    2. Re:Hey wait a minute ! by Anonymous Coward · · Score: 0

      Actually, its the fact that according to the memo the Java team does not consider Solaris a priority. Gee... thats interesting, they don't consider their *own* OS a priority???

    3. Re:Hey wait a minute ! by axxackall · · Score: 2, Interesting
      Yes, that's right. MS Windows is the highest priority for them. They do it for money, not for fun. And money comes in Java sales from Windoes, not from Solaris.

      However, most of problems mentioned in the article are the same on all other platforms. For example the size of "Hello world" program (including RE) and how it grows with complexivity is a real Java problems. Check you memory for even small real-world (10 users, shopping cart with a catalog in SQL) application with EJB (JBoss), no EJB (just Tomcat servlets) and Zope. 250MB vs 75MB vs 15MB.

      Java has been developed at time when CEOs/CTOs/COOs/CFOs have been counting fundings, not expenses and profits. When the buzzword had more priority than real features and problems in any technology choices. The time of "golder rush" is over, cool down. Now it's time to think. Sun begins to think. I hope it's not too late.

      --

      Less is more !
    4. Re:Hey wait a minute ! by crmartin · · Score: 1

      You're mising something (which is admittedly not a technical point, and also admittedly is something I know about because I saw it in person) --

      The point of the memo wasn't to complain that they want to use java but the JRE sucks, it's that they don't want to use java because they'd rather stick with C. It's a continual problem within Sun, which the Solaris JRE issues only serve to inflame.

    5. Re:Hey wait a minute ! by crmartin · · Score: 1

      Exactly. Scott's trying to kick MS's ass, not his own.

    6. Re:Hey wait a minute ! by Anonymous Coward · · Score: 0

      Yes, it is the SOLARIS IMPLEMENTATION of Java that is the problem. I havent programmed Java on Solaris for a couple of years now since performance for large memory intensive progams got better on cheap fast Linux boxes.

  12. shoot self in foot, then head ... by HealYourChurchWebSit · · Score: 0



    I always thought Sun made a mistake by not working with Microsoft when it came to Java -- especially with regards to Sun's . Some of the weaknesses I read in the article are exactly what Microsoft aimed at with their .NET architecture.

    On a lighter note, "Mean Dean's Semi-Definitive Guide to Selecting a Programming Language" describes the process of shooting yourself in the foot with Java as "The gun fires just fine, but your foot can't figure out what the bullets are and ignores them."

    --
    --- have you healed your church website?
    1. Re:shoot self in foot, then head ... by Anonymous Coward · · Score: 0

      I always thought Sun made a mistake by not working with Microsoft when it came to Java

      I think Sun's problem had to do more with Microsoft's version of "Embrace and Extend," which would have defeated the original purpose of Java and made it a platform dependent language (remember J++?). It's no secret that there's not much good blood between the two companies, and Sun sacrificing their sacred cow, Java, to the betterment of relations wasn't likely, given Microsoft's history with both friend and foe (whom theiy often made no disticntion amongst).

    2. Re:shoot self in foot, then head ... by the+eric+conspiracy · · Score: 2, Funny

      Did you see the entry for C#?

      "The gun fires just fine, but your foot can't figure out what the bullets are and ignores them."

      Quite amusing.

    3. Re:shoot self in foot, then head ... by Rhinobird · · Score: 1

      I like one of the replies:

      Perl: You shoot at your foot. Or you could put your foot in the way of a bullet. Or shoot up in the air and have the bullet land on your foot. Any way you choose to do it, you've shot yourself in the foot

      --
      If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
    4. Re:shoot self in foot, then head ... by david+duncan+scott · · Score: 1
      I love that list, but he missed one. I think it was Concurrent Euclid in which "you shoot yourself in someone else's foot"

      The FORTH "yourself foot shoot" has "bumper-sticker" written all over it (along with, wasn't it, "FORTH LOVE IF HONK THEN"?)

      --

      This next song is very sad. Please clap along. -- Robin Zander

    5. Re:shoot self in foot, then head ... by Have+Blue · · Score: 1

      That's not good as the original I usually hear: "Foot yourself in the shoot".

    6. Re:shoot self in foot, then head ... by beanerspace · · Score: 1

      Cool list! I also see you were mod'd down a point. Probably because you didn't lock-n-step with the /. crowd and said something positive about Microsoft -- even though their virtual machine is nothing to sneeze at.

      I also like the similarity in the "shoot foot" anology between Java and C#. Clever.

    7. Re:shoot self in foot, then head ... by david+duncan+scott · · Score: 1

      Ah, but Forth wouldn't have those superfluous words "in" and "the". "Foot yourself in the shoot" is just bass-ackwards English. "Foot yourself shoot" seems closer to an actual fragment (strictly, I suppose, "FOOT YOURSELF SHOOT")

      --

      This next song is very sad. Please clap along. -- Robin Zander

    8. Re:shoot self in foot, then head ... by Anonymous Coward · · Score: 0

      s/what/where/

      There is a difference between the C# and Java entries...

  13. Unfortunately, I am not surprised by random_me · · Score: 5, Interesting

    When people ask me about using Java, I always give them a simple answer: it is much nicer to program in then any other language that I use (except for API changes over different versions), but it takes way too much memory and is too slow for programs that I would use regularly.

    The memo agrees with me and lists the huge memory requirements as the number 2 problem (number 1 is that Java programs require the JVM to run).

    Considering that compiling Java into a native executable would seriously improve its performance (and remove the JVM requirement), I wonder why the memo doesn't discuss that possibility?

    1. Re:Unfortunately, I am not surprised by Anonymous Coward · · Score: 0

      If you mean JIT compilation with caching, I'm pretty sure it already does that..

      If you mean the developers keep different builds, then you have just killed java.

    2. Re:Unfortunately, I am not surprised by the+eric+conspiracy · · Score: 1

      I wonder why the memo doesn't discuss that possibility?

      Because that is not the topic of the memo. The first sentance of the executive summary is:

      While the Java language provides many advantages over C and C++, its implementation on Solaris presents barriers to the delivery of reliable applications.

    3. Re:Unfortunately, I am not surprised by khuber · · Score: 1
      Considering that compiling Java into a native executable would seriously improve its performance (and remove the JVM requirement), I wonder why the memo doesn't discuss that possibility?

      Compiled Java can't do some things at runtime like dynamic classloading. From the benchmarks I've seen, compiled Java is slower.

      I think that would be a step backwards, away from powerful runtime capabilities, and away from the write once run anywhere goal. There are plenty of compiled languages you can use if that is your wish.

      -Kevin

    4. Re:Unfortunately, I am not surprised by axxackall · · Score: 1
      Considering that compiling Java into a native executable would seriously improve its performance (and remove the JVM requirement), I wonder why the memo doesn't discuss that possibility?

      Java has been designed originally as "compile once, run everywhere".

      Well, we all know that it is not true and there is a bunch of code out there that works only on Windows, without serious bugs at least. Also, {J|W|E}AR packages still require some OS-specific packages allowing them to be deployed (for example, RPM on RedHat). So, a developer still has to take care about OS the application will work.

      I agree, "cross-platform" idea of java has failed by many sides. Sun begin to realize that scripting langugaes also have many adventages (memory consumption, development time) against comiled one.

      Personally, I was always wondering, why not let Java code to be scripted (like Python or Perl), byte-compiled (like it is today) and native compiled (like C++, not like JNI). But that isa my personal point. Deep inside Sun they have to count their political and marketing strategic mistakes. They cannot "fix" them as it won't be a "fix" - that won't be Java anymore. All they need is to either re-write the idea of Java completely (too expensive, especially keeping the backward compatibility) or to give Java up in favor of Python (politically difficult).

      --

      Less is more !
    5. Re:Unfortunately, I am not surprised by Anonymous Coward · · Score: 0

      [i]Compiled Java can't do some things at runtime like dynamic classloading. From the benchmarks I've seen, compiled Java is slower. [/i]

      So what? In all my years using java I have *never* needed dynamic classloading in my apps.

      I have however needed something that performed well and used memory efficiently, on these counts java fails dismally.

    6. Re:Unfortunately, I am not surprised by battjt · · Score: 2, Insightful
      remove the JVM requirement


      Uhm... The JVM is a library, like libm is a library. Removing the JVM is like removing lib libgnome*. If you want to run program that use the features of gnome, you have to install the libraries. If you want to use the features of the JVM, it needs to be installed. If you want those features in another language, you'd need to install some other libraries (gc, gui, etc.), so it should be considered unreasonable.

      Would it be better to link the apps statically?

      Joe

      --
      Joe Batt Solid Design
    7. Re:Unfortunately, I am not surprised by Raiford · · Score: 1
      Am I missing something in this thread or have folks been under a rock ? Perhaps all APIs aren't supported by these compilers but most are and in time they probably all will. I have tried JET and even though my benchmarking was only cursory I was seeing performance comparable with compiled c++.

      --
      "player 4 hit player 1 with 0 stroms"
    8. Re:Unfortunately, I am not surprised by Bodrius · · Score: 1

      Since Java makes money mostly from all those Enterprise/Web Application Servers, and these depend (a lot) on the ability to dynamically load classes into a flexible hierarchy of ClassLoaders with security restrictions and all that, dropping dynamic classloading would kill one big advantage of the language.

      Restarting your application server to load/update a class is not fun, particularly when it's expensive downtime.

      If you haven't seen dynamic classloading being used yet, it's probably because you're dealing with a subset of Java that's not as interesting for Sun, or you're not seeing through the abstractions.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    9. Re:Unfortunately, I am not surprised by chaeron · · Score: 1
      > Considering that compiling Java into a native > executable would seriously improve its > performance (and remove the JVM requirement), I > wonder why the memo doesn't discuss that > possibility?

      There are such compilers already out there. I have had great success writing Java code for Palm PDA's using the open source Jump tool which compiles down to native MC68K code. Great performance compared to a JVM (eg. SuperWaba), and makes Java that much more attractive on constrained devices.

      --
      .....Andrzej

      Chaeron Corporation
    10. Re:Unfortunately, I am not surprised by khuber · · Score: 1
      Use C? Java's advantage to me is a good static vs. dynamic balance, not its raw efficiency. Tons of stuff uses dynamic classloading like JDBC, RMI, and JMX. Developing servlets would really suck without dynamically reloading changed classes. I mean really, semis aren't fuel-efficient commuter cars but they're handy for hauling a lot of stuff. There is no one size fits all computer language.

      I agree that Java is piggish for client apps, but I work on server apps so it's not my concern. I use the Eclipse IDE though which does fairly well.

      -Kevin

    11. Re:Unfortunately, I am not surprised by Anonymous Coward · · Score: 0

      If you mean the developers keep different builds, then you have just killed java.

      Why would having different binaries kill java? The idea was to have the same code for any system, and you can still do that. A native binary would alleviate many of the speed issues (and boy, does java ever have speed issues under a JVM), and allow java to function more like a programming language than a scripting language.

      Given that java coders have to compile, test, and add special cases for different JVM's now, removing the JVM and switching to compiled binaries wouldn't kill java - it would give it a new shot at life.

    12. Re:Unfortunately, I am not surprised by pyrrho · · Score: 1

      I asked this of a poster above, what is the problem loading classes dynamically in the compiled version?

      other compiled languages can dynamically load and link to code in separate modules.

      What is the problem in compiled-java's case?

      --

      -pyrrho

    13. Re:Unfortunately, I am not surprised by UberDude · · Score: 1

      The JVM is exactly what it says - the Java Virtual Machine. It loads and executes Java bytecode, handles things like memory management and JIT, and provides a consistent interface between Java programs and the underlying operating system.

      The two distributions of Java are the JRE (runtime environment) and the JDK (development kit). There are three sets of JVM/JRE/JDK - the standard edition (J2SE), the enterprise edition (J2EE) for servers, and the micro (J2ME) for embedded solutions.

      For most common uses, the J2SE Runtime Env is all that should be required to be installed. But on Java 1.4, this has grown to 44Mb (for the international version - the US only version may be smaller). Of this, only about 8Mb is actually the JVM - the rest is made up of the HUGE library set which, as has already been mentioned, contains many of the extensions and modules that were once kept separate but have since been rolled into the main distribution.

      It is almost as if the whole of CPAN was bundled as part of the standard Perl installation.

      When it started out, Java billed itself as the first real network programming language, and as such it had a fantastic opportunity to move in the direction that platforms like Flash have since taken, that of small, optimised, download-on-demand components. Fair enough, applets do this to some extent, but I would have liked to see this in the JRE itself. Instead, what we get is an enormous, centralised lump of code that takes far too long to download and therefore isn't really practical for anything but heavyweight server applications.

      And as for the memo, whether it is a hoax or not it is right on many points. The java engineers, for whatever reason, simply will not fix many common issues with the language, and it is starting to drive people away.

    14. Re:Unfortunately, I am not surprised by Bodrius · · Score: 1

      It's not just dynamically loading a class.

      It's dynamically loading a class with a number of conditions: type-safety, lazy runtime checks and loading, class-loading customization, isolated contexts/namespaces with their own classes and security policies, etc.

      As far as I understand, the issue is that what Java provides requires a lot from the run-time system: type-safety checks, security checks, etc. which is provided by the VM.

      I don't know if this could be provided by compiled code, but my guess is that if it could, it would duplicate most of the VM into a runtime system for the running program. So each executable would bring a hefty and redundant RE along with it.

      The difference, it seems to me, is that Java assumes the code to be dynamically loaded to be unsafe and to come from an unknown source (network), and loaded through an unknown protocol (custom class loading), under unknown security constraints, all of which can be defined at runtime. So the VM has to be on top of everything.

      I think other compiled programming languages are more trusting with their dynamically loaded modules, so the runtime environment code is probably less cumbersome.

      I could be wrong, but I think the other languages that offer "safe" dynamic loading also have VMs.

      I just found This paper, which could be helpful.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    15. Re:Unfortunately, I am not surprised by Bodrius · · Score: 1

      To be a bit more concrete than in my other comment, I mentioned that:

      'Restarting your application server to load/update a class is not fun, particularly when it's expensive downtime.'

      I should add:

      When an enterprise buys that expensive application server, they prefer to still have to restart the app-server every time they update a class than to have it crash, lose or compromise data because a stranger (or an unskilled programmer) was able to update/load a new class.

      That I can recompile and update servlets in my web-app without restarting the server is convenient. That I can't see/touch other people's applications with which I share the server, even when I get my code into the machine (JVM), is vital.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    16. Re:Unfortunately, I am not surprised by crmartin · · Score: 1

      In all my years using java I have *never* needed dynamic classloading in my apps.

      This suggests you've effectively been writing C in Java, rather that writing Java.

      Most every realistic application in Java either uses dynamic class loading directly using Class.forName(), or does it under the covers in a bean container, J2EE, or the like. Or should.

      However, you're hardly alone in this.

    17. Re:Unfortunately, I am not surprised by Fjord · · Score: 2, Insightful

      Considering that compiling Java into a native executable would seriously improve its performance

      People often say this, without realizing that in 1996 there was a native code compiler by Assymetrix (part of SuperCede for Java) which didn't do well in the market dispite being the only native compiler for Java. Currently there is gcj, which I don't know of any projects that use it, but I think may have a subset of the Java API.

      For whatever reason, people say they want native compilation, but it's never really proven out as a need.

      I think a more significant speed improvement in Java would be to remove the += operator for Strings. You wouldn't believe how badly one of those in a loop can tank an app's performance.

      --
      -no broken link
    18. Re:Unfortunately, I am not surprised by pyrrho · · Score: 1

      I'm convinced the sandbox is an excellent isolation environment. However, I think the same thing is possible with traditional compiled languages eventually, it requires a uniformity that is easier simulated for now in a virtual architecture.

      And we are only really talking about taking arbitrary code and running it... something common on the client side, perhaps, but on the server side, and the enterprise systems, the code you run is in no way arbitrary. There is no doubt it can be made securely in that sense of the term "secure".

      --

      -pyrrho

    19. Re:Unfortunately, I am not surprised by Bodrius · · Score: 1

      On the first point, yes, the more I think about it the more I see no technical reason why the complex run-time issues handled by the VM cannot be handled by suitable complex compiled code. But there would be little practical advantage. I would think as more applications are loaded the memory utilization would explode, for example.

      Personally I'm not a big fan of the cross-platform myth. I think the VM in Java is a good idea because it's "safer" and that matches Java's target... Java's uniformity makes the code both "safe", very flexible, and relatively portable.

      If all these advantages can be preserved in a traditional compiled language or a compiled version of Java, I'll do the appropiate ritualistic victory dance. Then the VM vs non-VM will become just an issue of benchmarks, not features.

      So far, the direction seems to be quite opposite: .Net is based, as I understand, on a VM precisely to make those features possible... "managing" the code seems necessary.

      On the second point: I think the big-iron enterprise is quite interested in the ability to run "arbitrary code", and not just for the clients that are pulling off the applications from the network, but most for Application Servers, which are definitely server-side.

      Although the code running on an expensive server is not strictly arbitrary, it could be from many a point of view (me thinks) because of logistics (or lack thereof). As the server running the application-server is bigger, faster, and more expensive, it is shared among more organizational units with different applications.

      If these applications are running inside an "Application Server" or similar environment to share resources, they need to be controlled and secured regardless of what they are (if they're not, they're not sharing resources and services which is a big waste of development time, memory and cpu).

      To Joe in HR, the code from Kathy in RD is for all purposes arbitrary, and invisible too, as are those statistical apps for marketing, or the apps from billing, etc. To the sysadmin probably everything is arbitary. To the developers of the application server (even if it's in-house), it's all arbitrary anyway. Since each organization has its own private information, it shouldn't be any other way.

      It's also probably unfeasible to audit all the code properly per unit, much less to audit it for unwanted interactions. They should, but if it would only take a novice programmer's mistake in a tiny unit given access to the server to bring it down, it will go down some day.

      With deadlines and enough managers, I don't think tightly securing a server against premature deployment of buggy code is feasible.

      On the other hand, even if it is, it's probably not cost-effective. If you paid big money for big iron, you want to use it. If you spend even more money and time testing for months before deploying the application, and even then often deploying on small iron just in case, what's the use? You want to run as many applications as you want on this thing, that's why you paid for it.

      If you can skip the "interaction testing" and deploy the application with minimal risks, it could save a lot of money. Then you can test the application to see that it works, that it doesn't crash the JVM (it happens), and that the customers are happy, and deploy much, much earlier. You don't have to worry about it having access to your billing records, or replacing classes accounting needs with incompatible versions.

      --
      Freedom is the freedom to say 2+2=4, everything else follows...
    20. Re:Unfortunately, I am not surprised by Anonymous Coward · · Score: 0
      I think a more significant speed improvement in Java would be to remove the += operator for Strings. You wouldn't believe how badly one of those in a loop can tank an app's performance.

      Surely you mean "remove clueless developers who don't know what their code does", right? Because simply removing syntactic sugar won't improve runtime speed.

    21. Re:Unfortunately, I am not surprised by Rich0 · · Score: 1

      Surely you mean "remove clueless developers who don't know what their code does", right? Because simply removing syntactic sugar won't improve runtime speed.

      Am I the only person who thinks that a programming language should be used for a developer to describe what the compiler/VM should do and the compiler/VM should do it in the best way possible?

      The syntax should be designed so that it is very clear to a compiler what the programmer is trying to accomplish. If this task can be implemented in a more optimized manner, the compiler should perform the optimization on its own.

      I realize we aren't there yet, but shouldn't this at least be the goal? On many if not most software development projects it doesn't cost nearly as much to run the software as to develop it - the goal should be to take the load off the developer and put it on the compiler or the hardware that will execute the software.

    22. Re:Unfortunately, I am not surprised by Pass_Thru · · Score: 1

      I think a more significant speed improvement in Java would be to remove the += operator for Strings. You wouldn't believe how badly one of those in a loop can tank an app's performance

      I can beleive that, a java String is immutable, so if you += to one you have the overhead of creating a new String Object, and presumably garbage collection of the old one?

      --
      Merlin --- We're an autonomous collective... Help, Help, I'm being oppressed!!
  14. dog fooding is a microsoft phrase by walmass · · Score: 2, Interesting

    Microsoft departments have to use their own beta products. Its internally called "dog fooding."

    Do you find it just a little curious that the story contributor used that particular phrase? Methinks a Microsofty at work here. Nice job, cowmix.

    1. Re:dog fooding is a microsoft phrase by tftp · · Score: 1
      Do you find it just a little curious that the story contributor used that particular phrase?

      No. The expression is quite common.

    2. Re:dog fooding is a microsoft phrase by frleong · · Score: 2, Informative
      Microsoft departments have to use their own beta products. Its internally called "dog fooding."
      This guy uses the expression "eats its own dog food.". A google search reveals that it is quite popular. I wouldn't jump to the conclusion that the submission came from MS.
      --
      ¦ ©® ±
    3. Re:dog fooding is a microsoft phrase by Anonymous Coward · · Score: 0

      What, just for pointing out the memo???

    4. Re:dog fooding is a microsoft phrase by crmartin · · Score: 1

      It's very common within Sun as a way to express "we use our own products." I always used to rephrase it "we eat our own cooking" because I thought it wasn't a very pleasing image to suggest we had our customers eating dog food.

    5. Re:dog fooding is a microsoft phrase by Anonymous Coward · · Score: 0

      "Dog food" is also used heavily at Big Blue to explain why they still use Lotus :)

    6. Re:dog fooding is a microsoft phrase by lahi · · Score: 1

      I guess that would make them lotophagi?

      -Lasse

    7. Re:dog fooding is a microsoft phrase by Graspee_Leemoor · · Score: 1

      " I guess that would make them lotophagi?"

      I think the Ancient Greek plural you are searching for is "lotophagoi" - "Lotus Eaters".

      graspee

  15. OO PHP by Anonymous Coward · · Score: 0

    Every language erver made has had OO shoehorned in at some point. Look how many are successful.

    1. Re:OO PHP by Ponty · · Score: 1

      Only the really good ones like Object COBOL.

    2. Re:OO PHP by Anonymous Coward · · Score: 0

      All evidence points to one fact: OO is gay.

  16. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    PHP is a language for people who are too dumb to program. Most PHP programmers I know use it because the cannot program well enough to use a real language (with strong typing, etc).

  17. Read the Article by sparkhead · · Score: 5, Informative

    In the rush to bash Java, the summary here was totally off the mark. From the article:

    A review of the problem indicates that these issues are not inherent to Java but instead represent implementation oversights and inconsistencies common to projects which do not communicate effectively with partners and users.

    And it goes on to mention issues with Solaris. Nothing about Java itself being inherently problematic, just issues with certain implementation.

    1. Re:Read the Article by MagPulse · · Score: 1

      I think it's a little weird that people are calling this an "article". It's supposedly an internal memo posted on the same site that hosted the fake id memo about them punishing ATI for leaking the Doom 3 alpha.

    2. Re:Read the Article by obsidian+head · · Score: 1

      Nothing about Java itself being inherently problematic, just issues with certain implementation.

      Anyone who programs much in Java knows that these problems exist across all implementations. Look at the Bug Parade; memory consumption is out of whack. And since it's not truly opensource, people just can't fix up the problems themselves -- Sun is to bureaucratic to ever let that happen.

      Still, it's a well-documented and pleasant platform otherwise.

    3. Re:Read the Article by Anonymous Coward · · Score: 0

      Oh you pussy dong. Not everything can or will be open source, and THAT'S OK.

    4. Re:Read the Article by obsidian+head · · Score: 1

      Oh you pussy dong.

      I was about to refute your point, but I find I like being called that. Thanks!

    5. Re:Read the Article by Spit · · Score: 1

      And it goes on to mention issues with Solaris. Nothing about Java itself being inherently problematic, just issues with certain implementation.

      You're on the money, Sun JVM is a total pain. The items noted in the memo are true, RAM hog, incompatible between minor versions and slow. Unstable too, nothing worse than managers getting $ucked in on some wizzo Java app (cognos, esri) and having to deal with what a horse's ass it is. It doesn't help that sun management console, Veritas guis and other shit is all running on it too. Kill me. :P

      --
      POKE 36879,8
    6. Re:Read the Article by Herbmaster · · Score: 1

      And it goes on to mention issues with Solaris. Nothing about Java itself being inherently problematic, just issues with certain implementation.

      Well, actually, you're wrong, and it does. Specifically, points 3 and 4 of the memo relate to problems in the way Sun handles and supports new versions of the Java platform: extensions/modules and backwards compatibility in new releases. Of course, cowmix's summary was totally inaccurate and trollful, but you're not any better.

      --
      I'm not a smorgasbord.
    7. Re:Read the Article by Graspee_Leemoor · · Score: 1

      "Oh you pussy dong.

      I was about to refute your point, but I find I like being called that. Thanks!"

      Well it sure beats "pussy face", especially when commanded to go to someone's ass.

      graspee

    8. Re:Read the Article by crmartin · · Score: 1

      I used to get called out to customer sites to help with Java memory problems fairly often (and believe me, nobody hires a $375/hr Sun consultant for a one week minimum engagement unless they're desperate) and I never once saw a memory-leak problem that wasn't due to a programming error.

    9. Re:Read the Article by obsidian+head · · Score: 1

      I never once saw a memory-leak problem that wasn't due to a programming error.

      I don't know what to say to that. Of course memory leaks are caused by programmer errors.

      But I do see your point, I'm not too concerned with memory use that's only constant factors higher than other systems. However, some classes of customer are.

    10. Re:Read the Article by crmartin · · Score: 1

      Okay, that's fair -- but it wasn't clear from the context. But (at least with modern hardware) Java is no worse than most things. (Check was a Windows executable actually needs once it links all the dll's.)

      If physical memory limits are an issue, you shouldn't be using J2SE; everything from the GC model to the way that it loads everything in the universe and six other libraries is unsuited for it. Use J2ME and establish the profile you really want.

  18. Read the memo by brw215 · · Score: 2, Insightful

    It has problems ON SOLARIS. These engineers do not complain about Java being broken as a language. They have a big problem with implementation of the JRE on one platform. They mention nothing about the linux dist, or the win32 dist.

    1. Re:Read the memo by Anonymous Coward · · Score: 0

      Not correct . If you read the entire memo, slowly, you will see that there are huge complaints about the problems caused by the way sun releases new packages and upgrades for Java-in a manner that's not in compliance with Sun's on standards for patch and version releases.

    2. Re:Read the memo by Jugalator · · Score: 2, Insightful

      They often speak of the JRE as "Java", such as here:

      "Java has too large a footprint (both memory and disk image) and may not be installed on the customer's host."

      And regarding if the Java itself is broken, they mention this, for example:

      "Bug ID 4526853 describes a bug in Core Java which used to be an external module called JSSE."

      I guess it depends how you interpret it, but it's written quite sloppily if they actually only talk about the Solaris JRE.

      --
      Beware: In C++, your friends can see your privates!
    3. Re:Read the memo by brw215 · · Score: 1
      I don't think so. The first line of the Introduction says:
      This document details the difficulties that keep our Solaris Java implementation from being practical for the development of common software applications.
    4. Re:Read the memo by jaseuk · · Score: 1

      The memo was relating to their own internal projects. If their internal projects are not running on Solaris then they have even bigger problems.

      So Solaris is implied, but the problems may also be true of Java in general.

      Jason.

  19. PHP is very nice for front-ends, sure... by Vengeance · · Score: 1

    But that's the least of my concerns as a Java developer. Where I'm doing most of my work is on back-end data access systems, running on J2EE servers. Access my stuff with Java, with PHP, or with a .NET client, I really don't care...

    So the speed issue for PHP vs. JSP doesn't matter to me. What I care about is how big the VM gets, and whether or not I'm going to have backward compatability when my app. servers get upgraded. Give me a PHP-based application server, and yeah, I'll be happy as a clam. But I haven't got the time or the inclination (or the skill) to go and build one myself.

    --
    It was a joke! When you give me that look it was a joke.
  20. Please Read the Article!!!! by Anonymous Coward · · Score: 0

    I wish people would read articles before the start flaming. Sun is not saying that Java is flawed!

    What Sun is saying is that the Java Runtime Engine, as implemented on Solaris (whether its Solaris on SPARC or Solaris on Intel) is seriously flawed. In fact they go on to point out how the memory foot print for Windows is so much smaller than for Solaris.

    What they are doing is asking their engineers to fix the Solaris implementation.

    If any of you want to see an implementation of Java that rocks look no further than Mac OS X or perhaps even Linux!

  21. This is not informative. It's cheap flamebait. by Anonymous Coward · · Score: 0

    see above

  22. Re:Kiss and say goodbye to Java language!! by Darth+Maul · · Score: 1

    I've been using PHP for web development for three years now and I must say it is the only way to fly. I can't believe how people still wrangle with ASP and Java when PHP is so easy and fast.

    --
    --- witty signature
  23. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    There's a lot more to Java than JSP. That's like saying, "Don't use Java, Flash is much better for building applets."

    My development team uses Java for large-scale web applications and web services. For that, along with several other technologies, Java is indispensable. Using a single servlet entry point, we've built our own application server framework based on XSL page templates, XML page configuration files, reflection, and JDBC.

    Granted, we had to do a lot of performance optimization to get it to run on the inefficient Solaris Sun JVM, it is quite fast on servers running other OSs with IBM's JVM. And I don't need to remind you of the experiment used to show that the number of Java development positions open is still strongest out of the major languages, even given our current economic climate.

  24. PHP more productive by Anonymous Coward · · Score: 0

    I'll second the idea that PHP is much more productive than Java for developing web apps, at least smaller ones.

    I'm a long time WebObjects developer, and I recently did a couple projects in PHP. Although I was learning the language from scratch as I was implementing the project, development still went substantially faster than it would have using Java/WebObjects. And developing in WebObjects is generally faster than developing servelet apps. I've decided that database abstraction layers are annoying and result in frustrating workarounds at least as often as they save time and bugs. So it cancels out. The cross-tab reporting I implemented in a day in php would have been very annoying to accomplish in WebObjects.

    The only caveat is you have to have the experience and the discipline to impose good organization/structure with PHP, or you may get bit hard with large projects that must be maintained. But then I've seen people build unmaintainable messes with WebObjects too.

    I haven't had a chance to find out how PHP performs as the first project I did only gets a half million or so hits per day. I did some load testing and was pleasantly surprised, though. And that was using MySql on the same machine, and with a search engine also running on the same machine. Using an oracle tier I think it would do very very well.

  25. FUD by Anonymous Coward · · Score: 1, Funny

    this is more microsoft FUD. . . oh wait...
    ok so its more SUN FUD. Sun is trying to kill java because its open source! hacker freedom!

  26. Java Implementation by Detritus · · Score: 4, Interesting

    I'd be interested in finding out what are the causes of the problems with Java. Virtual machines don't have to be pigs. When the IBM PC was first introduced, I wrote a lot of software in Pascal using the UCSD p-System. The applications ran comfortably on machines with a 4.77 Mhz 8088, 8087 FPU and 512KB RAM. Most of the applications and operating system were compiled into p-code, which is similar to Java byte codes. The p-machine interpreter was a small resident module written in 8086 assembly language. The p-code was actually more memory efficient than the machine code produced by conventional compilers.

    --
    Mea navis aericumbens anguillis abundat
    1. Re:Java Implementation by The+Mayor · · Score: 2, Informative

      I don't think p-code really bears much resemblance to Java byte code. Java does a lot of stuff after things have been compiled to byte code. P-code really is just a machine language of sorts that provides a hardware abstaction layer--that is, it is still just machine language. Java's byte code offers things like late binding & reflection, bounds checking, garbage collection, and a whole slew of other things. Many of these features make compiled Java (that is, compiled to a native executable) very difficult at best. And it also means that about 9/10 of the computation time with typical Java apps is spent in the JVM doing these things.

      --
      --Be human.
    2. Re:Java Implementation by squiggleslash · · Score: 1
      It's probably worth pointing out that until something like version 5, Microsoft's Visual Basic was also based on a byte-code psuedo-compiled system. Version 3 of VB required a 300k DLL which contained the entire interpreter and enough stuff to make the thing run properly, including the basic built in GUI objects and stuff. I can't tell for certain, but I'd be pretty surprised if someone who knew what they were doing couldn't write a loader that would ensure pretty much any VB3 app without VBXs that doesn't make system library calls could run without change under Linux, or even under MacOS.

      I'm not saying VB is a wonderful example, but it does at least underline your point that an advanced (ie extendable, GUI supporting, etc) run-time non-processor-specific pseudo-compiled system need not be as resource intensive as Java appears to be.

      --
      You are not alone. This is not normal. None of this is normal.
    3. Re:Java Implementation by Thing+1 · · Score: 1
      I wrote a lot of software in Pascal using the UCSD p-System. The applications ran comfortably on machines with a 4.77 Mhz 8088, 8087 FPU and 512KB RAM.

      Wow, that takes me back. I remember in High School using Apple ][ computers running the UCSD p-System. I wrote an application to help the teachers keep track of grades (yes, I'm that old ;-).

      Fond memories. As another response says, p-code doesn't do as much garbage collection and checking as Java does, so it would be faster given equivalent platforms. I remember it giving acceptable performance, both in the "compile" phase as well as execution.

      --
      I feel fantastic, and I'm still alive.
    4. Re:Java Implementation by Raiford · · Score: 1
      I have a feeling you miss those days. No challenges now !

      --
      "player 4 hit player 1 with 0 stroms"
    5. Re:Java Implementation by Lucas+Membrane · · Score: 1
      Some few years back, in the early promotion of the JVM, various technical articles seemed to be saying:
      • VM's would be highly optimized.
      • VM's could be faster than 'native' code because bytecodes are smaller than machine code and the VM would need less frequent access to memory outside of the cache.
      • The best way to maintain software compatability as hardware is improved is through VM's. Thus, new processors would use VM's extensively, even 'native' personalities would be implemented by VM's, and since you'll be talking to a VM whether you like it or not, why fight it?
      • Since processors will be designed to run VM's, you will lose performance as well as portability if you don't program for a VM.
      At present, one would suspect that none of this is coming true. What's really going on and when?
    6. Re:Java Implementation by Anonymous Coward · · Score: 0

      I wrote such an uber-efficient VM but it ran too hot and caused a rift in the space-time continuum.
      I am posting this from the gamma quadrent.

    7. Re:Java Implementation by crmartin · · Score: 1

      Get a look at J2ME (the "micro edition"). The J2SE model for the JVM classloads a load of stuff, eg all of java.lang.*, before it interprets the first word of your program. The JVM instruction set could be implemented minimally in a really tiny program, say with threaded-interpretation.

      (There's an idea: writing a JVM in Forth.)

      Anyway, the Micro-Edition lets you have a lot more control over just what is loaded through "profiles", and can be reduced to a much smaller footprint.

    8. Re:Java Implementation by pyrrho · · Score: 2, Insightful

      they do! here is why.

      Basically, they can, at best, hope to assymptotically approach the performance of traditional compiled code, so they will always be worse in performance, all other things being equal.

      Furthermore the technique by which VMs get fast is cheating the question... that is, it's to optimize bottleneck operations by coding them in a regular compiled language.

      Example: years back I worked in SCI, Sierra-Online's language for making the old interactive fiction games, like Space Quest. It ran pretty fast even though it did complex (for the time) graphical applications. Well, this was, of course, because the graphical operations were optimized. You feel like you are programming this graphical operation in SCI, but the reality is that the intense part is executed in sizeable chunks of C code. Essentially you just inform the underlying C/C++ (etc.) program of what you the VM based program want, and it's handed off to a program that can actually handle the work.

      So as a comparitive matter, yes, VM do always have to be pigs. There are many things SCI was still a pig at, of course, things it wasn't optimized for. That's the thing. VMs can be good, and not-piggy when they are special purpose languages, when the problems they all have can be solved by proper understanding of a specific problem frame that they intended to work within.

      Java Servlets, for example, is an idiom in which use of Java is efficient, and an good argument can be had for all of Java's benefits, even WORA. You keep a VM up, you send applets to it.

      In fact, there are a lot of distributed computing environments, which central servers dole out java code and use them as a plug-in language, in which Java will likely survive as by far the best solution.

      Stand-alone applications and servers? I'm not convinced.

      --

      -pyrrho

    9. Re:Java Implementation by Anonymous Coward · · Score: 0

      Oh yeah?

      I wrote MY teachers Grade Tracking program on an original Commodore PET 2001, in BASIC with 8K RAM, and chiclet keyboard, storing the teachers files on (built in) cassette!

      (Yes, I'm THAT old :-))

    10. Re:Java Implementation by cpeterso · · Score: 1


      I think Sun was trying to break the Wintel logjam. A cross-platform JVM would reduce/remove people's Intel addiction (for all those x86 legacy apps) and maybe allow apps writen on the world's most common OS (Windows) to run on Sun, too.

      Why does Sun want to support cross-platform JVMs on Solaris? Don't they want to sell more SPARC hardware? And wouldn't native SPARC apps be faster?

  27. It's a hoax by Anonymous Coward · · Score: 5, Informative

    InternalMemos is notorious for running hoax emails. This email is no exception. It includes a number of inaccuracies and curious references. The comparisons with Python are just amusing.

    Doing a quick search on the names, you'll note that there's no reference to the sender anywhere in Google, let alone associated with Sun. Most of the folks in the CC list do not have Sun email addresses. They're probably friends of the hoaxer. The Sun folks in the CC list include a JavaOne and a guy who has himself on the J2ME JSR.

    I wouldn't hold out for Sun switching to Python. haha

    1. Re:It's a hoax by Anonymous Coward · · Score: 0

      It includes a number of inaccuracies and curious references.

      Yes. The mention of Sather seemed a bit unusual.

    2. Re:It's a hoax by Anonymous Coward · · Score: 0

      It may be a hoax, but it's true.

      Java on Solaris, compared with Java on Windoze, is a pig!

    3. Re:It's a hoax by Anonymous Coward · · Score: 0

      The comments about SMC - Sun Management Center (one of the Sun Java applications mentioned) were quite accurate, and it is not a well known product wrt the common techie. In my eyes this increases the chance that this memo is valid.

    4. Re:It's a hoax by JordanH · · Score: 1
      I tend to think it's a fake as well, but there is a reference to a <Julian.Taylor@central.sun.com> and this reference suggests that it was being copied to Sun Managers.

      This doesn't really add credence to the Memo, however, it just proves that the author had access to Google.

      There are a lot of Internal references in the Memo on InternalMemos.com that should be verifiable. I would expect Sun to deny that this is real, if it's a fake, or perhaps they won't dignify it with any attention at all.

    5. Re:It's a hoax by Anonymous Coward · · Score: 0

      Search Google using "First Last" sun reveals:

      Julian.Taylor@central.sun.com
      stephen.talley@sun.com
      mark.carlson@sun.com
      Henry Knapp ???
      Waikwan.Hui@sun.com
      eugenek@digitalmarket.com
      Peter.Madany@sun.com
      Michael.Boucher@Eng.Sun.COM

      Only 2 do not seem to have sun.com email addrs. A couple of other points about the memo. First, it is not dated so we have no idea when it was written. Second, as big as the /. community is, you would think that someone here (sun employee? friend?) could identify one or more of the authors/reviewers as being employed at Sun.

    6. Re:It's a hoax by Gekko · · Score: 1

      SMC may not be known to people who don't use solaris (no real suprise here, it is the Solaris Management Console (not the Sun Management Console as you say). It is however known to people who actually use solaris. The first version, which appeared in 8 was a dog. They overhauled it alot for S9. That being said real solaris sys admins really don't use it.

      --
      I mod down any one who says "I'm sure I will get modded down for this"
  28. J2SE is becoming bloated by mariox19 · · Score: 5, Insightful

    I was especially interested in the part of the memo that talked about extensions being rolled into the main product. But, apart from backwards compatibility, I think it just makes learning the language more difficult.

    I learned the language back in 1.3, and I'm amazed at how much more has been added to the 1.4 release. Sifting through the javadocs has become a bit more of a pain, but nothing someone already familiar with the language can't handle.

    My concern is people who are learning the language. I think the API is becoming more and more overwhelming to future Java developers. Look how much fatter O'Reilly's Learning Java book has become!

    A smaller J2SE with standard extensions to be downloaded as necessary makes better conceptual sense.

    --

    quiquid id est, timeo puellas et oscula dantes.

    1. Re:J2SE is becoming bloated by Fjord · · Score: 1
      The first thing I do with my JDK documentation is edit the package list to have

      Common Packages
      java.io
      java.lang
      java.net
      java.sql
      java.text
      java.util

      at the top (linked of course). Makes the docs usable again (coming from a 1.0 world).
      --
      -no broken link
  29. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    LOL

    Can you imagine that there are people who do a little more than just generate HTML with their programs? But what does a web developer know - most of them are proud to have mastered the extensive MySQL command set anyway... there is no room left for advanced programming knowledge ;-)

  30. Political memos by panurge · · Score: 3, Informative
    Being an old cynic, I suspect there are too many long words in this memo for it to have gone very far up the food chain. Who are these people and what is their access to opinion formers in management?

    Not that I'm suggesting they are wrong, I have no way of knowing either way, I just think that producing memos like this - and getting them leaked - is probably not the smartest way of getting the declared objective.

    Admission: I use Java. It isn't perfect. It uses too much memory. It isn't hugely fast. But the applications work and the amount of debugging we have had to do is a tiny fraction of what I would have expected with C++. Its suitability for a given project depends on a whole host of factors not considered in the memo, and it would not surprise me if, for some internal Sun projects, it was inappropriate in its present stage of development.

    --
    Panurge has posted for the last time. Thanks for the positive moderations.
    1. Re:Political memos by jcr · · Score: 1

      Admission: I use Java. It isn't perfect. It uses too much memory. It isn't hugely fast. But the applications work and the amount of debugging we have had to do is a tiny fraction of what I would have expected with C++.

      Talk about damning with faint praise! So, there's much less debugging to do with Java, than there is to do with the worst language in use today.

      -jcr

      --
      The only title of honor that a tyrant can grant is "Enemy of the State."
    2. Re:Political memos by Anonymous Coward · · Score: 0

      Nah... PERL is even worse. But LISP tops the list.

    3. Re:Political memos by Anonymous Coward · · Score: 0
      But LISP tops the list.
      Oweowwoe. I hope that pun was unintentional.
    4. Re:Political memos by panurge · · Score: 1, Flamebait
      Faint praise is all you'll get from me for any programming language. After all, look at current human languages. Despite thousands of years of development they all have big problems:
      • English - mixture of phonetic and non-phonetic, inconsistent grammatical rules, too many different versions with inconsistencies of use.
      • Japanese - too many different representations, too difficult for most people
      • French - poor phonetics, some convoluted expressions, too many written inflexions that sound the same.
      • German - unnecessary and inconsistent inflexion, over-use of compound words, difficult verb placement for simultaneous translation.

      Despite which we continue to use these languages and users of each continue to defend their superiority. Oh, and the bugs don't get fixed.

      I think the best we can do is be realistic, and try not to get too hung up on the sucks/cool dichotomy.

      --
      Panurge has posted for the last time. Thanks for the positive moderations.
    5. Re:Political memos by yamla · · Score: 1

      I am curious about this... I have used Java and C++ fairly extensively and I find C++ really isn't that hard to debug. Garbage collection in Java is certainly nice but with a decent implementation of smart pointers and using the STL, I don't have memory leaks and runaway pointers. Where do you find you spend/spent most of your time debugging C++ applications?

      --

      Oceania has always been at war with Eastasia.
    6. Re:Political memos by Fjord · · Score: 1

      For me, it's finding the line the error came from. In Java, the exceptions have the line number and file listed, while in C++ I have to use a debugger to find that info. It doesn't seem like much, but it really makes a difference. If an error occurs ina server application, you can have those details automatically emailed to a tracking list. In C++, it's often lucky that the program didn't crash.

      There's also the versioning across DLLs issues that C++ has. What a freaking pain that is.

      --
      -no broken link
  31. Gotta agree with you on that one. by Vengeance · · Score: 2, Interesting

    The extension mechanism works well, they should allow it to do it's job.

    There are two core problems here: One is that Sun's implementation of the JRE for Solaris is an even bigger hog than Java is naturally. The second is that the JRE in general has got too damn many built-in libraries. It's very convenient for me as a developer who uses many of the extensions anyway, but it's making the language much more intimidating to approach.

    --
    It was a joke! When you give me that look it was a joke.
  32. Java problems not limited to development by nemaispuke · · Score: 1

    Sun has chosen to make graphical tools in Solaris use Java over straight X/Motif binaries. An example is Solaris Management Console, the replacement for AdminTool. If you run AdminTool on Solaris 9 you get a warning (every time you run it) that it will be replaced. So you start SMC (which requires Web Based Enterprise Management to be running) and wait, and wait. SMC is a pig in both performance and memory utilization! Unfortunately for those who prefer a GUI for managing disks (Solstice DiskSuite), it is being replaced by Solaris Volume Manager (Solaris 9), which runs under SMC! Most of Sun's enterprise level management products extensively use Java and you would think somebody would have taken a look at how slow their products perform (unless they tested them on "the latest and greatest" and found the performance OK. I would like to know what their definition of OK is! Java works for some things, but it doesn't work for everything! It almost seems like management said "We created it, let's use it!" without realizing the performance hit, or just simply ignored it.

  33. Re:Kiss and say goodbye to Java language!! by Timesprout · · Score: 1

    You are seriously misguided if you think the real usefulness of Java is applets. The most prevalent useage of Java is on the server for enterprise level applications and development tools. This is not something you will ever use PHP for.

    The point the memo was making is that there are issues with the JRE implementation on Solaris and that due to these limitations Java is not the wonder language which solves all development issues as some of the SUN marketing drones would have us believe, or PHP as the parent would have us believe. Having come across several of the issues mentioned in the memo I think its good to see an internal drive for resolution of known problems. Hopefully SUN might actually channel resources to address them now.

    This is by no means the end of Java

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  34. Java defense... by FlydinSlip · · Score: 1

    While some of their points are somewhat valid (ie, the Class.getFields() returning first all the public and then later the public, protoected and private fields), but I tend to think that changes to other classes are done not to make the developers' life more difficult, but to enhance flexibility or act as work-arounds for other either very subtle or very infrequent issues. No language is perfect, and Java is still a relatively young langauge.. Once Java has aged as long as languages like C has, I'd be one to bet most of these "incoveniences" will have been resolved.. As far as Sun developers not using it, that seems highly defeatist.. If you make a product that the world has practically adopted unconditionally, and it's activly used the world around, the only way to make it better is to use it, and find and fix the issues. 'Ya can't fix what you don't know is broken... Much of Java's bloat is due to the fact that at VM statrtup, it has no idea what you're going to do with your program, either Hello World or TogetherJ, so it needs to be ready for the worst-case. There's really no avoiding this. As mentioned, Java is interpreted bytecode. The threads are tied to the system to be real system threads -- this takes some time and resources to do and do right. True, a new version of the JRE over-writes the previous versions upon install. But isn't having a backup version on the system just good sys-admining? It's just a symlink, for petes sake...

    1. Re:Java defense... by Erik+Hollensbe · · Score: 1

      Yes, but java is primarily a "business" language. That is, there are relatively few major end-user applications written in it, it's normally used for internal use (think IT here) and some server applications. In 10 years, I don't see it being any more useful than COBOL.

      C# isn't going to be any better. They are both controlled by corporations (community process is nice, but not uncontrolled) and will dwindle when said corporation's interest dies.

    2. Re:Java defense... by Anonymous Coward · · Score: 0

      While Java may be a "relatively young" lnaguage, it has been in widespread use for 7 or 8 years, a significant time in computer scale. How many languages (or platforms) can claim to have existed that long? How many can claim to have ever had widespread use? I'd guess no more than a dozen languages have anywhere near as much real developer experience invested in them as Java. It should be better than it is by now.

      I agree that Sun's stranglehold on it is largely what holds it back. But then, without Sun's backing, java would probly have never have survived.

      I don't think any other language has successfully demonstrated the combined level of power and ease of use that java has. Yes, there are tradeoffs for each, and there are plenty more powerful, and even some easier to learn, but Java comes close to that "sweet spot" ratio that is found useful.

      If another language could hit it, and have the support and community (and libraries!) built around it, it would take off. But C-Sharp isn't it. It's only advantages are Java-like syntax and and it runs on Windows. Scripting languages like Perl, Python, and PHP are not adequate, but combined with other tools (Linux, Apache, MySQL) the come close, but do not provide an integrated platform

    3. Re:Java defense... by Fjord · · Score: 1

      You say that as if COBOL were useless. I certainly see Java as the COBOL of the future as well, I guess the difference is that I don't see that as a bad thing.

      --
      -no broken link
  35. Desperate measure by Knacklappen · · Score: 5, Insightful

    Reads to me like a memo that has intentionally leaked out into the open, trying to force Sun Management to act. Software Development Dept is clearly unhappy with the Solaris implementation of JRE and therefore stops all use of it, until is has been fixed. While the Java Dept does not seem to have too much hurry to do that (majority of cases closed - "will not fix".
    What would you do in your own line organization, when you are the boss of one department and the boss of the other department just gives you the finger? And your superior is unable/unwilling to solve the conflict? You write a flaming mail to your superior's superior, threaten to withdraw any support for the platform your company is famous for and leak the memo into the open to get public support. This, of course, has to be done nicely so that no-one can blame you directly for it.

    --


    Excellence: Moderate (mostly affected by comments on your karma)
    1. Re:Desperate measure by Anonymous Coward · · Score: 0

      That's what I thought when actually reading the memo. This is a fight within Sun for vanishing resources. But putting out a highly critical and detailes memo, one software engineering team is pissing on the Java folks to stop closing cases without solving their problems. They're saying: we can't write our commercial code on Java until the Java team gets an embarrassing mess under control.

  36. So switch to Python.... by Russ+Nelson · · Score: 1

    The report itself points to the correct solution: switch to Python, since Python is implemented so much better than Java.
    -russ

    --
    Don't piss off The Angry Economist
    1. Re:So switch to Python.... by Anonymous Coward · · Score: 0

      Python is slower for projects of reasonable size. For small projects, I agree.

  37. Sabotage by RichiP · · Score: 1

    If they were at all aware that the memo would be leaked, it sounds like they're trying to sabotage Java. Perhaps they've realized that IBM is doing a better job of implementing Java and Java solutions.

    At any rate, it sounds more like the death knell of Solaris.

  38. Where's the proof? by MegaFur · · Score: 5, Insightful

    How do we know this is even a real internal memo? I mean, this is comming froma site *named* internalmemos.com. Come on! There's a submission form. I could just send any old thing in if I wanted. The only difficult part is making it look convincing. That only takes a few hours of effort.

    Anyone that has an axe to grind with Sun could have sent this in. That could be some big company or (far more realistic) some random slob that just wants to be mean.

    Or it could be real. But who cares? As the Score 5 AC pointed out, this is about bugs in the JRE on Solrais, not necessarily about Java in general.

    Does anyone on slashdot remember what FUD is?

    --
    Furry cows moo and decompress.
    1. Re:Where's the proof? by Ilgaz · · Score: 2, Insightful

      that's the new creation of Pud, owner of http://www.fuckedcompany.com . Those 2 has thousands of paid (yes, and really expensive) subscribers who generally likes to drive limos :)

      Pud has a good reputation. I mean, it could sound funny but if you think even NY Times has to quote fuckedcompany.com like f****company.com sometimes on market pages, it may give a clue.

    2. Re:Where's the proof? by Anonymous Coward · · Score: 0

      I don't think it matters if it's a real internal memo or not.

      Most of the facts in the article are entinely correct (lack of bug fixes, large memory footprint, products having to declare which version they are using, things breaking in minor version upgrades, etc., etc., etc.!)

    3. Re:Where's the proof? by Thorgal · · Score: 1

      Additionally, if you look for main author's name with google, all you get are 7 links to some other people. Smelly.

      --
      "Man in the Moon and other weird things" - wfmh.org.pl/thorgal/Moon/
    4. Re:Where's the proof? by Anonymous Coward · · Score: 0

      RA!

  39. I question the validity by sbuckhopper · · Score: 4, Interesting

    Although it is well known that Java is a performance hog, and these bugs they talk about are real. And it is well know for anyone who has done extensive Java programming that the people who write Java have always put more emphasis on delivering the JDK and JRE's faster and more bug free for windows, I really do not believe that this memo has been sent or will be taken serisously if it has.

    I have never directly worked for Sun, but I have worked with them in many ways and they have been using Java in production environments for a long time and I'm certain they will continue to.

    They use it in Solaris 8 & 9. No one ever told me this, but it is not difficult to see this, login to a machine running that OS and start up their print manager, looks amazingly like the Java L&F.

    If you've ever taken a training class from Sun, the survey that you fill out at the end of the class is a Java application. I worked at a training center for a while and we never had any problems with this application.

    Friend of mine that work for Sun talk about where they are using Java internally and it is immense, there is no way that in the forseeable future any of this is going to change. I'm going to talk to them and see if this memo was really sent out.

    My wife writes Java GUIs and actually has never ever had any of the problems that they are referring to in this memo. The GUIs she writes runs fine, and they are very complex GUIs, things that do tasks such as controlling telephone switches.

    I'm not saying that Java doesn't have some performance problems by any means. I program in Java and I know a lot of peoplel who do and we've discussed these performance problems. I've also written hello world programs that don't take up 9M, but then again I question the validity of the programmer who wrote that program. I know if I write it bad enough, I could write a C program that would allocate 9M of memory and have the only functional thing it does is be to print out "Hello world."

    So I guess this could be true, but as someone who has worked with Sun before, I find it very, very hard to believe.

    --
    "Everybody knows the moon's made of cheese," Wallace.
    1. Re:I question the validity by Vengeance · · Score: 1

      Well, when they talk about a 9 megabyte 'Hello World', they're certainly not speaking of HelloWorld.class.

      But take a pristine system with a fresh OS install, and install the minimal JRE needed to run 'HelloWorld.class' and get it's output onto the console, and then see how much disk space you've used up. I suspect it'll be pretty big. Especially if you keep the install .gz or .zip or whatever lying around!

      --
      It was a joke! When you give me that look it was a joke.
    2. Re:I question the validity by obsidian+head · · Score: 5, Interesting

      My wife writes Java GUIs and actually has never ever had any of the problems that they are referring to in this memo. The GUIs she writes runs fine, and they are very complex GUIs, things that do tasks such as controlling telephone switches.

      I have written complex GUIs, which actually overwrite the paint() methods of Components, and Swing is slow on Windows and Unix. Also, I've used Swing apps, and guess what, they're slow memory hogs too.

      Inevitably someone proclaims that Swing runs fast if you program well enough. (I'm not referring to you but to Sun's party line.) BULLSHIT. It's slow. It trades memory for speed, and still isn't that speedy. Run Jext or Borland JBuilder and you'll see what I mean.

      Now, /I/ may personally like it for many uses, where control outweighs performance. But it's malicious for Sun to claim it fit for mainstream desktop apps.

    3. Re:I question the validity by the+eric+conspiracy · · Score: 1

      Swing is slow

      Then use SWT.

    4. Re:I question the validity by obsidian+head · · Score: 1

      And BTW, you've ignored the the backwards compatibility problems, versioning, etc. All these things were mentioned in the memo too.

      There's one strange thing in the memo though... if you check out the README packaged with Java, you can distribute the version you want with your apps, provided you keep certain files in your distro. So either my lawyers have been overlooking something illegal, or something is nuts.

    5. Re:I question the validity by obsidian+head · · Score: 1

      Then use SWT.

      True, but Sun don't like that.

      One of these days I'll need hands-on experience with SWT. But I hope Mozilla's XUL is really useful, and so I'd probably use that earlier. (I'm not an early adopter... more medium... so either one will take a while.)

    6. Re:I question the validity by Anonymous Coward · · Score: 0

      Borland JBuilder and you'll see what I mean.

      Yeah, I agree, I thought it was horrible. I couldn't believe that any serious GUI application builder would use it, especially because I was running a ~366 MHz Intel CPU with 96 MBytes of memory. It turned me off to Java development completely.

      In addition, the latest version of the free Real plug-in/application ("RealOne") seems to use Java, and it is unbearably slow.

      One thing is for sure: Java is so slow that Sun definitely won't use it to implement StarOffice, which uses C++. For me, that was the nail in the coffin.

      I too question the validity of the memo, but only due to natural defense mechanisms. Most of the issues raised in the memo are correct.

    7. Re:I question the validity by spinlocked · · Score: 4, Interesting

      So I guess this could be true, but as someone who has worked with Sun before, I find it very, very hard to believe.

      I have worked at Sun and this smells very real to me. I have a friend at Sun who wrote an application in his spare time (in Java) which was officially adopted for internal use - he spent a month working with the internal applications gestapo having it re-written from scratch "to official standards". I agree with much of what the document says. Writing a complex Java application means targeting a specific JRE version, it is not at all unusual for Sun software products to install the particular JRE which they were written against (look at SunMC and the SunRay server software) - it's easier to keep patched without breaking other things.

      Until the Java developers use Solaris as their tier one development platform and API changes are controlled in the same was Solaris itself (PSARC) this will continue to be a problem.

      --
      # init 5
      Connection closed.


      Oh... ...bugger.
    8. Re:I question the validity by Anonymous Coward · · Score: 0

      I couldn't believe that any serious GUI application builder would use it, especially because I was running a ~366 MHz Intel CPU with 96 MBytes of memory.

      I can't believe that any "serious GUI application builder" would be running a pitiful machine like that.

      Clue: walmart.com is selling 800 MHz Athlon machines for $200. Add an extra 512 MB of RAM from buy.com for $60, and you're good to go. I don't know what you charge, but that's only about 3 hours at my normal contract rate for Java development. And that's the *cheap* end. A "serious application builder" should be able to afford a much better machine than that, as should a serious client.

      This is the 21st century, dude.

    9. Re:I question the validity by Refrag · · Score: 1

      NetBeans runs pretty well.

      --
      I have a website. It's about Macs.
    10. Re:I question the validity by dfj225 · · Score: 1

      I can write a C program that uses all of Windows system memory and crashes the box, in only 3 lines.

      char far *kill = 0;
      while(1)
      {
      *(kill++)=0;
      }

      :-P

      --
      SIGFAULT
    11. Re:I question the validity by TheSunborn · · Score: 1

      This program would not cause any memory allocation, it would just kill itself as soon as it started. Not a problem for windows at all.
      To be really fun you need something that both fork and allocate memory :}

    12. Re:I question the validity by dfj225 · · Score: 1

      run this on a windows 9x system (perferibly 98 or 95) and see what it does... 9 times out of 10 it will lock up.

      --
      SIGFAULT
    13. Re:I question the validity by Dan+Guisinger · · Score: 1

      Shows how long its been since you have programmed for Windows. This may have effected Windows 95, I seem to remember a problem they had protecting lower memory, however 98+ and NT/2k/XP never had this problem and you are definately showing your ignorance.

      This will crash the application, just as under any other protected memory space operating system, whether its Linux, BSD, MacOS X, BeOS, or anything else. It will not crash the box.

    14. Re:I question the validity by dfj225 · · Score: 1

      I know that this won't affect NT based versions or ME cause they implemented some "stability" features, but this will definetly work on 98. I have done it. Perhaps not 98 SE but at least 98. Find an old 98 box (like the ones in our school) and try that code.

      --
      SIGFAULT
    15. Re:I question the validity by Bamafan77 · · Score: 2, Informative

      While I would definitely agree that Swing is slower than native Windows and Unix widgets, they are often plenty fast enough. While I'm not questioning your java programming ability per se, but I've found that oftentimes, slow Swing applications can be attributed to lack of skill/deep understanding of Java as to limitations of running within a virtual machine. You can make very complicated applications with Swing, and while those applications will probably be memory hogs, they are very responsive if they are implemented well. Just look at Netbeans as an example. Check out Swing Sightings on Sun's website for yet more examples.

    16. Re:I question the validity by Anonymous Coward · · Score: 0

      "I could write a C program that would allocate 9M of memory and have the only functional thing it does is be to print out "Hello world.""

      How stupid an example of shit programming would
      it be though?
      char *str = malloc(9000000 * sizeof(char));
      strcpy(str,"hello world");
      printf("%s\n", str);

    17. Re:I question the validity by WhaDaYaKnow · · Score: 1
      I can write a C program that uses all of Windows system memory and crashes the box, in only 3 lines.

      That code will only 'work' if you compile it with a 16 bit compiler into a DOS app and then only on early versions of Win9x. If you use a 32 bit compiler, it will probably choke on the 'far' but if it doesn't, the executable will just crash and no harm done. Windows will kill it, it won't kill Windows.

      It has been long known that DOS apps can crash the early Win9x boxen. Big deal. Try:
      void main( void )
      {
      asm cli
      asm hlt
      }
      A few other notes: That's (a) not 3 lines of code and (b) is missing the 'main' function.

      In any case, your code is off-topic because it doesn't allocate 9MB which is what this was all about.
    18. Re:I question the validity by WhaDaYaKnow · · Score: 1

      I know if I write it bad enough, I could write a C program that would allocate 9M of memory and have the only functional thing it does is be to print out "Hello world."

      I understand your point but realistically: I would challenge anyone to demonstrate that. I've used the most outragous windowing frameworks (mostly to disregard after an initial test) but never have I seen a way for a C (or even C++) program which sole purpose is to display Hello World to require 9MB of memory.

    19. Re:I question the validity by ignavus · · Score: 1

      I know if I write it bad enough, I could write a C program that would allocate 9M of memory and have the only functional thing it does is be to print out "Hello world."

      Here: I'll save you the trouble:

      #include <stdio.h>
      #include <stdlib.h>

      int main()
      {
      char *wastemem = malloc(9*1024*1024);
      printf("Hello world.");
      return 0;
      }

      We could add in a call to wait a few seconds too, if you want it to run more slowly.

      --
      I am anarch of all I survey.
    20. Re:I question the validity by afantee · · Score: 1

      >> Run Jext or Borland JBuilder and you'll see what I mean.

      JBuilder is very fast and stable on my 700 MHz OS X iBook - much faster MS Word. The numerical performance of my own Java app is very close to C++, and multi-threading is really impressive.

    21. Re:I question the validity by Anonymous Coward · · Score: 0

      Run Jext or Borland JBuilder and you'll see what I mean.

      I use JBuilder daily, it's not slow. It's performance and reliability is very good. It is a memory hog though, but then again so is Developer Studio.

    22. Re:I question the validity by obsidian+head · · Score: 1

      JBuilder is very fast and stable on my 700 MHz OS X iBook - much faster MS Word.

      I didn't mention OS X performance. The Mac Look 'n Feel tries to use native widgets whenever possible, and it's gotten better after every OS update. So you're to be envied.

      HOWEVER, Java is built into MacOS X. I'm not sure if I could work around compatibility breaks by bundling the JRE, as I do with Windows.

      The numerical performance of my own Java app is very close to C++, and multi-threading is really impressive.

      I've heard that too about numerical performance. And luckily, with the new nonblocking i/o, there won't be too many situations where I have to spawn a lot of threads. (Apparently multithreading is variable depending on the native platform, though I've never stressed it enough to know.)

    23. Re:I question the validity by Anonymous Coward · · Score: 0

      oh.the old cli,hlt thing. read a little bit about multitasking and then you know why it happens in Win9X series but not in WinNT series. your post is typical. read it somewhere and repost as a "i can freeze this thing'. fck

    24. Re:I question the validity by WhaDaYaKnow · · Score: 1

      oh.the old cli,hlt thing. read a little bit about multitasking and then you know why it happens in Win9X series but not in WinNT series. your post is typical. read it somewhere and repost as a "i can freeze this thing'. fck

      I know EXACTLY how this works asshole. I was making a point that this sort of code ONLY works under Win9X (and that it can be done in less lines than the org. poster did). If you don't care to read an entire thread, don't post your fucking replies because you're out of context.

  40. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    PHP is good for its ubiquity...

    Many servers already run it or can be convinced to run it with no problems.

    But if you have the opportunity to roll your own server then you really should be using Zope.

    Based on Python, the functionality of zope and the elegance of its implementation, really blows PHP away.

    PHP will never fill the application server market the way that JSP does and
    that Zope will.

    If you want to see why PHP is good for quick and dirty little sites that want to be run cheaply on commodity hardware, but why JSP really rock - then check out the article on aceshardware about the rationale of setting up a java based sytem.

    PHP is great but after you use Zope you won't want to go back to PHP ever again.

  41. Bah, BS by Anonymous Coward · · Score: 0

    It may be easier to get started in PHP than java, sure, but to say it's only "a language for people who are too dumb to program" just reveals you for what you are -- nooobie.

    If you really think a language is better because it's paradigms are more difficult to understand and take longer to work with, I won't be hiring you any time soon.

    Java hasn't payed off on it's promises. The few minutes of time it saves by preventing an aliasing or typing error here and there aren't worth the awkwardness and verbosity.

    1. Re:Bah, BS by Anonymous Coward · · Score: 0

      Never mind, I don't want to work in your company anyway. But I hope you get to write a 300,000 line or larger project in PHP soon. Then you will understand.

    2. Re:Bah, BS by Anonymous Coward · · Score: 0

      You're both wrong. Your "arguments" are akin to two guys in a hardware store arguing over whether a tack hammer or a 15 lb. sledge is "better".

      A real expert knows that there are different tools for different jobs, and knows what one to use for a given task.

    3. Re:Bah, BS by Anonymous Coward · · Score: 0

      I seriously doubt I would attempt to implement something > 300,000 lines in PHP.

      But that doesn't mean using it for projects that are a few thousand up to 100,000 lines makes me a dumb developer. And these are the projects I'm stuck doing at the moment -- several per month concurrently, usually.

      I'm still primarily a Java (WebObjects) developer, I've only recently started using PHP for small projects. I was just pointing out that the guy's attitude is flawed.

  42. *On Solaris* by Anonymous Coward · · Score: 0

    If you'd read the article, you could see this applies to problems with the Solaris JRE, not Java itself.

    Solaris 9 for x86 was delayed for quite a while to address some of these issues.

  43. Ahh, Taco by Anonymous Coward · · Score: 2, Interesting


    Please. Try to communicate the essence of the article in your summary.

    The essence is, Sun has a buggy implementation of Java on Solaris that is scaring off internal developers.

    The essence of your summary is, Java isn't usable, and Solaris is a problem. Duh, you missed the connection! It's Sun's *implementation* of Java on Solaris that's inadequate. The memo stresses that nothing's wrong with Java, and it doesn't suggest that anything's wrong with Solaris.

    Why would you write such misleading over-generalizations? What's the motivation? C'mon, Taco!

  44. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    PHP is 4 times faster than Java technology 'JSP' (Java server pages).
    Yeah, it crashed when they ran it at 5x Java-speed....

  45. Turf War by the+eric+conspiracy · · Score: 2, Insightful

    This memo looks like a turf war to me. Somebody is ARC needs to justify his job, and has decided he can do it be getting his hooks into Java.

  46. Re:Kiss and say goodbye to Java language!! by Jugalator · · Score: 1

    "Java is not the wonder language which solves all development issues as some of the SUN marketing drones would have us believe"

    No, they don't even think it should be used in commercial apps. :-P At least not in Solaris systems, depending on how you interpret the memo.

    --
    Beware: In C++, your friends can see your privates!
  47. Goodbye PHP - Hello Zope by Anonymous Coward · · Score: 0

    PHP is good for its ubiquity...

    Many servers already run it or can be convinced to run it with no problems.

    But if you have the opportunity to roll your own server then you really should be using Zope.

    Based on Python, the functionality of zope and the elegance of its implementation, really blows PHP away.

    PHP will never fill the application server market the way that JSP does and
    that Zope will.

    If you want to see why PHP is good for quick and dirty little sites that want to be run cheaply on commodity hardware, but why JSP really rock - then check out the article on aceshardware about the rationale of setting up a java based sytem.

    PHP is great but after you use Zope you won't want to go back to PHP ever again.

  48. *please* read the f**king memo before posting by linuxghoul · · Score: 2, Interesting

    The memo says that the JRE implementation on Solaris (not the implementation of SOLARIS itself)is a cause of many java problems, including

    1) Large memory usage (cites an example of a "hello world" program using up 9MB)

    and

    2) Long startup times

    the memo blames these problems in the SOLARIS implementation of java VM on the "fact" that that project doesnt seem to have prority. The memo states in passing that the win32 vm doesnt seem to suffer from these problems as much. So the memo specifically restricts itself to the solaris jvm.

    It also talks about how the java vm doesnt confirm to the sun SDF, and thus the versioning is incomaptible with it. There is no support for patching an installed java vm, thus requiring an entire new install of the latest version of the jvm if a bug is discovered. This means either having multiple jvm installed and running if different java applications on a system need different java releases, or breaking a whole set of applications, which may not run with the latest release. Again, cites examples of these.

    The memo makes a case for:

    1)introducing a patch system for java vm, so there need not a a new install everytime a bug is discovered.

    2) stict backward compatibility, so that an application written for the older version of JVM works with all later minor revisions

    3) consideration of a new mechenism for "bsoleting" and interface replacing/in addition to deprecation.

    4) priority for solaris jvm development, with claims (by comparing it with python!!) that the memory footprint of the java resident set (the code bloat added by the garbage collector and co to each running java program) maybe reducible to a fifth of its current size.

    read the memo. its a very intelligently argued writeup, and has been completely misrepresented in the slashdot post.

    very interesting read.

    Ghoul2

    --
    Sigura Non Grata
    1. Re:*please* read the f**king memo before posting by Anonymous Coward · · Score: 0

      2) is a big problem for me, I wrote an early Java program, and they changed the event handling syntax so that by 1.2 it didn't compile any more. That is just ridiculous and unreasonable. Fortunately I have a compiled version and I got out of the write once debug forever that Java seems to have become there and then.

    2. Re:*please* read the f**king memo before posting by Anonymous Coward · · Score: 0

      Why should I read the writeup, when I can just go around spouting out how bad Java is? You know, without knowing what I'm talking about?

      Oh, my name isn't Jugalator by the way. Or HanzoSan. Definitely not HanzoSan. I'm just another ignorant fucker, I can see how you'd get us confused.

    3. Re:*please* read the f**king memo before posting by abirdman · · Score: 2, Interesting
      Agreed! Even more, and the reason I think it's an internal memo (if that's what it is), is it appears to be a plea for funding for the same kind of internal regression testing and software QC as the rest of SUN's software has:

      (last paragraph)
      Correcting the Java Problem

      We strongly recommend that management require Java to conform to the Software Development Framework (corporate-speak for expensive corporate QC program. ed.) especially from the standpoint of ARCreview. We believe that the next release of the Sun Java implementation should be brought to ARC while still in the prototype phase. Both PSARC and LSARC have dealt with the Java issues peripherally, recognizing numerous problems but unable to effect change in the underlying source of the difficulties - namely Java. By bringing the Sun Java implementation through ARC, these issues can be resolved.

      This was written by some engineers who want to run the program through a slow (and I'm sure costly), corporate QC program. I've written memos like this myself when it seemed my supervisor didn't have the wherewithal to resolve an issue on his own, sometimes at my supervisor's request. I can't help but think that it's a possible start to SUN addressing the stated problems responsibly. (Memory usage, version clash, and poor performance on the "native" (Solaris) platforms are all huge issues). Alternatively, SUN could just decide the extra cost for QC will make the JAVA project prohibitively expensive and take another direction. Either way, it seems like this document is not some screed on the viability of JAVA but a plea for funding to make it better.
      --
      Everything I've ever learned the hard way was based on a statistically invalid sample.
  49. Java No Cocoa Yes by Glindonna · · Score: 1

    It's about time that the whistle was blown on this situation. Ironically, only Sun had the credibility to do so.

    Java is a fine language with an great set of ready-to-use out-of-the-box classes . Unfortunately, the VM crisis and minor release incompaabilities render it USELESS for all but the most tightly controlled deployment situations. It is nearly impossible to support commerical apps on Java without torturing yourself and your customers.

    What to do? Simple. Apple needs to open and get Cocoa running on Windbloze and Linux and we need to once and for all put a bullet in the head of Java as a desktop development platform.

    There are so many corporate fiefdoms built on Java, of course, that this train wreck will go on for years before the final collapse. Make no mistake, however, it will collapse.

    Cocoa or .Net. You decide. Java is simply not competitive. It's garbage and it's a dead end.

    Glin

    1. Re:Java No Cocoa Yes by Anonymous Coward · · Score: 0

      See gnustep.org. Better yet, contribute to the effort.

    2. Re:Java No Cocoa Yes by Anonymous Coward · · Score: 1, Interesting

      Cocoa has absolutely zero chance in the real world unless a) Apple gets real about (or open sources) the development environment and b) loses their totalitarian attitude about what they expose in the api's.

      WebObjects went from number one to has-been, and these same two factors were a large part of the reason. You get these admittedy elegant abstractions, and then discover they've (deliberately) failed to expose one crucial thing and you get lost in Kafkaesque world of trying to work around their arrogance. All the time the wonderful elegant frameworks would've saved you is out the window.

      Half the webobjects world (now a tiny insignificant fraction of the web application universe due to Apples ineptitude) have pitched the development tools on the midden heap where they belong and switched to Eclipse + Ant.

      WebObjects was ported to Java four fscking years ago and ProjectBuilder still has no concept of packages. Can you believe that BS???? How can an IDE that targets java not know packages? only from Apple.

  50. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    PHP is years behind java .... it cannot scale, does not use threads and the connection pooling is a joke.

    - Java can share resources across threads, e.g. one tomcat thread can share a cache with another, so saving many hits on the database. The only caching available in PHP is using the user's session - no where near as good as one central cache for the entire application accessible by all clients.

    - PHP's database connection pooling is fairly pointless.. the persistance only lasts as long as a single request.

    - PHP's database api is terrible. To convert from using one database to another all database related function calls need renaming. In Java it is just a case of changing the connection url.

    - Java is type checked, so you know when you've made typos/passed in the wrong sort of arguments to a function. PHP will just carry on (sometimes without even giving you an error). This makes your life as a developer much harder as you need to undertake a lot more testing.

    - Error reporting under PHP is a joke.... Exceptions are far more powerful.

    - Java can be just as quick as a C program as it is able to use run time optimisations etc.

    - PHP has no real OO features - it's inheritance structure can only go one level deep - i.e. parent and child. It has no protection on class attributes, so you rely on the programmer to use your get/set methods, rather than just accessing the variable directly.

    - PHP cannot scale as far as Java, as it requires a new process for every additional request ... Java requires a new thread... guess which is quicker to create, and requires less memory?

    The only thing PHP has in it's favour is a friendlier API for web development - e.g. addSlashes or htmlEntities, but then these aren't exactly all they are advertised as, due to the global configuration potentially being different on each deployment. (htmlentities doesn't even remove ( and ) .. so not really stopping XSS attacks).

    Lie down there Boy, for the cows to run over you.

  51. this is talking about a problem with solaris by rhyd · · Score: 1

    A review of the problem indicates that these issues are not inherent to Java but instead represent implementation oversights and inconsistencies common to projects which do not comunicate effectively with partners and users.

    this is talking about a problem with the solaris JRE

    Can't imagine what the problem is - in my experience java on solaris is very fast.But its well known that most of the dev resources go into getting the Windows version to fly

    i know sun have been angling Java for use in telecomunications for a while and keep running into problems there because they require consistant QoS (no pauses for garbage collection), less memory overhead, and scaling to handle huge numbers of threads. From what i've read a lot of these problems have been addressed with 1.4 (certainly incredible improvements in GC). improvements between major new JRE versions are bound to mean some programs need to be reworked to fully take advantage - but i have never once seen a program that wouldn't run on a newer version of the JRE ie no backword compatiblity issues whatsoever. EVER. As for grid line behaviour changing in the Jtable I mean for f*^% sake is this guy on crack? swing programmers should never be worrying about absolute stuff like that good Swing programs are are lot like good HTML - they assume very little (but yeah they do use a load of memory)

    i don't know what this guys ploblem is. The source code to 99% of the J2RE and J2SDK is available. (the bits that are closed source are stuff to do with fonts and imaging codecs that Sun doesn't own i believe) so what is to stop these guys fixing the problems in the solaris implementation? they work for Sun for christs sake! they could be more proactive than just whining and submiting bug reports.

    --
    'Be the change you want to see in the world' - Al Gore
  52. Anonymous Inner Classes by snatchitup · · Score: 4, Interesting

    And I thought I was the only one actually using them. I use them all over. They're a great way to intimidate the other developers, plus I needed them to pass Sun's Cert.

    But what I've never needed to do with them is serialize them. Interesting.

    Did you notice that of the 9 key bug/issues, 5 were AWT (GUI) related and 1 was Serializing Anonymous Inner classes.

    Why would they bring those up, and then within a sentence or two, mention Python. From what I understand, Python is mainly used for server side scripting. I doubt anyone uses Python for serializing anonymous inner-classes!

    The letter was put together hastily at best. It was an eclectic set of beefs.

    The last sentence really sums it all up. It's politics to get some resources shifted in their favor for the next build: ...namely Java. By bringing the Sun Java implementation through ARC, these issues can be resolved.

    1. Re:Anonymous Inner Classes by Anonymous Coward · · Score: 0
      And I thought I was the only one actually using them.
      Aye, they are great for closures and such stuff.
    2. Re:Anonymous Inner Classes by ericnewton · · Score: 2, Informative
      I doubt anyone uses Python for serializing anonymous inner-classes!

      Python supports a limited form of lambda, which is kinda-almost-like an anonymous inner-class. And interestingly enough it cannot be serialized by the python pickle module.
      >>> import pickle
      >>> pickle.dumps(lambda x: x)
      Traceback (most recent call last):
      File "<stdin>", line 1, in ?
      File "/usr/lib/python2.2/pickle.py", line 977, in dumps
      Pickler(file, bin).dump(object)
      File "/usr/lib/python2.2/pickle.py", line 115, in dump
      self.save(object)
      File "/usr/lib/python2.2/pickle.py", line 225, in save
      f(self, object)
      File "/usr/lib/python2.2/pickle.py", line 519, in save_global
      raise PicklingError(
      pickle.PicklingError: Can't pickle <function <lambda> at 0x82534fc>: it's not found as __main__.<lambda>
    3. Re:Anonymous Inner Classes by zenyu · · Score: 1


      No I think they are great. But I've also serialized classes before and you HAVE to write your own searilizing methods. Every bit of serialization documentation tells you they are not yet compatible accross JVM versions, and the defaults are very fat anyway. Thankfully, it's easy to write your own read & write methods...

      The memo is a good thing, I've been quite annoyed to see my bug reports closed as "will not fix" and sometimes attended to until over a year later, when I'm working at a differnet company.

    4. Re:Anonymous Inner Classes by Jerf · · Score: 4, Informative

      Why would they bring those up, and then within a sentence or two, mention Python. From what I understand, Python is mainly used for server side scripting. I doubt anyone uses Python for serializing anonymous inner-classes!

      No, Python is used for everything that a general-purpose language is used for, except anything best done in C is stuffed into C extensions. The exceptions are of course the standard exceptions for C, which basically owns systems programming. (The need for fast, tight code in Python is done by embedding C; see the Numeric extension which provides many very fast number operations comparable to anything else, because the operations are in C.)

      In general, Python has no need for anonymous inner-classes; anonymous inner-classes are a worthless hack in Java to provide things that should be provided through any number of other good mechanisms, and even then they only partially and frustratingly succeed. Don't take my word for it, take jwz's word for it (do a find for "mind-blowing worthlessness of inner classes", for instance, though it comes up several times as he mentions the lack of several better solutions).

      Inner classes, as implemented in Java, are an atrocious idea and I know of no other language, including specifically Python, that doesn't have at least one inherently superior mechanism for doing that stuff, and most have multiple. (Even Perl has closures!) Thus, they have no need for what Java means by 'anonymous inner classes'. (Inner classes can exist in Python, but they have so many more capabilities that it's not even close to comparable, and I only need them when I'm dynamically generating classes anyhow.)

      On the one hand, I'd say have a look at some of these other languages and use them enough to understand the idiomatic uses of the capabilities in those languages. On the other hand, I don't suggest it, as you may find it very difficult to program in Java again after you are done. Java is not a language designed to empower the developer.

    5. Re:Anonymous Inner Classes by Chester+K · · Score: 1

      From what I understand, Python is mainly used for server side scripting.

      These days, so is Java.

      --

      NO CARRIER
  53. Applets? What year are you in? by revscat · · Score: 3, Informative

    Anyway, regardless of the JVM, applets are only applets.

    I hate to sound trite, but the fact that you place so much importance on applets (they are, after all, the only example of the technology that you imply exists) leads me to believe you're not really versed in the current trends in Java. The simple fact is that no one use's applets anymore; certainly there is no new development going on in that area. Most Java applications are written for the J2EE platform.

    Even at that, those who do wish to write the modern equivalient of applets use Java Web Start, which is much more robust and doesn't operate within the confines of a browser.

    1. Re:Applets? What year are you in? by frleong · · Score: 1
      I hate to sound trite, but the fact that you place so much importance on applets (they are, after all, the only example of the technology that you imply exists) leads me to believe you're not really versed in the current trends in Java. The simple fact is that no one use's applets anymore; certainly there is no new development going on in that area. Most Java applications are written for the J2EE platform.
      Have you read about the litigation? The antitrust stuff, you know. It talks about leveraging *DESKTOP* monopoly. Everything goes around IE and the only Java technology you can run in IE is applets. Don't throw J2EE and any other irrelevant bits to me.

      What is the point of Sun accusing Microsoft of not bundling the JVM, if all that the Microsoft's JVM can do is to run applets or antique Java apps? MS JVM is not for servers anyway. Admins install the JVMs they want, from Sun or anybody else. Bundling with Sun's JRE doesn't help a single bit. And that's my original point.

      --
      ¦ ©® ±
    2. Re:Applets? What year are you in? by Ilgaz · · Score: 1

      There is something absolutely wrong on JRE Win32. As a developer (I guess you are), go and get JRE 1.3.02 or something from Sun. Install on a modern machine with more than 10gb of disk space, you'll get "not enough disk space on machine" error. Guess why? They didn't update their installer platform (Installshield) until 1.4.x

      They couldn't figure how NOT TO MAKE PEOPLE PARANOID by preventing showing Java non working ActiveX'es as damaged etc.

      Web will really shake after Sun java comes with Windows OS'es... Sadly, it will break reputation of Java more in eyes of end users.

    3. Re:Applets? What year are you in? by revscat · · Score: 1

      Have you read about the litigation? The antitrust stuff, you know. It talks about leveraging *DESKTOP* monopoly. Everything goes around IE and the only Java technology you can run in IE is applets. Don't throw J2EE and any other irrelevant bits to me.

      So? I said nothing about the litigation, and admit full-well to not being fully versed in this. You have avoided my central point that applets are for the most part historical relics.

      Further, your use of the phrase "J2EE and other irrelevant bits" convinces me that you are -- as happens so frequently in these kinds of dicussions -- attempting to knock Java in lieu of your favorite technology. Judging by the history of your posts I'm not too far off the mark.

      What is the point of Sun accusing Microsoft of not bundling the JVM, if all that the Microsoft's JVM can do is to run applets or antique Java apps?

      The dispute was not about whether MS shipped or didn't ship a JVM, it was that the JVM Microsoft shipped was intentionally broken. The hooks into MFC that Microsoft put into the JVM were quite simply not part of the Java specification.

    4. Re:Applets? What year are you in? by frleong · · Score: 1
      So? I said nothing about the litigation, and admit full-well to not being fully versed in this. You have avoided my central point that applets are for the most part historical relics. Further, your use of the phrase "J2EE and other irrelevant bits" convinces me that you are -- as happens so frequently in these kinds of dicussions -- attempting to knock Java in lieu of your favorite technology. Judging by the history of your posts I'm not too far off the mark.
      But this thread is about the litigation, and Sun may lose points here when MS appeals. When I said "J2EE and irrelevant bits", I mean that J2EE and other server-side technologies are irrelevant to the case. The only thing Java has to do with a desktop OS and IE are applets, regardless whether they are historical relics or not. Period. Sun's lawsuit forces MS to bundle its own JRE, with its own problems, like poor client-side performance. How does that help server-side stuff, which is Java's strong point, when server admins often install their favorite JREs already?

      Judge whatever you want, but you are far off mark, which is usual in this sort of discussions. When it comes to webapps, I avoid MS technologies, I use mainly JSP+Struts and Linux.

      --
      ¦ ©® ±
    5. Re:Applets? What year are you in? by ClosedSource · · Score: 1

      "The dispute was not about whether MS shipped or didn't ship a JVM, it was that the JVM Microsoft shipped was intentionally broken. The hooks into MFC that Microsoft put into the JVM were quite simply not part of the Java specification"

      There's a big difference between being broken and adding extra functionality. By the way, MS's JVM has nothing to do with MFC. MFC is strictly a C++ framework.

    6. Re:Applets? What year are you in? by S.O.B. · · Score: 2, Interesting

      You have avoided my central point that applets are for the most part historical relics.

      I think the point of Sun's case against Microsoft is that they have essentially killed Java on the desktop primarily through the deployment of an incompatible thus making applets historical relics.

      The question is would that had happened if Microsoft hadn't done the things it did. If the case shows that Microsoft directly contributed to the decline of Java on the desktop through illegal monopoly behaviour then some remedy must implemented. An appropriate remedy would be to force Microsoft itself to be the one to correct the damage they did by delivering a Sun JVM with every copy of Windows and Windows updates.

      --
      Some of what I say is fact, some is conjecture, the rest I'm just blowing out my ass...you guess.
    7. Re:Applets? What year are you in? by Anonymous Coward · · Score: 0

      t talks about leveraging *DESKTOP* monopoly. Everything goes around IE and the only Java technology you can run in IE is applets.

      So many errors/misstatements there that I don't even know where to begin.

      From WAY back, you've been able to run standalone Java *applications* (not applets) on the Windows *desktop* (not in IE) using either Microsoft's JVM or Sun's JRE.

      In the future, you might want to learn something about what you're talking about before exposing your ignorance in front of millions of people.

    8. Re:Applets? What year are you in? by mobiGeek · · Score: 1
      Applets are still irrelevant. The JRE on the desktop argument is not about applets running in IE. It is about having a single, standards conforming runtime environment on the #1 (only?) business desktop in the IT industry.

      With such a runtime available to all desktops, then client-side Java applications could have a chance to make it.

      MS's abuse of the Java standard and its blocking of efforts to get a compliant JRE onto the desktop, thus stiffling Java's advancement as an application platform, is what is at stake...not the ability to have more annoying "web-based" applets (and application can be "web-based" without it being an applet...in fact, it is better that way).

      --

      ...Beware the IDEs of Microsoft...

    9. Re:Applets? What year are you in? by Minna+Kirai · · Score: 1

      If cross-platform compatibility ("write once run anywhere") is a design goal for the product, then adding platform specific extensions means breaking that product.

      In terms of programming languages/environments, what a standard forbids is as important as what it accepts.

    10. Re:Applets? What year are you in? by cryptowhore · · Score: 1

      You don't sound trite. You don't sound like a troll. You sound like one of the few people on this site that has a real job or has been paying attention to THE REAL WORLD. Anyway, I see some of the points that they are making (despite the fact it was obviously written by clever hoaxers) and I do perf analysis on Solaris and AIX boxes running our web backend. Most of the actual web page is written in Java and I have to say that the performance can be really shitty on Java but it really depends on the developer and how much priming and ram you want to throw at the JVM. There is an optimal Heap Size for your Server JVM in all cases....test....test...and test again.

      --
      Happiness is a slider variable
    11. Re:Applets? What year are you in? by mentin · · Score: 1
      In terms of programming languages/environments, what a standard forbids is as important as what it accepts.

      Standard can't forbid adding new libraries to environment. E.g. take a look at Apple - they ship Java machine with extensions for accessing MacOS X APIs.

      Or if somebody ships a Linux claiming conformance to LSB, but adds some proprietary applications to it, he violates the standard?

      --
      MSDOS: 20+ years without remote hole in the default install
    12. Re:Applets? What year are you in? by Random+Feature · · Score: 1

      The only thing Java has to do with a desktop OS and IE are applets

      Java applications run on Windows desktops too. And they most certainly don't use IE nor are they applets.

      And many, many, MANY management consoles for network devices are Java apps - not applets.

      --
      I don't have a solution, but I certainly admire the problem.
    13. Re:Applets? What year are you in? by ClosedSource · · Score: 1

      You are confusing Sun's goals for Java with that of a product developer. If you're using specific extentions in your product that are not cross-platform, then you've already made the decision that cross-platform functionality is not a design goal.

    14. Re:Applets? What year are you in? by Minna+Kirai · · Score: 2, Insightful

      By product developer, do you mean Microsoft making their J++ environment, or J.Random programmer making a corporate data-entry form? The latter is dependent on the former, as the ability of random "Java" programmers to create platform-specific software was enabled by incompatible features inserted by Microsoft.

      Legally, Microsoft's goals for the product should've been the same as Sun's. They signed a contract stating they would ship "Java (tm)" with Windows. The trademark on "Java" belongs to Sun. Therefore they get to decide what Java is and isn't.

      Adding new, incompatible features is inconsistent with what Sun had defined Java to be. Therefore Microsoft violated a contract, and the court is making them pay for it. Rather than trying to come up with a dollar value for Sun's loss, they're looking about simply enforcing the original terms.

      This case is a fairly "simple" matter of contract law, not world-shaking antitrust violation. (Sun lawyers like to suggest monopoly abuse as a way to angle for more damages, but that's not the core of the complaint). As a contract matter, the court must aim for a solution that is fair for Sun, not "good for software users everywhere" (as was suggested far up this thread).

    15. Re:Applets? What year are you in? by Minna+Kirai · · Score: 1

      Standard can't forbid adding new libraries to environment.

      A standard can forbid whatever it likes. I could argue that since "Java" meant not only a programming language (like C++), but also a runtime environment and a set of libraries (larger than what, say, "C standard libraries" provide), that extending those was violating the standard.

      In comparison to other standards, we've known for a long time that Java isn't an "Open Standard" like C++ or TCP/IP. (Especially in the past, when Microsoft's offenses occured). There's no public committee to approve amendments to the standard- what Sun says goes. They had wide latitude to redefine the standard as it suited them.

      Looking at it from this perspective, one might think Microsoft foolish to sign a contract agreeing to ship Java, when the definition of Java could change in the future. That may be, but they did sign.

      (Apple might also be in violation on "nonstandard library extension terms"- but they probably don't have the same contract terms as Microsoft did, and Sun won't waste time targeting a small fish until the big one is taken)

      However, I don't even need to discuss new libraries. Microsoft introduced incompatibilities to the language itself. Features like delegate (a new keyword!!) don't provide access to any underlying Windows(tm) functionality- they just change how program internals work.

      When GNU C++ did this, they were punished, although by gentle community opposition, rather than lawsuits, as they had no contractual obligation to the standards holder. (And C++ was understood to be a platform-bound language anyhow)

      Or if somebody ships a Linux claiming conformance to LSB, but adds some proprietary applications to it, he violates the standard?

      The Linux Standard Base specifically mentions that extensions are allowed. Therefore they don't violate the standard. If a standard disallows them, then yes, that's in violation. If a standard is silent on the topic, it needs revision in version x.1.

    16. Re:Applets? What year are you in? by dan+the+person · · Score: 1

      what namespace are apples osx extensions in?

      I bet they are not in the java.* namespace that microsoft used, which impled they were a core part of the java standard.

    17. Re:Applets? What year are you in? by ClosedSource · · Score: 1

      Well, you seem for the most part to have shifted from a technical argument to a legal one. More about the legal stuff later.

      I'm not sure what you mean about J.Random programmer. I believe that anyone capable of writing Java code, is capable of understanding what the implications are of using non-standard features.

      Although a lot of lip service is made to cross-platform development, very few such programs are actually developed. Internal cross-platform programs are rarer still since the company has typically already decided on the platform its going to run the application on. There's really no benifit to the company if their accounting program runs on Unix, Windows, and the Mac. If Java is selected for in-house development it is either because someone in authority is idealistic or more likely, just thinks it's a better language.

      As for the legal issue, you're simply incorrect. The current case is a private antitrust suit and has nothing to do with contract law. The Java contract dispute between Sun and MS has already been settled out of court.

      If this were a simple contract matter, the court could force MS to live up to the terms of the contract and/or pay Sun damages, but there's no way the court could order MS to distribute Sun's Java because that was never part of the contract.

      So Sun's doing this in the context of antitrust law where (as many Slashdotters love to point out) the rules are different (although not as different as they think).

    18. Re:Applets? What year are you in? by Minna+Kirai · · Score: 1

      Well, you seem for the most part to have shifted from a technical argument to a legal one. More about the legal stuff later.

      This is a litigation thread, it was always a legal argument. There is no technical dispute- Microsoft's Java changes are simply wrong. They've even acknowledged this, by ceasing changes to their Java fork and rolling out their .Net system which is more in tune with their own vision.

      I believe that anyone capable of writing Java code, is capable of understanding what the implications are of using non-standard features.

      Untrue. Even supposing they can tell what nonstandard features are. Any executive-level decision to use Java for internal work was probably based in part on becoming less dependent on Microsoft's erratic behavior in the future. But the front-line programmers who implement this stuff only sees a deadline to run the software on the boss's laptop in 5 weeks, and does whatever it takes to get there.

      There's really no benifit to the company if their accounting program runs on Unix, Windows, and the Mac.

      It hurts the company, and it hurts all of society. It pins users to one system, reinforces the Microsoft monopoly, and undermines the goals of Java. But, the damage isn't short term- it's not an immediate cash loss, so it doesn't figure into the company's planning. (Few companies look even 5 years ahead, none 10).

      Macintosh or Linux alternatives for all major Microsoft-based applications already exist. For many organizations, the element pinning them down to stay on MS Windows is custom-built apps. Usually, these things have little need for high-speed display or tight OS integration. They're probably just database frontends- exactly the sort of thing Java's limpid GUI system could cope with.

      My large corporation uses data-entry DB frontends written in Java. We can only run them on Microsoft Windows, though. All us engineers sit in front of Sun, Irix, or Linux workstations, but we still need Microsoft Windows licenses to run Java programs. The irony is nearly fatal.

      The Java contract dispute between Sun and MS has already been settled out of court.

      And then Microsoft immediately broke the agreement. They had a settlement in Jan01. After violating it, Microsoft was hauled back into court. They lost that case in Dec02, and were ordered to ship Sun's Java.

      If this were a simple contract matter, the court could force MS to live up to the terms of the contract

      It is. They did.

    19. Re:Applets? What year are you in? by mentin · · Score: 1
      what namespace are apples osx extensions in? I bet they are not in the java.* namespace that microsoft used, which impled they were a core part of the java standard.

      wfc were in com.ms.wfc namespace.

      there were also custom attributes for COM interop, also in com.ms and very similar to Apple's version

      and delegates. I think only delegates were in core namespace.

      --
      MSDOS: 20+ years without remote hole in the default install
    20. Re:Applets? What year are you in? by ClosedSource · · Score: 1

      "This is a litigation thread"

      The story you're posting about is "Even Sun Can't Use Java" It's not about litigation.

      Please explain to me how an accounting system that runs only on Unix and not on Windows or the Mac helps MS's monopoly? I never suggested that programs should be written to run on Windows only. I said that internal cross-platform programs don't provide any value.

      "My large corporation uses data-entry DB frontends written in Java. We can only run them on Microsoft Windows, though."

      Well, it sounds like your corporation decided to create a Windows-only front-end in Java. If they had implemented it a few years earlier they probably would have created a Windows-only solution in C or C++. I seriously doubt that they thought it was going to run on multiple OS's at the time they created it. The fact that they haven't ported the front-end to other OS's indicates that they don't think it's a problem. I'll bet there are a lot of non-technical folks at your company that don't know anything about Unix that use this application too.

      As far a what kind of case MS recently "lost" (the case hasn't even gone to trial yet), I suggest you read your own link:

      "Sun Microsystems (Quote, Company Info) won a key victory in its ANTITRUSTSUIT against rival Microsoft (Quote, Company Info) Monday, when a federal judge issued a preliminary injunction that requires the Redmond, Wash.-based software titan to include a Java Virtual Machine, or JVM (define), in its Windows XP operating system."

      I'm not going to argue further about facts that are in the public record.

    21. Re:Applets? What year are you in? by Pieroxy · · Score: 1

      I think you are confusing namespace and package.

      But you are right, the Java language is defined by its syntax, JVM specs and the java.* package. Anyone modifying that is clearly modifying Java...

      Shipping additional packages is fine.

    22. Re:Applets? What year are you in? by dan+the+person · · Score: 1

      a classes package IS its namespace

    23. Re:Applets? What year are you in? by Pieroxy · · Score: 1

      I thought a namespace was defined by a classloader. All classes loaded by a specific ClassLoader are in the namespace of this classloader. That's how you can dynamically reload classes (and how JSP on-the-fly compilation works): You just reload the class in a new namespace.

  54. uhm what by Anonymous Coward · · Score: 0

    uhm, i dont know if you understand what 'monopoly' is, but 'shitty product that doesnt work' is not the same thing as a 'monopoly', jesus christ.

  55. Universal. by caluml · · Score: 1



    What's the selling point of Java? Write once, run any/everywhere?

    I know something else that's like that. C/C++ source code, Makefiles, configure scripts.

    If you write something, distribute it this way. Unix manufacturers should write a source-build tool/script that does all the ./configure, make, sudo make install stuff (just for the command line phobics.)

    This leaves out Windows users (who on the whole don't have a C compiler to hand), but that's a tar.gz sourceball, and a setup.exe. Voila, you have all your bases covered, and it's "universal".

    1. Re:Universal. by sporty · · Score: 1

      What's the selling point of Java? Write once, run any/everywhere?


      No, that's not the point, but a featuer. Java is a to-byte code compiled, object oriented language that supports serialization, garbage collection and other fancy stuff.


      I know something else that's like that. C/C++ source code, Makefiles, configure scripts.


      Java is just an alternative. I particularly like it, but to each their own, right?

      make has its own problems, like not being universal like ant could be. I say could, since most systems do have jvm's, i'm sure there's that one system taht doesn't where make exists. Point being, an does things in a very organized manner that's quite portable.

      c/c++, well.. strict c++ is very organized as well, but it has its own share of problems, like pointers and using c as a subset language. last thing i want to see is an object passed to a function, and not a method. like int x(Object a) { printf( "%s", a->getSomething() ) }

      Having said that, java has its own problems, not in the JVM though, as a general concept. The solaris implementation seems to be a little borked now. Does that stop IBM or blackdown from creating a superior product? Not really. Though I'm not fond of how they initially created int and Integer and not make them assignment compatable.
      --

      -
      ping -f 255.255.255.255 # if only

    2. Re:Universal. by crmartin · · Score: 1
      So I take it you've never tried this on your own?

      You're right, it CAN be made to work. It ain't easy. It's a little easier now with ANSI C and "pedantic" on in GCC, but a lot of us still remember idioms like the old BSD trick of depending on address 0 containing 0. And you tell me what the value of i will be when the below terminates (assuming it does terminate) without knowing what the underlying hardware architecture is.
      short i = 0 ;
      for(;;)
      i++ ;
    3. Re:Universal. by morto · · Score: 1

      Calumnl,

      I agree it can be done but it is not that easy.
      In my opinion for simple C code maybe but for most applications, networking, threads and different GUI apis are still major portability problems.
      Sure lots of frameworks try to solve these problems but they are not a standard neither a "de facto" standard.
      Java is currently the best option for portability.
      By the way, the big memory foot print mentioned here can be greately reduced by not launching one JVM for every single program. I don't know why nobody mentioned this.
      Best regards,
      morto.

      --
      "Think globally, act locally".
  56. Hoax? Nothing verified by sparkhead · · Score: 4, Insightful
    It turns out that Sun does not eat its own dog food. Specifically, this internal memo from Sun strongly suggests that Java..

    Purported internal memo. There's nothing there that suggests it is genuine and a few things that suggest it isn't.

  57. PHP is the destination by ubiquitin · · Score: 1

    Yes, the PEAR project has to crawl before it can walk, but the ability to do both object oriented code and procedural hacks (whichever makes most sense for your project) makes the PHP environment for web applications the better choice. Ever tried finding the location of a JSP bug?

    --
    http://tinyurl.com/4ny52
    1. Re:PHP is the destination by the+eric+conspiracy · · Score: 1

      Ever tried finding the location of a JSP bug?

      Yes, it's extremely easy given that the line number is output to the screen along with a stack trace. In fact, it's much easier than in PHP where the location is at best an approximation.

    2. Re:PHP is the destination by dnoyeb · · Score: 1

      I completely disagree. Java's strength is because it specifically does NOT allow procedural hacks.

      That ability would allow certain programmers to take short cuts on projects, then as they invariably do when the project is blown to hell, leave the company and toss the burdeon on someone else.

      In Java I never fear running into the garbage I see in c and c++. Yes you can write clean code in any language, but its nicer when you are forced to do it more often.

      So I disagree that the ability to do proceural hacks is a bonus.

    3. Re:PHP is the destination by the+eric+conspiracy · · Score: 1

      Yes, but the JSP does it for free.

      If you really want to do it right in Java, throw in a logging class and exception handling so that error traces get dumped to a log file and the error is handled gracefully. Highly recommended for a production site so your users never see an error message.

    4. Re:PHP is the destination by mcrbids · · Score: 2, Informative

      PHP is "the one" for me!

      Now with the gtk extensions it does a mighty fine job on the server or on the client!

      It has the ease of text manipulation of Perl without all the nasty hacks in syntax. It's cross platform, free, and performance is good. (Probably better than Java, since my own testing indicates it's considerably faster than Python)

      It makes a good, all-around scripting language for sysadmining, UI management, etc. and it even makes a good case for fast web development!

      Among other things, a web server (yes, a replacement for Apache!) has been written in PHP!

      I figure that with all the noise of "web services" this, and "cross platform" that, there's a good chance that PHP could be the "next big thing"...

      Yeah, I use PHP an awful lot.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    5. Re:PHP is the destination by slonob · · Score: 0
      Ever tried finding the location of a JSP bug?
      I suppose it's tough if you're new... just like anything. JSP gets converted to a regular .java file. When an error comes up, it tells you exactly where in this .java the error has occured. Furthermore, looking at this .java file can explain relationships between classes that you perhaps were not aware of. It's kinda nice actually.
      --
      Strict obedience to the law is the key to liberty.
    6. Re:PHP is the destination by Anonymous Coward · · Score: 0
      PHP is "the one" for me!

      You will grow up and start using real languages once you will finish the college.

    7. Re:PHP is the destination by Anonymous Coward · · Score: 0

      Meanwhile PHP still uses the notoriously buggy mechanism of reference counting. That's the only reason I need for not using PHP.

    8. Re:PHP is the destination by Anonymous Coward · · Score: 0

      .A "bug" isn't the same thing as a "typo." And there can be some very tricky typos with javascript. Even with only whitespace.

    9. Re:PHP is the destination by Fjord · · Score: 1

      Der, stack traces shouldn't go to the screen, they should be logged. I really wish that there was a way to get it such that the JSP code would whitespace such that line n in .jsp is line n in the generated .java. As it stand, I find I have to have "keepgenerated" on, and look in the .java file to see what the equivelent in the .jsp file is.

      Luckily I don't have this problem as much using struts's taglibs. Any exceptions are using a result of deeper code and thus easier to find. But it is still a pain.

      --
      -no broken link
    10. Re:PHP is the destination by swisener · · Score: 1

      Umm, what? You easily write procedural code in Java. Just because you have to write fancy words in certain places doesn't mean it isn't procedural, e.g.

      public class MyModule
      {
      private static void myProcedure()
      {
      System.out.println("I am in no way OO! Yay!");
      }

      public static void main(String[] args)
      {
      System.out.println("Wheeee, I'm prodedural");
      myProcedure();
      }
      }

      And who ever said procedural code was bad? It's just a different way of organizing code.

      --Steven

  58. All we are saaaaaaayying by Anonymous Coward · · Score: 0

    is give Java a burial. So Sun is finally admitting something end users knew from the git-go.

    Gaaaaaaaaaawd, I hate Java and Java Script.

  59. Re:Kiss and say goodbye to Java language!! by TheRaven64 · · Score: 4, Informative

    I hope this illiterate drivel was intended as a troll, but just in case it was not:

    Forget Java man and go to PHP!

    Java is a general purpose programming language, PHP is not. PHP is a scripting language designed for server side web scripting. Ever tried writting a server in PHP? You can't, it doesn't let you accept incomming socket connections.

    PHP is 4 times faster than Java technology 'JSP' (Java server pages).
    This tallies because compiled "C" program is 4 times faster than Java.

    I'm not sure where you get your numbers from (the link you post is to a non-existent howto in the LDP), but I doubt that they are accurate. PHP is an interpreted language, C is a compiled language, Java is a hybrid (Just-In-Time compiled). C is likely to be faster than both (although a JIT language can make use of run-time profiling for optimisation, so in theory Java could run faster than compiled C code, but this is new technology so it doesn't - yet). Primitives in C are typed, in PHP they are not. This means that PHP has a lot of type checking to do even for simple variable assignments. PHP is unlikely to be faster than Java (although it may still fit your needs better in other areas).

    PHP is a very lightening fast object oriented scripting language.

    PHP is not an OO language. PHP supports a few features of OO, but not the vast majority (public / private methods, inheritence etc). PHP Classes are more equivalent to namespaces than classes.

    PHP is 100% written in "C" and there is no virtual machine as in Java.

    PHP is an interpreted language (how many times do I have to say this?). There is a virtual machine, and it interprets the PHP script. The Java VM compiles the bytecode to native code at run time (and only once, when the JRE is started in server mode). <oversimplification>

    Nothing can beat "C" language

    This is the stupidest statement I have ever heard. C does nut support dynamic strings, so only a fool or a masochist would use it for simple text manipulation tasks (ever written a CGI script in C?). C has many advantages, it's a mature language so a lot of work has gone into making it fast. For this reason it is good for low level system work. It is not the best tool for every job. If the only tool you have is C, every problem looks like an operating system...

    Java programmers will really "LOVE" PHP as PHP class is identical to Java's class keyword.

    Java programmers will loath PHP. It doesn't properly support a large number of features found in Java, because it is not a general purpose language, and it isn't even an OO language. Web developers like PHP because it's simple. For a detailed criticism of PHP look at thi paper published at the UK Unix Users' Group last year. (And possibly read my reply to the criticisms made.

    The aim of java was to abstract the OS and windowing system away from the developer, and in this it succeeds quite well (although it still has speed issues and the API is baroque in the extreme in places - try creating a non-blocking port in Java if you don't believe me). PHP is an interpreted scripting language aimed at web design, which has agregated, rather than being designed. Comparing the two is a crazy as saying Mozilla is far better than Linux.

    --
    I am TheRaven on Soylent News
  60. Authenticity? by RickHunter · · Score: 3, Insightful

    How come I've not seen any comments questioning the authenticity of this memo? All we've got is the word of some site that this memo actually came from inside Sun. Presumably, they had it leaked to them by an anonymous source. Now, lets think about this for a second. What "anonymous source" has lots to gain (potentially billions of dollars) by disgracing Java? What "anonymous source" has a history of lies, deciet, astroturfing, libel, and other shady or illegal practices?

    I'm not saying that Java doesn't have problems. But still, it pays to take this information with a grain of salt until its source is proven. Which means until Sun officially says "this is true", as there's few (or no) independant tech news sources that don't get loads of advertising from the "anonymous source".

    1. Re:Authenticity? by SuiteSisterMary · · Score: 1

      Go look up some studies on why people betray their countries; it's often for much less then you'd think.

      The acronym is MICE; Money, Ideology, Coercion, Ego. In this case, it's probably Ego.

      Probably some guy at Sun had been trying to point this out to Management for quite a while, but getting the 'shut up, our stuff is perfect' line. Then, finally, some other guy says the same thing and gets some attention, so this guy gets pissed and leaks it.

      Or something like that.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    2. Re:Authenticity? by RickHunter · · Score: 1

      Oh yes, I'm not doubting that its possible. However, the guy also probably leaked it anonymously, which means that anything said in the memo should be taken with a grain of salt. After all, there's no proof that it wasn't entirely made up. Maybe he "leaked" a "memo" because he wanted to get his point across to management.

      However, it seems that few posters here have recognized this. All the 3+ comments I saw were taking the memo's contents as undoubtable truth. Always a bad thing.

    3. Re:Authenticity? by SuiteSisterMary · · Score: 1

      Oh, I don't say it's truth. I don't say it's untruth. I'm sure that, as with any organization, there are people who agree with the party line, and there are people who disagree.

      If anything, I'd say that a lot of the sentiment expressed is probably very true, even if the memo itself is false; I'm sure there are people in Sun who hate Java. And there very likely are battles between the Java division and the Solaris division; the left hand often isn't allowed to know what the right hand is doing, for fear that it will break under interrogation. Or just the fact that the right hand is jealous of the left, as the left got that pretty ring last month....

      My boyfriend's a pilot!

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    4. Re:Authenticity? by Anonymous Coward · · Score: 0

      I *knew* it was Microsoft's fault somehow. Even when it was the bears, I knew it was Microsoft.

    5. Re:Authenticity? by aborchers · · Score: 1
      How come I've not seen any comments questioning the authenticity of this memo?

      Because you posted an hour after the initial story (admittedly an eternity in /. time) and your threshold is set too high? ;-)

      --
      Trouble making decisions? Just flip for it.
  61. Yeah... by SILIZIUMM · · Score: 1, Funny

    Seems that Java might not be Sun's cup of tea anymore... err...

    *hides*

  62. "The Java Problem" by carsont · · Score: 2, Interesting

    It looks like to me like their problem is with the specific Java VM on Solaris, and the Java team's unwillingness to fix JRE bugs as opposed to adding new features. Not with the Java language itself and not with Solaris itself.

    Furthermore, they don't advocate abandoning Java in favor of Python; the theoretical performance of the two languages is the same, so they compare the actual performance to show that the JRE is unnecessarily slowing Java apps down.

    I think the poster was much too eager to bash Sun to actually bother reading the memo.

    --

    Ubi dubium, ibi libertas.
  63. the only thing?!?! by Anonymous Coward · · Score: 0

    The other thing PHP has in it's favor is that the developers have spent time debugging it. PHP features actually work.

    Java, on the other hand is a crash prone mess. It has more bugs than MS Active Server pages. It's just unusable.

    So cool it, Sun Butt Boy, until after you've put in some serious debugging time on Java.

  64. Hoax by nathanz · · Score: 2, Informative
    This memo is so fake, I can't believe that even Slashdot posted it. Only rabid anti-Java programmers would believe it.

    First off, this "memo" is the complete opposite of Sun's Java stance. They believe that Java should be used for everything from running enterprise applications on E10K's to apps on your PDA. I don't think that Java should be used everywhere, and I'm a big fan of the language.

    Second, these might have been arguments against Java a couple years ago, but they simlply aren't true any more. For enterprise-level applications, Java outperforms Perl or someother scripting language on every front (scalability, preformance, maintanability, etc.).

    Finally, these bugs don't even exist! I seached for the bug id's in Sun's bug database, and didn't get anything.

    As usual, the Slashdot community has formed a collective knee-jerk reaction against any technology that isn't open source and Perl.

  65. As a Programmer by Anonymous Coward · · Score: 0

    I really hope to see Java dead.
    Good software is not built around layers and layers of redundant code needed to adapt the program to any possibly existing architecture in the known universe because the company behind it doesn't want to adapt its code. When I write for speed I use C, when I write for portability I use scripting languages; if I need both I use again use C and stick to something called the ISO standard, the same standard that makes most software run on so many architectures Java can only dream about.
    Hating the Microsoft way shouldn't hide the fact that Java is an obsolete thing, a platform fully oriented to the business side of the programming art, a crap that should have died from the very first day.

    'nuff said. Flames on.

  66. Resident by moncyb · · Score: 2, Informative

    The memo was talking about how much memory the program takes when it is running. You are on the right track, the original poster was wrong. I haven't tested it myself, but the numbers in the memo seem about right with my experience. The reason a "hello world" program takes up 9M is not because the program is inefficient, it is because Java requires a JIT compiler and other crap be loaded and running with the program. The actual "hello world" code and data were probably only a few kilobytes (if even that). The compiler, gc, &etc took up the remaining 8.9M--not to mention a bunch of processing time.

    Java is only free if your memory and cpu aren't worth anything. ;-)

    1. Re:Resident by Anonymous Coward · · Score: 0

      HelloWorld takes ~5.6M on my Linux system (Redhat 8 with JRE 1.4.1). A similar bash script takes ~1.5M, a python script takes ~2.1M.

  67. Bit like Powell's evidence by DABANSHEE · · Score: 1

    IE they could've been 2 Arab-Americans at Langley talking into microphones, not 2 Iraqis

  68. Sun and S/390 by taweili · · Score: 1

    I remember this story from long time ago. While Sun needed a accounting system back in the 80s, they went for the best solution: IBM S/390. It's also during the same time, Sun was marketing very aggressively against main frame and want everyone to go to client/server solution.

    I really respect Sun in this regard. It knows the limitation of its own technologies and would try to choose the best one their won.

    Just like in the 80s, Sun has seen the future to be client/server but it choose S/390 to run their accounting. Right now, Sun won't bet its own mission critical data center type system with the toy language call Java.

    Java is good for build small/middle scale application that replacing ASP or VB. However, it's not really a proven technologies for large backend mission critical system. Sun's engineers are doing what's best for their work and not falling for the hype Sun's own marketing is creating.

    1. Re:Sun and S/390 by the+eric+conspiracy · · Score: 1

      Right now, Sun won't bet its own mission critical data center type system with the toy language call Java.

      But IBM will? Everybody here is missing the point that IBM doesn't seem to have any of these issues, and is in fact moving ALL of their enterprise applications to Java. And IBM is a LOT bigger company than Sun.

      http://crn.channelsupersearch.com/news/crn/38824 .a sp

    2. Re:Sun and S/390 by taweili · · Score: 1
      But IBM will? Everybody here is missing the point that IBM doesn't seem to have any of these issues, and is in fact moving ALL of their enterprise applications to Java. And IBM is a LOT bigger company than Sun.

      Name the IBM's mission critical systems what have been switched to Java.

      On the surface, Sun and IBM are the same. Marketing the hell out of the idea of everyone should switch to Java. However, they know better internally. Java has not been proven to run those kind of mission critical backend system. What's the best J2EE platform has done so far? Running the front end window dressing Web Site!

      Don't get me wrong. Java is promising but it's not yet proven. It even took C++ a long time to prove itself in a mission critical system.

      I think the memo, even it's fake got a point. Sun has been spending more time on adding new future then making Java/J2EE a solid platform. Unlike programming in C/C++ where it's easy work around the bugs of the underlying OS, it's so much harder to do it in Java. We ran into problem with core dump of the VM in our projects from time to time. What can we really do in this situation? Not much other then go on the web site and see if there is a new release of VM and hope it may not have the same problem.

      For Java to be adapted in real mission critical applications, I really hope that Sun can subjected Java to the same standards it holds for its backend system or just open source the VM! Without access to good support or the source codes, its harder to adapt it for mission critical system.

    3. Re:Sun and S/390 by the+eric+conspiracy · · Score: 1

      Name the IBM's mission critical systems what have been switched to Java.

      Read the linked article.

    4. Re:Sun and S/390 by the+eric+conspiracy · · Score: 1

      What's the best J2EE platform has done so far? Running the front end window dressing Web Site!

      I'd bet that Amazon and Ebay consider their based web sites to be mission critical.

    5. Re:Sun and S/390 by rhyd · · Score: 1

      thanks. that was a good article.
      Here is the link actual

      if anyone has any mod points spare they might want to use them on the parent

      --
      'Be the change you want to see in the world' - Al Gore
    6. Re:Sun and S/390 by taweili · · Score: 1

      The article says IBM is going to migrate. I am asking which HAS been switched to Java.

      My point was that Java isn't proven in the backend mission critical type application. It's great that IBM is going to try doing that. However, it's NOT done yet.

      When a vendor says "we will do it" doesn't really mean "we can do it," just "we will try to do it."

      Plus, the names in the list: integration middleware, WebSphere software, Eclipse, WebSphere commerce, portal servers, Lotus Domino products, Tivoli management software and the DB2 database.

      If I am not mistaken, most of these contains Java already. I don't think IBM is rewritting DB2 in Java anytime soon.

      Again, please read my posting. I am not saying Java is bad. It's just not proven for mission critical type of system software.

    7. Re:Sun and S/390 by taweili · · Score: 1

      Amazon and EBay runs on J2EE? What gives you the impression? I don't think either one of them are running on J2EE. EBay has contracted IBM to redo it's web site but it's not yet moved to the new one.

      Here is the article about EBay going to use WebSphere. If you read the discussion, it's not very certain how much J2EE is there for EBay version 3. Do anyone has any idea what version EBay is running now? Has it switched to version 3 yet?

  69. all non-Windows JREs by g4dget · · Score: 1
    In my experience, all the non-Windows JREs are much worse that the Windows JRE. I have run into problems with graphics performance and incompatible rendering on both Linux and MacOS X. And parts of the multimedia APIs just don't work right on MacOS X.

    Sun is delivering a cross-platform environment that targets primarily Windows, and they are doing the other platforms as an afterthought. But Windows developers aren't going to switch to Java in droves no matter how good Sun makes it. What Sun should be focusing on is making the absolute best UNIX/Linux programming and then making it easy to deliver those applications on Windows as well. In different words, Sun's strategy is wrong: they are going after the biggest market, but what they should be doing is going of the market that is most inclined to actually adopt Java.

    That is, curiously, the strategy that Mono is adopting: you get excellent Linux support (through Gtk+), but you can also deliver your software on Windows (through the Win32 version of Gtk+). Seems like a more attractive proposition to me.

    1. Re:all non-Windows JREs by j3110 · · Score: 2, Informative

      Just so you know... I think the problems that you mention were fixed in Java 1.4... In fact, they were the major concerns of the release other than NIO and the obvious stuff. Also, non-SUN JRE's preform much better as well on the whole. IBM makes the best, but SUN caught up a lot on 1.4, and surpassed IBM in a select few cases. IBM now has a 1.4 JDK for Linux on xSeries(x86). It's only free as in beer, but it's worth toying with to get a feel of where Java is headed in the next few years.

      I'm fairly sure this is a hoax memo, but even if it's not, it only talks about the implementation of Java on Solaris.

      The main reason I like Java is that I won't have to do anything, and my programs will magically get faster, support 64bit processors and other architectures. Java has the potential to be faster than C. Java libraries/classes can have functions inlined at run-time. C has to be recompiled. Java can optimize for whatever processor it is running on. C has to be compiled for the least common denominator of hardware it will be running on. Java programs have an extensively tested standard API of functions to ensure backwards compatibility. In C you may have to recompile or change code whenever a new version of Windows rolls out. Java is a very well structured object oriented language compared to C or C++. Java SQL database drivers must adhere to strict SQL standards to be considered for different levels of JDBC compliance. I can write SQL that is garaunteed by the JDBC driver to work on a database, thus having true database independance. In C, each vendor implements a different subset of SQL in different ways such that you have to pick up a third party abstraction layer, or write your own, or target one database (ODBC doesn't work, even Access runs queries locally).

      The only downsides to Java is: all java programs will use more memory than C programs... always! Java programs will take longer to start until a shared VM is implemented(is a JSR right now). Java will be slightly slower than C until Java has had about half as much time to develop compiler(JITC) technology that C has. Java will be slower at floating point until an API for fast system-dependant/non-IEEE floating point math is supported (This is why people claim, and are accurate to a degree, that Java isn't as fast as C at raw number crunching... This is probably the only reason as well).

      Of those, the only problem that will always plague Java is large memory footprint. That is because it comes with it's own libraries and must do garbage collection.

      It's appearant to anyone (like g4dget) that SUN sinks more time into the Windows JRE than anything else. The second biggest, as of 1.4, I would have to say is Linux/Mac. Solaris is the lowest on the list really. Most people that use Solaris use it for Oracle. The Java market has always been on Windows and IBM machines. IBM rolls their own, and they do a great job. Maybe they will release theirs a bit more free if their agreement with SUN will let them. I don't think they are allowed to discuss their contract with SUN because of the contract itself. At least, that's the rumor about the Java contracts that was on the net about 5 years ago.

      --
      Karma Clown
  70. Wouldn't surprise me a little bit. by Moderation+abuser · · Score: 1

    After all, Motorola standardised on Intel and Windows NT.

    --
    Government of the people, by corporate executives, for corporate profits.
  71. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    Kiss your ass and say goodbye to PHP as well.

    Of all the projects that grew out of someone's basement, this is the harriest by far (nasty shit).

    I refuse to do more than fiddle with php
    until PHP5 (perl4 sucked. perl5 is great)

  72. Java's Good Enough by shadowRider · · Score: 1

    What's with the general disdain for Java here? It seems as though some Slashdotters are always looking for a reason to slam Java (FYI, Java != Sun's implementation of Java).

    Ok, maybe Java's not totally free, but neither are you and I. It's free enough, and an excellent platform for enterprise application development. I can't think of another language that gives me the productivity and yet preserves flexibility of platform and vendor (well, except maybe Perl).

  73. IBM is the Java leader, not Sun by Anonymous Coward · · Score: 0

    As other posters have said, this is a blow to Solaris more than one to Java. IBM seems to have taken the lead with Java and are making it a part of their core strategy (along with Linux). Sun has become irrelevant to Java for the most part.

  74. Smells of a Fake by dnoyeb · · Score: 4, Interesting

    The internal memo was from an idiot.

    Anyone that compares a scripting languate (python) to a full programming language that also as a VM has no clue. a scripting language has minimal overhead memory requirements because it does not have much of a memory management job to do.

    Complaining about 'will not fix' items on an older JRE is dumb as their must be SOME reason for the 1.4. If everything could have been fixed in 1.3.1, it would have been 1.3.2.

    Further I personally was told not to rely on the "sun" classes as they change. The article writer suggest that each release of the JRE causes classes to be dropped and added. I have NEVER experienced this and its a violation of SUN's stated practice.

    "4. It is not backward-compatible across minor releases." Then this fool goes and compares 1.3 to 1.4 or 1.1 to 1.2 as IF those are minor releases. (anyone that uses java knows the 3rd digit has been the minor one) The 2nd number has so far been treated majorly by Sun's releases and I would NEVER call 1.2 or 1.3 or 1.4 a minor release, they have years between them.

    As for large footprints, I stopped complaining about even M$ abuse of memory after the price came down so much. Just go buy some more. Its a valid issue, but I wouldn't mark it as worth of writing a letter.

    Finally I'd like to ask why none of his bug numbers appear in the Java BugDatabase on the javasoft website
    http://developer.java.sun.com/developer/b ugParade/ index.jshtml

    I'm skeptical of this letters validity.

    1. Re:Smells of a Fake by 1010011010 · · Score: 5, Insightful

      Anyone that compares a scripting languate (python) to a full programming language that also as a VM has no clue. a scripting language has minimal overhead memory requirements because it does not have much of a memory management job to do.

      I don't see how that makes any sense. Python also has bytecode and a VM, and it does the same job in less memory with equivalent or better performence. It's object-oriented and performs garbage collection, as does java. What do you mean, "it does not have much of a memory management job to do"?

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    2. Re:Smells of a Fake by Tony-A · · Score: 1

      Agreed. The article feels like it was written by an outsider not by an insider,

      The complaints may have some validity. I'm not enough into Java to have an opinion, BUT the raisone d'etre of Java is not what it can easily and efficiently do, but to be sufficiently constrained that a large class of bugs will NOT happen. The language will continue to evolve, but it will be more to close any remaining boobyhatches than to make it "programmer friendly".

    3. Re:Smells of a Fake by Anonymous Coward · · Score: 1, Insightful

      Complaining about 'will not fix' items on an older JRE is dumb as their must be SOME reason for the 1.4. If everything could have been fixed in 1.3.1, it would have been 1.3.2.

      There's a difference between postponing a bug to a later release and classifying it as "will not fix". "Will not fix" implies that it will never be fixed.

      Further I personally was told not to rely on the "sun" classes as they change.

      True, but this has nothing to do with the linked atricle.

      The article writer suggest that each release of the JRE causes classes to be dropped and added. I have NEVER experienced this and its a violation of SUN's stated practice.

      No, what he actually says is that minor releases make non-backwards-compatible changes. While removing a class would be one example of this, there are more sublte changes that can break programs. The example they give is "In JDK 1.1 Class.fields() returns only public variables. In 1.2, protected and private variables are returned." This would break applications that use that method.

      "4. It is not backward-compatible across minor releases." Then this fool goes and compares 1.3 to 1.4 or 1.1 to 1.2 as IF those are minor releases. (anyone that uses java knows the 3rd digit has been the minor one)

      Not true. The first digit is the major number, the second is the minor, the third is the patch. According to Sun's own compatibility guidelines, patch releases should not break compatibility at all. Minor releases should be compatible with old applications, and major releases (e.g. if Sun ever makes a JDK 2.0.0) don't have to be compatible at all. However, Sun break these rules, and there are long lists of incompatibilities between old apps and new Java versions. They usually suggest ways to fix the applications that don't break compatibility with old Java VMs, but that doesn't help vendors who have already shipped applications.

      This is one of the reasons why Java applications have to be tested on every VM they may need to run on - not just every brand of VM, but every version and platform too. "Write once, run everywhere" is a nice marketing myth.

    4. Re:Smells of a Fake by SilentStrike · · Score: 2, Informative

      I like Python more than I like Java. Still, in terms of speed (ignoring how much memory it takes), Java is faster.

      It's not just the benchmarks that say it either. The creator of Python, Guido Van Rossum, says it as well.

      "The best approach is often to write only the performance-critical parts of the application in C++ or Java, and use Python for all higher-level control and customization."

      That quote is taken from here.

    5. Re:Smells of a Fake by IpalindromeI · · Score: 2, Insightful

      What he means is: "I don't know anything about Python other than it doesn't have a separate compile phase. That must make it less of a programming language. It doesn't matter if you can write programs in it, doing anything you could in Java. It only matters if you can compile it into something other than the text file you write. If you can do that, it's a full programming language, and we all know those take more resources than mere scripting languages."

      --

      --
      Promoting critical thinking since 1994.
    6. Re:Smells of a Fake by Anonymous Coward · · Score: 0


      This is a hoax. The names in the "memo" are just random employees... they have nothing to do with this claimed mail.

    7. Re:Smells of a Fake by ASeed · · Score: 1

      It's object-oriented and performs garbage collection, as does java. What do you mean, "it does not have much of a memory management job to do"?

      Both have a Garbage Collector but they are not the same types of GCs. In Python the only GC available (or anyone else knows many GC or VM for Python?) does the garbage collection by the method of "reference counting" and that is not a big memory management job. In Java it is a different situation. Most (or all?) of the existing VMs use more sophisticated methods of Garbage Collection. That is more memory management job for the VM in the Java case so that the programmer has far less memory issues to worry about. In the Python case, the programmer has to worry about not making circular references that cannot be resolved by a reference counting GC.

      And, yes, as someone else stated, Java is faster (in most cases) than Python (although Java is usually slower than many other options like C/C++...)

      --

      --
      ACid
    8. Re:Smells of a Fake by dnoyeb · · Score: 1

      Sorry, my fault for assuming an idiot has any knowledge. He called Python a scripting language, I personally know nothing about it. But I do know what scripting language means...

    9. Re:Smells of a Fake by dnoyeb · · Score: 1

      Actually "will not fix" means exactly that it won't be fixed in whatever edition the bug was filed against. Their is no "fix in next major release" selection. So you are incorrect there.

      Well perhaps I am actually on page with the article writer then because I agree that 1.1 and 1.2 are not compatable, so would every other programmer in the Java world know this. But I dont agree that 1.1.1 and 1.1.2 would be incompatible. Sun has been consistent in this perhaps 'inconsistency' so It has not been an issue with me. But he is correct in his specific claim I guess, but its a technicality to me.

      write once run everywhere NEVER meant on any VM. For a Java programmer the VM _is_ the platform. Once you get it running in the VM you get the ability to run on any platform the VM runs on. Java programmers know this. It is acceptable.

      I disagree that you have to test the same VM on windows and then again on Linux. Ofcourse we do, but the BULK of then load of compatibility is on the VM writer, not the application writer. And Java programmers know that for file system issues, and non-default window UI issues you need extra testing.

    10. Re:Smells of a Fake by Nintendork · · Score: 1
      If it is a fake, maybe it came from this guy?

      I just sent an email to the other Julian Taylor I found with a sun address.

      250 Julian.Taylor@Central.Sun.COM... Recipient ok

      I guess we'll see what he says.

      -Lucas

    11. Re:Smells of a Fake by Erwin-42 · · Score: 3, Informative

      No, Python has had a generational garbage collector for some years (since Python 2.0).

      It still uses RC to immediately finalize objects but will collect cyclical garbage as well when it periodically runs.

    12. Re:Smells of a Fake by tom's+a-cold · · Score: 5, Informative
      Anyone that compares a scripting languate (python) to a full programming language that also as a VM has no clue. a scripting language has minimal overhead memory requirements because it does not have much of a memory management job to do.
      Your remarks about Python, and scripting languages in general, are not borne out by my own first-hand experience as a designer and developer.

      First, you make it sound like, in some sense, scripting languages are not as complete as "real" programming languages. And your comments about memory management make even less sense-- any language with OO features (and many without) are going to have to do dynamic allocation-- how else are object references going to be dealt with?-- and that means that they're going to have to deal with memory-management issues. And if you think that all scripts are like little baby shellscripts, you haven't been around much.

      I've developed medium-sized apps in Python and in Perl (on the order of 50K lines of executable code), and much bigger apps in Java. Python is semantically rich enough, and in most instances fast enough, to do anything that Java can do, and almost always with shorter, more readable code. The same can be said for Perl (though it requires more discipline to achieve the readability), and probably also Ruby and Scheme. From a software engineering point of view, I'd be happiest coding the whole app in Jython (the Python variant that compiles down to Java bytecodes), then recoding the hotspots in Java, or in some even lower-level language. Developers, even smart ones, usually guess wrong about what to optimize, so deferring tuning until you observe the working system is usually a good idea. Exceptions would be embedded and hard-realtime systems. Almost every business app I've seen is neither of these.

      This in no way eliminates the need to design your app before coding it, BTW, contrary to what some bozos who once read the blurb on the back of an XP how-to book might have you believe.

      When I did a demo of one Python-based app that I developed, my client was willing to accept a performance hit for the sake of better maintainability. When I benched its performance on one content-mangement task, it clocked in at 100 times faster than its C++ predecessor. Now obviously, a very clever C++ crew could have done a lot better than that. But in the real world, everyone's in a hurry and don't always choose the cleanest implementation. And when language features are too low-level, developers waste a lot of time reinventing "infrastructure." In this instance, they not only reinvented, but did it much more poorly than the developers of Python did.


      --
      Get your teeth into a small slice: the cake of liberty
    13. Re:Smells of a Fake by speeding_cat · · Score: 1


      4. It is not backward-compatible across minor releases." Then this fool goes and compares 1.3 to 1.4 or 1.1 to 1.2 as IF those are minor releases. (anyone that uses java knows the 3rd digit has been the minor one) The 2nd number has so far been treated majorly by Sun's releases and I would NEVER call 1.2 or 1.3 or 1.4 a minor release, they have years between them.

      I recently did some Oracle installs, and their installer is written in Java to be cross platform compatible. Poor fellas have 2 or 3 copies of JRE on the install CD because their components were written at different times and can't use each other's JREs!
      Java was supposed to be a cross platform language, yet you can't even run things on the same platform reliably due to the version differences.
      In addition, Oracle java installer is a huge memory hog. Takes way more resources than the running DB itself.

      As for large footprints, I stopped complaining about even M$ abuse of memory after the price came down so much. Just go buy some more. Its a valid issue, but I wouldn't mark it as worth of writing a letter.

      FYI, M$ actually has almost gotten their act together. WinXP is extremely reasonable with RAM and the speed is very good once all the stupid visual effects are turned off. The problem with Java is that you'll need huge amount of RAM per application, and may run out of physical RAM even if you pack 2 Gb into an Intel box.

    14. Re:Smells of a Fake by Anonymous Coward · · Score: 1, Insightful

      I think Python is a good example. Consider this. Startup times for Java are suppose to be improved by compiling into bytecode and using that as the executable. I mean, they wanted platform dependent code, but they already had one(The English Language).

      Python provides the same type of portability as Java in a different way. My Python code can run anywhere there is a python executable(barring api changes from 1.X to 2.X).

      And Python does actually generate bytecode. If you have ever used modules before you would know that the first time a module gets run it generates a bytecode file). I think that is smooth, it means that the first time you run it... it takes a little while to startup, but after that it speeds its self up.

      Sure the GC is a big difference, but it inspired Java programmers to write sloppy code. I have seen this in the workplace. Garbage collection was suppose to prevent a bunch of bugs by keeping track of those lost pointers:-), but this trick is overcome by sloppy code(ie lets make a Vector with 50,000 elements, when we only need 3).

      Eventhough the entire article should be modded as flamebait(look at what it did for Java vs Python). I think it is very unfair to say Python is not a worthy comparision. I have an idea lets compare it to C++ and see how it does:-P

    15. Re:Smells of a Fake by MikeFM · · Score: 1

      That looks like a really old quote. I believe Python is quite a bit faster than it was when that quote was made. If you look at the changelogs you'll see notes to this effect. I haven't done any speed tests to test Java against Python on my own but Python feels a lot faster for me under both Windows and Linux.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    16. Re:Smells of a Fake by Anonymous Coward · · Score: 0

      He didn't compare Java to Python, rather he cited a paper published in IEEE Computer magazine. If you have a membership, you can see the article at http://www.computer.org/computer/co2000/rxtoc.htm. In any event it is obvious that the article is real.

      Also, you say that it doesn't matter how much memory Java uses because memory is so cheap. The article talks about an instance where a customer's servers would have to have 24 GIGABYTES of RAM. Don't fall in to the trap of making the argument that just because you don't have a problem with something that no one in the world could possibly have any problem with it (perhaps we could call this the Slashdot fallacy?)

    17. Re:Smells of a Fake by sjames · · Score: 1

      Anyone that compares a scripting languate (python) to a full programming language that also as a VM has no clue. a scripting language has minimal overhead memory requirements because it does not have much of a memory management job to do.

      Actually, the comparison is perfectly fair. If Python can meet all of their requirements as well as Jave for a particular app, they are perfectly correct to compare the two solutions (to the same problem). If Python can accomplish the same thing in a smaller footprint with better stability, that's the way to go.

      As for compatibility between releases, how many apps demand a particular version of libc in order to avoid having to re-write (not re-compile, re-WRITE). Even the major upheaval of going from libc5 to glibc2 in Linux is mostly fixable by recompiling. To support binary only apps, Linux generally has both libc6 (glibc2) and libc5. Just one version of each.

      In contrast, to be able to run those write once, run anywhere Java apps, one needs several complete runtimes.

      To further contrast, I have yet to have to install an old version of Perl or Python to support an older app as-is.

      Memory is cheap, but after a certain point, having enough slots to plug it in is VERY expensive. You've obviously never dealt with that much memory (since you cite Windows which can't even use that much). If I have 8 memory slots w/ 2Gig in each slot, please tell me how cheap it will be to add another 4 Gig to the server.

      I'm not an authority on Sun internal memos or their authenticity, but the complaints look to be dead on whatever their origin.

    18. Re:Smells of a Fake by Anonymous Coward · · Score: 0

      Actually, most bug tracking applications have resolution descriptions like "future", "enhancement", or "postponed" to indicate a bug that will not be fixed in the current release, but are intended to be addressed in the future.

    19. Re:Smells of a Fake by Suidae · · Score: 1

      Python feels a lot faster for me under both Windows and Linux

      Probably has to do with differences in bottlenecks. My machines at home have 128 and 256MB of ram, and Java apps are intolerable. With my machine at work with 1GB, I can at lest put up with them. Python does better on the smaller machines because it doesn't take the performance hit from lack of memory.

    20. Re:Smells of a Fake by MikeFM · · Score: 1

      That's very possible. I especially notice the amount of time Java apps take to load and the fact that even on reasonably powerful home machines they use up resources quickly if you're like me and use 5+ apps at once. I can play a dvd and browse the web at the same time without issue but run a Java program or two while browsing the web and the machines bog down. Python might not be quite as fast at number crunching in some ways but it feels speedier especially when running lots of programs.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    21. Re:Smells of a Fake by miniver · · Score: 1
      write once run everywhere NEVER meant on any VM. For a Java programmer the VM _is_ the platform. Once you get it running in the VM you get the ability to run on any platform the VM runs on. Java programmers know this. It is acceptable.

      I'm a Java programmer, and have been programming for Java since Java 1.0.2. Up until a month ago, I'd have sworn you were right, but I've recently been bit HARD by JVM incompatibility. Our group has spent several years building a large, complex GUI application using Java. The original development was with Java 1.2, which then was updated to Java 1.3.1. (We'd actually prefer to use Java 1.4, but we haven't had time to fully certify the app for Java 1.4.) I'm the Lead Integration Engineer, and while Windows has been our primary development and testing platform, I've also been testing compatibility on Linux as well. Suffice to say, both of those platforms are very well supported by Sun, and very inter-compatible. A month ago we were given a requirement to support our application on Solaris -- should be a no-brainer, right? WRONG! It turns out that even though we were using only Sun's JVMs, and no IDE-specific libraries, our developers had inadvertently depended upon AWT capabilities that are only present with the Windows and Linux JVMs. Makes the whole thing look flipping ugly on Solaris. So now we're going back and putting in Solaris-only code to fix the things that should have been there in the JVM.

      I'm not surprised that the Sun developers would feel that Solaris is not a priority platform for Sun, at least for AWT/Swing development. Sun doesn't market Solaris for office/desktop deployment. Developer workstations? Maybe, but their focus is really on selling big iron servers, not client hardware -- they ceded that market to Microsoft years ago.

      --
      We call it art because we have names for the things we understand.
    22. Re:Smells of a Fake by Anonymous Coward · · Score: 0

      This letter is a fake !! Anyone using Rational Rose knows it won't event startup with less than 256MB of memory.

    23. Re:Smells of a Fake by Dahan · · Score: 1
      Sorry, my fault for assuming an idiot has any knowledge. He called Python a scripting language, I personally know nothing about it.

      You shouldn't call someone an idiot if you don't even know what he's talking about.

      But I do know what scripting language means...

      Please enlighten us then... what does "scripting language" mean?

    24. Re:Smells of a Fake by CountUrMeasure · · Score: 1

      Even worse, tom's-a-cold, the post is confusing a language definition with its implementation. Python is a language definition. CPython and JPython are implementations of that definition. Python for .Net is an implementation of that language. CPython is a scripting implementation. A Python for .Net compiler exists. OTOH, C is typicallly implemented as a compiled language, but C interpreters do exist (CTerp).

    25. Re:Smells of a Fake by Dahan · · Score: 1
      Actually "will not fix" means exactly that it won't be fixed in whatever edition the bug was filed against. Their is no "fix in next major release" selection.

      Huh? When did you use Sun's internal bug tracking system, that you can make such grand pronouncements about which selection it has?

      So you are incorrect there.

      Umm... no.

    26. Re:Smells of a Fake by dozer · · Score: 3, Interesting

      a scripting language has minimal overhead memory requirements because it does not have much of a memory management job to do.

      No, scripting languages typically have significanlty more difficult memory management requirements. Memory managers in low-level languages are simple because the programmer does everything. Since Java lies somewhere between simple C/C++ and complex Perl/Python, why is its memory management slower and more complex than all the above?

      Complaining about 'will not fix' items on an older JRE is dumb as their must be SOME reason for the 1.4. If everything could have been fixed in 1.3.1, it would have been 1.3.2.

      When everything is fixed in version 1.3.1, it does get called 1.3.2. You call it 1.4 when you add features. Refusing to release a 1.3.2 is the same as refusing to fix bugs.

      The article writer suggest that each release of the JRE causes classes to be dropped and added. I have NEVER experienced this and its a violation of SUN's stated practice.

      Then you either haven't been programming Java very long, or you don't do much in it. Sun documented the proper way to do GUI programming, date conversion, and a whole bunch of other things in Java 1.1, then deprecated it ALL in 1.2. Haven't you noticed that most Java 1.1 programs won't compile under Java 1.4 without massive deprecation warnings? Most of these programs were 100% legal java programs when written, following Sun's documentation to the letter.

      As for large footprints, I stopped complaining about even M$ abuse of memory after the price came down so much. Just go buy some more. Its a valid issue, but I wouldn't mark it as worth of writing a letter.

      Go back and read his examples to see why Java is very bad in this resepct, even on today's hardware. It takes my Athlon 1800+/512MB machine 4 seconds to start a stupid command-line utility. Why? It has to reserve 26Mb of memory (and the classloader takes forever). The same program takes less than 1Mb in C and requires next to no time to start up.

      Finally I'd like to ask why none of his bug numbers appear in the Java BugDatabase on the javasoft website
      http://developer.java.sun.com/developer/b ugParade/ index.jshtml


      Because he works for Sun and uses the internal bug database? Did you READ this memo?

    27. Re:Smells of a Fake by iamdrscience · · Score: 1
      Java is faster (in most cases) than Python
      This is true, but Python's development cycle is definitely faster.

      Everybody realizes the value of fast code, but far too often the value of fast code writing is ignored, there are just as many cases where how long it takes to write a program is more important than how fast it runs as there are cases where the opposite is true.

      Also, like the other person said, Python's garbage collection has changed to be better, and even before it was included as part of the standard language (I believe at 2.0) the modification that allowed for more sophisticated and complete garbage collection was available before then (I think it came around when Python was on like version 1.7, I really don't remember though).
    28. Re:Smells of a Fake by Piquan · · Score: 1

      Do some research on GCs; "garbage collection FAQ" on Google would be a start. Typically, reference counting takes more memory and more time than more sophisticated GC techniques. Besides, Python doesn't refcount anymore.

    29. Re:Smells of a Fake by zenos000 · · Score: 1

      So what if he was mistaken about the internals of the GC, this is an implementation detail. In my mind, the author of the article does know what he talking about since he is correct on every other point about this _idiot_.

      His point is also well taken about the minor releases and how they, "aren't backwards compatible." I've been in Java for 5 years now including JVM internals, and this is not true at all.

    30. Re:Smells of a Fake by AtATaddict · · Score: 2, Informative

      Python modules can be compiled. Write a simple little script that imports your module(which in Python means just about any source file). You'll notice a *.pyc file now hanging out in your directory. Cngratulations, it's Python bytecode.

    31. Re:Smells of a Fake by iabervon · · Score: 1

      Python is not statically verifiable. This makes it impractical as the single language of any large, complicated project. On the other hand, Python is ideal for prototypes (i.e., coding before design to inform the design, rather than for actual use) and for scripting (getting a set of functions in another language like C to have the overall effect that you want).

      In neither case is the resulting code going to need to be reasoned about for correctness, which means that it is not so much as issue that small parts of the code cannot be verified in isolation.

    32. Re:Smells of a Fake by axxackall · · Score: 4, Insightful
      As other said, Python speed has very improved.

      I would just add two states.

      If you have to run handreds of calculations on an array with millions of records then neither Java or Python are good - you better do it in some database system, b/c you need just memory management (which is good today in both Python and Java, Python's results are just more compact) - in that case you'll need data management and thus you need DBMS.

      But if your calculations (even simple, like Hello+World) are from separate OS processes, then Java is out of picture. As many people noticed, startup time of JVM is long and class loading is very slow. Python is still ok. Although my tests show TCL has the best performance for such class of tests. Among scripting languages - there are resons to write fork-based listeners on C.

      --

      Less is more !
    33. Re:Smells of a Fake by jcast · · Score: 1

      Right. It was written by someone outside of Sun's Java group, complaining about said group, and trying to get Sun's management to bring some righteous wrath to bear on said group.

      --
      There are reasons why democracy does not work nearly as well as capitalism.
      -- David D. Friedman
    34. Re:Smells of a Fake by Anonymous Coward · · Score: 0

      The same can be said for Perl (though it requires more discipline to achieve the readability), and probably also Ruby and Scheme.

      I wished this sentence had started your post so I would have known earlier that it was a subtle parody of an insightful post.

    35. Re:Smells of a Fake by ledestin · · Score: 1

      It is true that java apps take large amount of RAM. However, I run jEdit most of the time and my machine doesn't get bogged down. If you set JVM max RAM size to a small value it will constantly garbage collect and experience will be awful.

      Of course if it isn't swapping that is the problem.
      I have ~128 out of 512 physical RAM free now.

    36. Re:Smells of a Fake by Zaak · · Score: 1

      Typically, reference counting takes more memory and more time than more sophisticated GC techniques.

      I don't know that that's the case. Refcount almost certainly takes less time than other kinds of GC because it doesn't have to do any searching. It's true that refcout GC uses an extra integer per item of data, but how does that compare to the memory a regular GC must use to keep track of everything?

      Python still uses refcount GC. However, since 2.0 it also has a reference cycle detector. See here for more information.

      TTFN

    37. Re:Smells of a Fake by Anonymous Coward · · Score: 0


      I couln't find "4246106 Large virtual memory consumption of JVM"

      http://developer.java.sun.com/developer/bugParad e/ bugs/4380663.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4374713.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4407856.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4460368.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4460382.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4433962.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4463644.html
      http://developer.java.sun.com/d eveloper/bugParade/ bugs/4475676.html

    38. Re:Smells of a Fake by Anonymous Coward · · Score: 0

      Python does *not* do garbage collection. It does reference counting. There is a huge difference. If two objects refer to one another, they will never be GC'd even if the system can never access them again.

    39. Re:Smells of a Fake by zipwow · · Score: 1

      When everything is fixed in version 1.3.1, it does get called 1.3.2. You call it 1.4 when you add features. Refusing to release a 1.3.2 is the same as refusing to fix bugs.


      True enough, but my understanding was that the approach to fixing some of the 1.3.1 fixes was to dramatically change the approach to the problem, hence the 'fix' is no longer backwards compatible, and called 1.4. I think this is, very often, a reasonable approach.


      Haven't you noticed that most Java 1.1 programs won't compile under Java 1.4 without massive deprecation warnings? Most of these programs were 100% legal java programs when written, following Sun's documentation to the letter.


      I think the original poster meant in minor versions, like between 1.4.0 and 1.4.1. Even then, the big sin would be dropping classes, as adding new ones (to fix a bug, for example) wouldn't break backwards compatibility. Unless you were depending on the problem, of course.


      [the java executable] has to reserve 26Mb of memory (and the classloader takes forever)


      I think this is the biggest point to be made in the memo, and your best point. Why must classloading take so long?

      -Zipwow
      --
      I don't know which is more depressing, that 2/3 didn't care enough to vote, or that 1/2 of those that did are crazy.
    40. Re:Smells of a Fake by Piquan · · Score: 1
      Refcount almost certainly takes less time than other kinds of GC because it doesn't have to do any searching.

      You may not have to search, but you have to take the time to increment and decrement the refcount each time. Depending on how things are done (for example, is the refcount incremented when a ref is pushed to the stack?), this can account for a whole lot of time. Throw in the time lost to locking if you're on a multithreaded system. Writes are slower than reads, too. You end up wasting a lot of CPU trying to maintain information about references, when you only need one bit of information: is it in use.

      By contrast, modern generational garbage collectors use heuristics to minimize the searching done. Rather than having a lot of work to maintain information all the time that you're using it, you do a little work to GC it only in the GC.

      It's true that refcout GC uses an extra integer per item of data, but how does that compare to the memory a regular GC must use to keep track of everything?

      There isn't much "everything" to keep track of. Refcounts need to track how many outstanding references exist, all the time. (Note: Deferred refcounting and other systems can help with that, but that's a time savings, not a space savings.) On the other hand, GC only cares about one thing: is X garbage? What's more, it only cares about it while GC is taking place.

      Baby's First Mark-and-Sweep GC (written by undergrad students first learing about GC) use only one bit of information per object during the program's life, plus one word per object in the longest chain at GC time. This is much less than the one word per every object that most refcounting schemes use! In other collectors, auxilary storage may be only needed during the GC, and is very low. Knuth talks about a number of variations on keeping memory usage very low (and only during GC) but those books are at my office right now.

      GC technology was a big discussion topic when memory was scarce, so there's been a number of algorithms written to keep memory usage low during GC. Modern GCs use more than the theoretical minimum, of course, but nowhere near one word per object. In many cases, a bit for marking garbage can be taken from the type tag in typed languages. The type tag may be a certain length-- eg, a byte-- for effeciency purposes, and therefore may have a bit to waste. That means that the GCs memory overhead is effectively O(1)... just enough for the generation table!

    41. Re:Smells of a Fake by 1010011010 · · Score: 1


      Then why does Java, which has a more sophisticated GC, use a LOT more memory?

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  75. when will programmers learn by chickensdelight · · Score: 1
    we hear routinely from Java engineering is that new features are key and improvements to the foundation are secondary.

    but our top geek's are working on this really cool feature.......

    (Iam not a troll)
  76. Re:Kiss and say goodbye to Java language!! by jfinke · · Score: 1
    You are seriously misguided if you think the real usefulness of Java is applets. The most prevalent useage of Java is on the server for enterprise level applications and development tools. This is not something you will ever use PHP for.

    While you are correct about the power usage of Java, I believe that you are wrong about php. Yahoo has stated that they are going to start migrating to php. I can't think of anyplace else to describe enterprise web apps that would be bigger than Yahoo.

    http://news.com.com/2100-1023-963937.html?tag=lh

    http://slashdot.org/article.pl?sid=02/10/29/205223 9

    http://www.techweb.com/wire/story/TWB20021030S0009

  77. Could this be Microsoft astroturf? by emil · · Score: 1

    I know nothing about Java, except that, like perl (and perhaps python), I hate the sprawl.

    As a system administrator, I'll use /bin/sh first, and php-cli if I need greater functionality. Preparing php is not trivial, but once it is prepared, it is a single binary that I can place (and replace) in /usr/local/bin.

    In any case, whoever submitted this memo knew a great deal about the Sun development hierarchy, the Solaris bug tracking system and the Java bugs within it, Solaris development committees, etc.

    But we cannot discount the possibility that Microsoft obtained this information through low-level corporate espionage, and posted the memo for reasons of their own (perhaps to impact one of the many legal issues that they face).

    Granted, this probability is low, but it is not zero.

  78. Re:Kiss and say goodbye to Java language!! by eddy · · Score: 1

    Java isn't primarily a web scripting language like PHP. In fact, the less Java I see on the web the happier I'll be.

    Applets are dead. They never lived. Java is an application language, not a scripting-hack (much unlike PHP which is very web-centered. Do they even ship a stand-alone interpreter on win32 anymore?).

    I'll also have to disagree with another poster who felt that applets were "everywhere". I as good as never see applets on the web.

    I'm not a java fanboy or anything, but come on, applets and the web is 2% of what Java really is.

    --
    Belief is the currency of delusion.
  79. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  80. Re:Kiss and say goodbye to Java language!! by ---- · · Score: 2, Informative

    Java is a general purpose programming language, PHP is not. PHP is a scripting language designed for server side web scripting. Ever tried writting a server in PHP? You can't, it doesn't let you accept incomming socket connections.

    Ahem ...
    socket_accept()
    socket_bind()
    socket_listen()

    Taken from User Contributed Notes on php.net (author diogo at michelangelo dot edu dot br )

    // first we must to create a socket which will be used to listen
    // a connection (0 mean protocol type - TCP)
    $mysock = socket_create(AF_INET, SOCK_STREAM, 0);

    // now bind call a port (20000) with a socket on 127.0.0.1 address
    socket_bind($mysock, "127.0.0.1", 20000);

    // accepting conenctions on a socket and port
    socket_accept($mysock);

    // using socket_listen we can specify how much connections we will to accept
    socket_listen($socket, 10);
  81. You guys are weird by p3d0 · · Score: 1

    Who in the world thinks they need to learn all the libraries before they can start programming in Java??

    --
    Patrick Doyle
    I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    1. Re:You guys are weird by mariox19 · · Score: 1

      Of course no one really believes that. But, just as Java is organized into packages, so should there be another level of organization above packages.

      It just makes better conceptual sense, and offers a better guide to getting a handle on the language.

      And from another practical point of view, a person might be able to buy a $35 book that will be 90% useful to them, rather than a $55 dollar book for which only two thirds or less will be useful during the coming year.

      An author writing a book on J2SE must try to touch on every part of the release, or risk making his book seem "incomplete" by comparison.

      (Note: I'm not talking about any one book in particular.)

      --

      quiquid id est, timeo puellas et oscula dantes.

  82. level 5? by Anonymous Coward · · Score: 1, Funny

    How many business experience points does that ake?

  83. Fuckin' A! by Anonymous Coward · · Score: 0

    Why won't Bush just tell the UN to go fuck itself and start killing brown people? It costs me $50 to fill up my SUV! We need to go get our oil that those godless iraqis are holding under their worthless mudman country.

    1. Re:Fuckin' A! by Anonymous Coward · · Score: 0

      1. "France" and "Germany" != UN.

      2. If you want to see what's REALLY "about the oil", investigate France's long-term oil contracts with Saddam.

      2. Also look into Germany's sales of chemical, biological, and nuclear technology to Saddam.

      As far as "unilateralism" goes, read this:
      http://www.news-journal.com/news/content/ne ws/ap_s tory.html/Intl/AP.V9118.AP-The-New-Europe.html

      and this:

      http://www.novinite.com/view_news.php?id=19022

      Note to moderators: If you want to moderate this off topic, fine. It is. Just make sure you do the same to the parent.

    2. Re:Fuckin' A! by Anonymous Coward · · Score: 0
      Note to moderators: If you want to moderate this off topic, fine. It is. Just make sure you do the same to the parent.
      Fucking middle child "but he did it too!" syndrome. People like you were born to be put on the frontline for Sarin fodder. Bring back the draft I say.
    3. Re:Fuckin' A! by Anonymous Coward · · Score: 0

      Your post makes no sense whatsoever, but then neither did your first one.

      Here's a free clue, chuckles: If the oil supply got cut off tomorrow, you would DIE. Everyone you know would DIE.

      Don't believe me? Stop heating your house or eating any food that was transported on an oil-burning vehicle. Until you do, STFU.

  84. who cares who submitted it by Anonymous Coward · · Score: 0

    the facts of the message are indisputable.
    Shrinkwrap Java applications are extremely difficult to deploy when the client is already relying on some other Java version.
    Client commonly balk at downloading a 40 Meg "patch" release.
    Please provide a countercase if you do not believe this.
    Facts are the only things that matter.
    Conspiracy theories are for idiots with too much time on their hands.

  85. Re:Kiss and say goodbye to Java language!! by TheRaven64 · · Score: 1

    Thatnk you, this has been added since I last read PHP docs (4.0). I notice that this is still marked as 'Experimental' though...

    --
    I am TheRaven on Soylent News
  86. its a hoax memo by rhyd · · Score: 1

    as other posters have said: its clever & subtle, but almost certainly a hoax.

    the real question is who made the hoax and what were their motives? The timing of this may have been designed to hurt Sun especially since Sun is making big PR noises tomorrow according to the banners on /.

    --
    'Be the change you want to see in the world' - Al Gore
  87. Nothing to do with Java by Anonymous Coward · · Score: 0

    The memo has nothing to do with Java. It is typical of how software development takes place in large organisations. One team is having problems using another teams tools. They believe the tools problems with the tools can be better addressed if the tool team works within the same software development framework as all the rest of the teams. (Every organisation gets a pet team/project at one time or another, that does not play by the rules. In these cases the project is eventually brought back in to the fold, it is killed or people see the value of it and change the rules for the better/worse)

  88. Re:Sun's Internal Argument - cogent point by 286 · · Score: 1

    I think you are right... just look at the recomendations:

    We strongly recommend that management require Java to conform to the Software Development Framework especially from the standpoint of ARCreview. Both PSARC and LSARC have dealt with the Java issues peripherally, recognizing numerous problems but unable to effect change in the underlying source of the difficulties - namely Java. By bringing the Sun Java implementation through ARC, these issues can be resolved.

    The question is, will this solve Java's problems?!

    I am all for open developement. But I don't think that what aiming for.

  89. Not Cocoa, GNUSTEP by Anonymous Coward · · Score: 0

    GNUstep is the answer to a cross-platform Cocoa. That's the whole point of it. In fact, already there are programs (GNUmail.app) that compile "out of the box" on both Linux and Mac OS X thanks to GNUstep.

    Unfortunately, everyone "forgot" about the less-glamourous GNUstep when GNOME & KDE got going. Pity, since GNUstep really is the better way to go.

  90. They've gotten what they wanted. by crmartin · · Score: 2, Informative

    Hey, folks, calm down. This is a memo from a couple of developers with their hair on fire, writing a purposefully inflammatory internal memo to get attention.

    (Which they have done. I wouldn't be surprised if they're having a rather painful meeting when word gets back in Sun that this got published externally.)

    I used to be a Sun Java Architect and I worked on both internal and external projects on both Solaris and Windows. I posted a lot of bug reports myself, and got some of those "will not fix" replies.

    What these guys are primarily complaining about is not that Java isn't good for some things, but that Sun developers have a perpetual problem that they're almost always the cobbler's children that go barefoot. As someone else mentioned, the Windows implementation of Java seems to get priority for most things -- although, as I recall, the advanced Hot Spot optimizer was available for Solaris first (makes sense, the x86 instruction set architecture is such a pig.)

    But there is a second thing going on here that you might not undderstand, which is that ever since Scott began to push Java, the old C/C++ programmers have been scrounging for reasons to us C instead of Java. Sometimes tht's appropriate, but a lot more often the difficulties are the result of someone trying to write C in Java.

    In fact, this memo describes several problems that are clearly just such problems: for example, the notion that a Java-based shell should fork a new JVM for each command line execution. This is the natural way to handle the problem in C; fork()/exec() was invented for this. But it isn't the appropriate idiom in Java for exactly the reason they describe -- it means starting a whole new JVM, which is expensive. (The appropriate idiom, by the way, is class-load by name and invoke a method.) As I understand it the 1.5 JVM will have a extension that will make it easy to create virtual address spaces within the JVM for running sub-programs, which is probably a response to the issue.

    The most important thing the memo is pointing out really is a problem: the freakin' language and evironment changes every time some propellor-head gets a slick idea. I posted a couple of days ago complaining about just this in the case of the for(String s: c) idiom and a couple of other such things in 1.5. This, and the way things break between Solaris and Windows, and among minor version changes, really is a problem that makes developing large-scale, multi-version applications in Java difficult.

    1. Re:They've gotten what they wanted. by MillionthMonkey · · Score: 1

      I used to be a Sun Java Architect and I worked on both internal and external projects on both Solaris and Windows. I posted a lot of bug reports myself, and got some of those "will not fix" replies.

      My company sells an AWT-based scientific application (don't laugh, it was started in 1998 and now we're the leader in our market). We had a problem with scroll bars suddenly blinking when we ran under 1.4 on Windows. You'd scroll down, and then you couldn't concentrate on what you were reading because the scroll bar thumb started blinking endlessly. It was really annoying and everyone in QA filed a bug report as soon as they saw it.

      I found the bug in Sun's bug database (which seems to be down at the moment because all my searches come up empty). Other people were complaining about it, but Sun decided it was "not a bug" and it got marked with "Will Not Fix". Apparently some engineer there had an old dusty copy of the Microsoft Visual C++ glossary, which claimed that a scrollbar should indicate that it has focus by blinking its scrollbar thumb. They claimed this is standard Windows behavior. Someone asked for an example of a Windows application that does this, and the engineer responded that Microsoft's crash diagnostic tool, "Dr. Watson", has a scrollbar that blinks when it has focus.

      So while you're trying to concentrate on what you're reading in the viewport, the thumb blinks and blinks close nearby, constantly reminding you that it has input focus in case you forget. But as you can imagine, your typical user is familiar with Dr. Watson and uses it every day! Just think of all the confusion and terror that would result if the application behavior were inconsistent with Dr. Watson.

      We "solved" the problem by making all scrollbars unfocusable. I think Sun has been laying off too many people.

      I posted a couple of days ago complaining about just this in the case of the for(String s: c) idiom and a couple of other such things in 1.5.

      for(String s: c) is syntactic sugar. The compiler changes it into normal syntax on one of its sweeps, and the JVM never sees it. It does mean, however, that code using it needs to be compiled with a 1.5 compiler.

      But they've been doing this for a long time. The 1.1 compiler introduced inner classes (which are practically unusable with any of the 1.1 compilers anyway because they are all so easily confused by legal inner class syntax). For syntactic sugar, they introduced class literals, e.g. "String.class" which is sugar for Class.forName("java.lang.String"). If you're using Retroguard to obfuscate your JAR in your build script, class literals are poison because they hardcode the class name.

      If the history of inner classes serves as a guide, you'd have to be crazy to use generics in the 1.5 release. The compiler bugs surrounding them probably won't go away until 1.6.

  91. Story Teaser More Buggy Than "Java" by Anonymous Coward · · Score: 1, Insightful

    "It turns out that Sun does not eat its own dog food."

    It turns out CmdrTaco doesn't eat his own dog food, or read the posted articles...

    "Specifically, this internal memo from Sun strongly suggests that Java should not be used for Sun's internal projects."

    They are not talking about Java per se, but about the JRE implementation on Solaris specifically, as anyone who even read the first four paragraphs would notice. I quote:

    "We all agree that the Java language offers many advantages over the alternatives. We would generally prefer to deploy our applications in Java but the implementation provided for Solaris is inadequate to the task [...]"

    "More interesting still, they go on to state which other languages fullfil Java's goals better than Java does itself.

    They use several Java and non-Java JVMs on various platforms for comparing memory footprints. All of the non-Java languages mentioned in the memo address a different goal set and "target market" from Java.

    "Finally, the memo states Sun's own Solaris is the cause of many of Java's woes."

    Aargh. Solaris is fine, it's about the JRE implementation on Solaris that they complain. Read the article, maybe?

    "Yikes."

    Four out of four sentences in the summary substantially wrong: FUD, FUD, FUD, FUD.

    "Yikes" indeed.

  92. CmdrTaco drops plot by rhyd · · Score: 1

    Sadly it would appear our illustrious leader is having an off day. whats that your saying? Whoa there "Gullible Moron" is a bit harsh surely... but wait ..... if he is constantly posting dupes => he doesn't even read his own site => he probably didn't scrutinise the story......

    so i guess my real question is "CmdrTaco; can you read?" ;)

    --
    'Be the change you want to see in the world' - Al Gore
  93. Commander Taco by hackus · · Score: 1

    Has got it all wrong again. Sometimes I wonder if this guy actually reads the articles he summarizes.

    The article has nothing to do with the implementation of Java, or its viability.

    HELLO???...people, some of the largest sites on the internet is built with Java.

    The point of proving Java's viability happened A LONG TIME AGO...and it passed with flying colors.

    Java is widely used in a large number of very sites both in public and internal use.

    The reason why it is used is because it works, and works very well, which is why it is so popular.

    The article however, does point to the fact that since Java is so portable, it has different problems on different platforms, all of them TRIVIAL, which can be easily fixed.

    Where Taco got the idea that Java isn't viable, or to make a sweeping statement that Sun "doesn't use Java" and has said Java isn't viable, is simply not true.

    -Hack

    --
    Got Geometrodynamics? Awe, too hard to figure out? Too bad.
  94. Level 5 is not what you think by Anonymous Coward · · Score: 0

    Read about it here.

    It seems that CEOs who spend all of their time beating their own drums are far less effective than ones who spend their time focussed on their business while they beat on everyone else's drum.

    In short, visibility and effectiveness are opposed.

    Cheers,
    Ben

  95. Good for Java by grungeman · · Score: 2, Insightful

    I like Java a lot, and I like to see that Sun realizes the biggest problems of Java. It gives me confidence that they will work on the mentiones issues and fix them.

    The bad side of the memo is that it will certainly be misused for marketing purposes by the Java bashers.

    --

    Signature deleted by lameness filter.
  96. Resident Set Size by keyslammer · · Score: 1

    One other point from the article:

    Hello World written in Java2 requires 9M for this most basic support infrastructure. By comparison, this is slightly larger than automountd on Solaris8. The Python runtime required to execute Hello World is roughly 1.6M.

    I found this interesting because this is a key reason why I personally favor Python over Java for my own projects.

    I'm also curious as to how the IEEE article came up with a "rough parity in performance". Java > 1.3 seems to be more on par with compiled-to-machine-code languages in terms of speed.

    One consideration with Python is that a lot of the computationally intensive operations are implemented in the underlying C code - for example, I did one benchmark once that showed massive amounts of string concatenations to be much faster under Python.

    This concept is applicable for lots of python code - essentially, we do "manual hot-spot optimization" by rewriting the heavy stuff in C.

  97. this is not solid reasoning by hfastedge · · Score: 1

    I "sniff" two main arguments out of this article:

    1. is that java is not reliable: eg: inherently unstable (understandable b/c its a complex problem), AND this memo exposes some of the design issues over the progressing releases of java (which they actually classify as bugs (not in runtime or anythiing, but in usability and maintainability).

    2. is the performance aspect that they are whining about. (both timewise, and memorywise).

    Well....for the amount of garbage collection and optimization that goes on in a JRE (like the HotSpot (tm) and what not...)its not wonder that its "big". Sheesh, it took 30 years to figure out primes in P http://www.cse.iitk.ac.in/news/primality.html , and what? its been less than 10 years since gosling has managed to convince sun that java is worth it.
    Anyway, theres a reason python and eiffel are more stable...they do less optimization. Please don't argue that python is anywhere near as fast as java. The computer language shootout, OR just experience with both languages can tell you this.

    Anyway, I think that ultimately, computers should have something like a co-processor for bytecoded languages. Everyone needs to get together (like the now-dying parrot project), make a SOLID standard for a bytecode and for a hardware implementation, and sit back and enjoy the ride (eg http://www.ajile.com/ ...but based on something less proprietary). Heck we have graphics cards dont we!

    Finally,if sun is bailing, im sure a CS department/thinktank will pick up a grant and continue with java in a completely non-proprietary fashion (java *is* open source, just too proprietary to conflict with GNU and what not... (not like im a gnuru or anything).

    Im sure theres something im forgetting. thank ya.

    --

    -- -- --

    Help my mini cause: My journal

  98. Performance by markbthomas · · Score: 0, Flamebait
    Take two example: ./hello, written in C, and hello.class, written in java.
    mark@twix tmp $ time ./hello
    Hello, World!

    real___ 0m0.001s
    user___ 0m0.000s
    sys____ 0m0.000s
    mark@twix tmp $ time java hello
    Hello, World!

    real___ 0m0.230s
    user___ 0m0.160s
    sys____ 0m0.030s
    I mean, really...
    1. Re:Performance by Anonymous Coward · · Score: 0

      Do you not get the point? this is a stupid comparison. The point is not about the startup or execution. It is about overal speer, reliability, safety, and security. Try fullfilling those in any other language.

    2. Re:Performance by markbthomas · · Score: 1

      It's not pointless, it's a lower bound. Lower bounds are useful.

      Speed: Java loses hands down to every other language (even the interpreted ones). This may have something to do with it being a heap-based stack machine.
      Reliability: Depends on the code quality, which is more dependent on the programmer than the language. All interpreted languages, however, have the added variable of a virtual machine, which may or may not be reliable.
      Safety: This is an ambiguous term, but if you mean "type-safety", then Java nowadays is no better than any other type-safe language. That was not always the case. If you mean "it checks everything it does because its a VM" then you are very naïve.
      Security: This is a function of the operating system and the sysadmin, not the programming language. Java is as insecure as any other complete language on an insecure operating system or with an incompetent admin.

      And no, it is not a stupid comparison. Java is often used for web applications. All the web applications I have written in C execute in around 20 milliseconds. All the web applications I have written in Perl execute in around 100 milliseconds. Java can't even print "Hello World" in less than 250 milliseconds (bearing in mind that this is running on a twin athlon 1600+, and this was the fourth or fifth execution, so all disk data was cached).

  99. Java is a toy language by Progman3K · · Score: 0, Flamebait

    I've programmed for a few years in Java and for a few years in C and C++ and in my opinion, Java is just not worth the effort.
    Sure, it'll enable feeble-minded programmers to write code and help them not worry about nasty things like memory and pointers, but in fact, if you ARE an accomplished programmer, you don't need that kind of a crutch anyway.
    I know it's very politically-correct to keep lowering the bar for everyone, but I seriously believe that there are a huge number of programmers out there who should be working as plumbers or opticians, and who basically jumped onto the IT bandwagon when it was hot in the 90s or because it was cool in our present decade.
    Software quality is NOT going up, it is going DOWN. Why? Because many no-too-gifted developers are jumping into computer science as a career, and Java is just the very embodiment of that; a poorly thought-out language with glaring engineering and architectural lacunae.

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:Java is a toy language by Anonymous Coward · · Score: 1, Informative

      I know it's very politically-correct to keep lowering the bar for everyone,

      Right. We should outlaw everything except raw machine code, that you enter directly in binary. Assemblers are for pussies.

  100. hoax, this memo is by Anonymous Coward · · Score: 1, Informative

    How do we know this is even a real internal memo? I mean, this is comming froma site *named* internalmemos.com. Come on! There's a submission form. I could just send any old thing in if I wanted. The only difficult part is making it look convincing. That only takes a few hours of effort. Anyone that has an axe to grind with Sun could have sent this in. That could be some big company or (far more realistic) some random slob that just wants to be mean. Or it could be real. But who cares? As the Score 5 AC pointed out, this is about bugs in the JRE on Solrais, not necessarily about Java in general. Does anyone on slashdot remember what FUD is?

    1. Re:hoax, this memo is by Anonymous Coward · · Score: 2, Funny

      Obviously if the domain is "internalmemos.com" it must be an internal memo.

      Otherwise, they would have called it "internalmemohoaxes.com". Try using this thing called "logic."

  101. MOD PARENT UP by Anonymous Coward · · Score: 0

    please

  102. Sun should go open source for JVM and J2SE by ahornby · · Score: 1
    I think the solution is to open source the JVM and J2SE so that Java can benefit from the same kind of fast turnaround as Mono's .Net implementation.

    I first saw this story on the inquirer - See:

    The article and

    my letter in response

    --
    -- Thorin sits down and starts singing about gold.
    1. Re:Sun should go open source for JVM and J2SE by bovinewasteproduct · · Score: 1

      Have you ever seen the source code to Java 1.4.1? Anyone who can hack that code can just about hack anything. It's a mish-mash of assembler/C/C++ and the way it's written... Arrrgghhh. Not pretty.

      Just opening it would not help much until they got it factored enough to get it readable/understandable.

      The only reason I even know this is because I compile the FreeBSD patch versions...

      BWP

  103. InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 5, Informative

    InternalMemos is notorious for running hoax emails. This email is no exception. It includes a number of inaccuracies and curious references. The comparisons with Python are just amusing. Doing a quick search on the names, you'll note that there's no reference to the sender anywhere in Google, let alone associated with Sun. Most of the folks in the CC list do not have Sun email addresses. They're probably friends of the hoaxer. The Sun folks in the CC list include a JavaOne and a guy who has himself on the J2ME JSR. I wouldn't hold out for Sun switching to Python. haha

    1. Re:InternalMemos is notorious for hoaxes by denny_d · · Score: 1

      Glad to read someone's questioning the source of the memo. That said, I'm constantly bumping against java apps that consume all system memory. Are there specs. to be found on the HelloWorld example?...

    2. Re:InternalMemos is notorious for hoaxes by MikeFM · · Score: 4, Informative

      Julian.Taylor@central.sun.com is the address Google came up with for me. Not sure if it's the right one. Seems close enough though.

      Since when are memos technically correct? You must work at a lot geekier place than I have. Not that I think InternalMemos isn't notorious for hoaxes.

      I wouldn't hold out for Sun to switch from Java to Python either but I really wish they would. Java blows. Python is easier to develop (fewer required tools etc) and runs a lot better under both Linux and Windows. Python (with wxPython) produces nicer looking more functional gui programs to.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    3. Re:InternalMemos is notorious for hoaxes by RenQuanta · · Score: 1
      Why is comparison with Python amusing? I've been using Python for three and a half years now, and everything that the memo states about Python is true and accurate:

      A study performed by an outside team appears to indicate a rough parity in performance between Java and a common implementation of another OO language called Python (see IEEE Computing, October 2000, "An Empirical Comparison of Seven Programming Languages" by Lutz Prechelt of the University of Karlsruhe). Both platforms are Object Oriented, support web applications, serialization, internet connections and native interfaces. The key difference is that Python is a scripting language. This means there is no compilation to byte code so the Python runtime environment has to do two things in addition to what the Java runtime environment does. It has to perform syntax checks and it must parse the ascii text provided by the programmer. Both of those tasks are performed at compile time by Java and so that capability does not have to be in the JRE.
      Given this data, it appears that the JRE can actually be simpler than the Python RE since Java does at least some of this work at compile time. The example above of "Hello World" is a good method for getting an idea of the minimum support code required at runtime. This support code includes garbage collector, byte code interpreter, exception processor and the like. Hello World written in Java2 requires 9M for this most basic support infrastructure. By comparison, this is slightly larger than automountd on Solaris8. The Python runtime required to execute Hello World is roughly 1.6M.


      I've used all of those aspects of Python: OO, serialization, web application support, internet connections, and native interfaces. I've also used multi-threading, and GUI interfaces (PyGTK, and built-in PyTk). I have yet to find a problem that couldn't be easily solved with Python. It makes for rapid development and robust solutions.

      Moreover, my experiences (as an end user, not developer) with Java have been misreable. It's performance sucks and is typically intolerable for daily usage.
    4. Re:InternalMemos is notorious for hoaxes by arivanov · · Score: 1

      Nothing amusing there.

      1. The caller who logged the support call about the abominatory Vitria memory use ended up writing an in-house replacement in python+MySQL. With a memory footprint of less then 70MB. Same thing happened to a number of other high profile attempts to use Java in Telecoms billing. So there is nothing unreasonable in seeing python references. And at least that bit is right on bloody target.

      2. If the memo is leaked the entire header is likely to be made surreal to avoid tracing to the origin.

      3. Memos like this are usually issued by a manager as a result of consultation. In most cases some of the original contributions are omitted or misquoted and mistakes are introduced.

      4. Overall, it looks real enough to me.

      --
      Baker's Law: Misery no longer loves company. Nowadays it insists on it
      http://www.sigsegv.cx/
    5. Re:InternalMemos is notorious for hoaxes by Metrol · · Score: 1

      Moreover, my experiences (as an end user, not developer) with Java have been misreable. It's performance sucks and is typically intolerable for daily usage.

      I had rather the same impressions, as an end user, of Java apps. Then I went and got all hooked on using JEdit a little while back. I wasn't looking for a Java app, I was looking for a feature rich text editor.

      Aside from a cool app, JEdit was the first glimpse I'd ever seen of the promise of Java. Here was something that I could actually use on darn near any platform (FreeBSD in this case). Essentially you could have several people on whatever flavor of OS they prefer all utilizing the same tool. Although the original author developed this app on Linux, the cross platform nature of it has brought the far larger audience of Windows and Mac users into the mix, developing plug-ins and syntax schemas. Similar projects, such as Kate or NEdit may never enjoy such a large or diverse development community being locked into essentially a Unix only environment.

      That was always supposed to be the promise of Java as a platform to develop on.

      More end user kinds of applications like this built on Java would certainly do more to advocate the language than any big dollar advertising campaign.

      In all fairness though, it does take a considerable startup time versus a C based editor. I tend to use NEdit when I need an editor up quick, then use JEdit when I'm working on larger projects.

      --
      The line must be drawn here. This far. No further.
    6. Re:InternalMemos is notorious for hoaxes by thpht · · Score: 1

      I tried to look up the many Bug IDs mentioned in the memo in the JDC Bug Database, but I couldn't find one. Anyone else have any luck with this? I wanted to figure out when the memo was written, and if any bugs have been fixed. no luck.

    7. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 0

      since you don't have your email exposed (sensibly I suppose) I have to ask you here - I was looking into JEdit too and thought it had promise but found the color-coding of syntax (which I rely on far too heavily), at least for javascript and vbscript (gasp) was virtually non-existent. I'm used to EditPlus which at least nicely picks out strings and keywords. JEdit seemed all shades of grey. Did I miss some setting for in syntax highlighting or is this just not a big priority for the editor?

      Thanks if you get to respond to this....

    8. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 2, Informative

      I looked for several of the bugs using Sun's bug database search engine, and couldn't find them. Constructing the URL myself, however, seemed to work.

      For instance, bug# 4460368.

    9. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 0

      They're all old bugs for the merlin-beta as of 2001, as you probably saw.

    10. Re:InternalMemos is notorious for hoaxes by Thelgar · · Score: 1

      I wouldn't hold out for Sun to switch from Java to Python either but I really wish they would. Java blows. Python is easier to develop (fewer required tools etc) and runs a lot better under both Linux and Windows. Python (with wxPython) produces nicer looking more functional gui programs to.

      Python is nice on Linux and Windows but it's a pain in the arse to support commercial Python products on UNIX boxen. This will improve over time, I hope.

    11. Re:InternalMemos is notorious for hoaxes by MikeFM · · Score: 1

      Really? In what way? I've tried running my programs on Solaris and they ran exactly the same as on Linux. Support between Linux and Windows is overall a no brainer. Windows sometimes takes a couple more modules that are missing from Windows Python but the distutils packages it all up into a nice exe for me. What pitfalls are you speaking of?

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    12. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 0

      When evaluating programming languages, one of the key features is whether you feel like you're doing extra work compared to what you're used to.

      Java makes me feel *very* constrained. Just the lack of any easy mechanism for multiple return values is bad enough...but such a high level language without the ability to write data structures inline... I guess Java programmers like to implement classes for everything, even when there would be easier ways to do things in other languages. Which would be fine for a purely OO language, but that Java is not...

      Python has some nice functional-like features. But depending on the type of program I'm writing, I often feel constrained without ML-like pattern matching.

      IMO except for the syntax and lack of libraries, OCaml is pretty much ideal.

    13. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 0

      Some of you guys should really get your heads out of the hole. Sure, wearing eye blinds is nice and comfy, i understand. And it feels really good to blab about java's performance taking wxPython ("a blending of the wxWindows > with the Python programming language" - quote from the website) and swing and putting the gui performance side by side, right ? Have you even ever heard of mvc ? Do you ofter compare native code with python code ? Did you ever read a paper on the JVM performance ? How childish. Do you really expect me to belive people like bea and ibm are stupid enough to overlook such wonderful features of python (being weak-typed, for instance and less code for a "hello world" program) and choose java over it when it comes to building a bussiness application server ? Come off it guys, really. Or better yet, keep on chasing daydreams, it'll make it easier for the not-so-naive of us to blow you away when our paths should cross.

    14. Re:InternalMemos is notorious for hoaxes by JamesOfTheDesert · · Score: 1

      I wouldn't hold out for Sun to switch from Java to Python either but I really wish they would.

      Or, better yet, go to full-blown OO, with ultra-ease of development, and switch to Ruby.

      --

      Java is the blue pill
      Choose the red pill
    15. Re:InternalMemos is notorious for hoaxes by Anonymous Coward · · Score: 0

      I'm not the original poster but I use jedit at work constantly. I'm using the latest beta version so it may be better than the stable version but the color coding seems fairly good to me. You should check that it did detect that file was javascript or vbscript(right click, buffer options), though I haven't had any problems with that myself. Also if you don't like the colors there is the Editor Scheme plugin that allows you to choose from a number of color schemes and you can set your own colors under Global Options->Syntax Highlighting.

    16. Re:InternalMemos is notorious for hoaxes by Metrol · · Score: 1

      Did I miss some setting for in syntax highlighting or is this just not a big priority for the editor?

      For those of you browsing at 1 or better, this was an AC post. inquiring about JS and VB syntax hi-liting support in JEdit.

      JEdit's default JS support was rather limited in my opinion out of the box. I primarily work on PHP for web use within it, and JavaScript is rather important to me. Thankfully there are two very cool features to the hi-liting that make this easy to fix.

      First off, the schema for any of the language syntaxes is stored in XML. I'm certainly no XML expert, but I sure can copy and paste! The original JS schema was really an ECMA schema only, leaving out many of the keywords commonly used on the web. I took an hour aside and put the keywords of interest to me in there.

      Secondly, one of the coolest aspects to JEdit's schemas is that they are embeddable. For example, within the PHP schema there are short statements including the schemas for JavaScript, CSS, and of course HTML.

      I had been working on getting the work I've done on both the PHP and JavaScript schema into the final release of JEdit, but got seriously sidetracked with other issues. Came down to the difference between good enough and ready to publish. Also, there were some newer features available for the upcoming release that I hadn't fully implemented or tested yet. I suppose I'd best finish that stuff! :)

      To the best of my knowledge, no other editor out there has hi-liting support for as many different languages as JEdit. It's one of the easiest I've run across to expand upon what is already written. Also a pretty friendly mailing list that's worth a look.

      I know there's support for vbscript, but I've never written anything in that language. Even if it is sparse, updating it to suit your needs is nearly trivial.

      In short, I think you did miss something there.

      --
      The line must be drawn here. This far. No further.
    17. Re:InternalMemos is notorious for hoaxes by sam_vilain · · Score: 1

      Well, there's one way to find out. Whack those bugIDs into SunSolve.

      Anyone out there with a SunSolve online account care to check this?

      --

  104. Virtual Machines by pommiekiwifruit · · Score: 1
    Yeah, when I was a kid at school I wrote a simple compiler that compiled a usable subset of BASIC down into bit-code (none of this wasteful byte-code malarky! :-) and then executed it with a simple execution unit. My test program came down to half the size of (tokenised) BASIC program, and ran five times as fast... Of course it still used the O/S for some I/O which added a few Kbytes of ROM requirements (and 1K of RAM).

    Just imagine a stack machine with huffman-ish operators

  105. This smells like a fake by Headius · · Score: 4, Interesting

    Everything about this memo sounds as fake as can be. For example:

    Sun complaining about the JRE support model for internal projects...THEY ARE THEY JRE SUPPORT MODEL. It would be a bit like Ford recommending people don't use Ford parts for internal work because they'd have to go to Ford to get support for them. Eh?

    Listing off the memory footprint of various "demo" applications. The "Hello World" reference gives this away as totally bogus. Anyone who's used Java knows about its memory consumption. From day one people understand that it is not recommended for smaller applications. That's not the intention of Java, and it's not a recommendation or warning Sun would ever make internally. Java is excellent, perhaps better than anything else, for interoperable, server-side, cross-platform development. The claim that there are "better languages for that" is totally bogus. Show me another single language that packages object communication, database-independent persistance, compile once, reliable threading, and hundreds of other Java features, while being available on every major (and most minor) operating systems and platforms available. An external user trying to take Java down a notch (perhaps a disgruntled C++ developer?) would almost certainly point at the size of a "Hello World" application. BTW, guess what: Hello World compiles to a couple kB of Java code. If the platform uses 9M for a small program, that's not part of Hello World's memory footprint. How much memory does a compiled C program take (including all external libraries and the kernel itself) compared to its compiled size? The holistic difference is striking.

    The numbers about startup time and third-party application time. Why on earth would Solaris care if TogetherJ takes a long time to start up? If TogetherJ is written badly enough that it consumes 900MB of memory, then it's a failing of Togethersoft, not of Java. Too many Java developers have fallen into the trap of "memory is cheap, objects are garbage collected" and use truly gross algorithms in their software. A little common sense would reduce the footprint of some of these applications down to much more manageable levels. One should look at Java applications that do extremely well with regards to memory management, for example JBoss 3 and Eclipse. Eclipse provides one of the best, cleanest, well designed Java IDEs out there, and starts up into around 25M on my system. JBoss is a fully J2EE-compliant container, and starts up into about 32M on my machine. Compare that with other offerings.

    Backward compatibility across minor releases. Everyone familiar with Java knows that 1.2, 1.3, 1.4, are as far from "minor releases" as they could possibly be. There's absolutely nothing "minor" about them. The small compatibility issues that are listed in this document are almost certainly issues someone would face if they move from one level to the next and use deeper features of the JVM. The concern about Class.fields() is ludicrous. It changed after 1.1 (about FIVE YEARS AGO, PEOPLE) and hasn't changed since. The other two complaints are about UI behavior changing across major versions (1.3 to 1.4 and 1.2.2 to 1.3.1). Guess what...they're going to introduce improvements into UI behavior to improve the performance of the platform's UI as a whole. The interfaces did not change. The contracts between classes did not change. If someone's tables ended up looking a little different (boo-hoo, perhaps this is a Java UI developer who's out of his league) then you either recommend one major revision or another, or you format your UI in such a way as to prevent problems (not a difficult thing to do with Java's UI support). These gripes more than any others point to this being a fake: Everyone outside of Sun knows that 1.2->1.3->1.4 are not "minor revisions" and would never treat them as such. There's NO WAY Sun would refer to them in that way.

    Other issues are also well known to Java developers, and are easiliy avoided:

    JNI is unstable: Well duh...anytime you link out of the JVM you are dependent on external code for reliability. If the external code bloze or doesn't behave, guess what...you crash. Sun recommends not using JNI unless there's no other way to solve a problem, and wouldn't list this as a fault.

    Vitria: 450+ containers? What in holy hell are they doing with 450+ containers? Running a single component in each one? No reasonable architecture would EVER use this many JVMs on a single machine. The person who recommended this should be shot, and the person who wrote this obviously fake memo is looking for worst case scenarios to support their arguments. Regardless of Sun's marketing, companies with alternative languages and platforms would not be buying on if the platform itself wasn't so powerful. Would IBM have blown $1B+ developing Eclipse if they thought Java had unsolvable issues? Not bloody likely.

    JSSE referred to like a distant cousin: JSSE is Java's Security Extensions, and although the article is correct (it was formerly a plugin, now included in J2EE) it is referred to as "an external module called JSSE" and never once listed as a security extension. Does the author of this "memo" not know a primary, core technology that Java uses for security? Someone is extremely ill-informed, or has nothing whatsoever to do with Java.

    Ultimately, even if this does turn out to be an internal memo, I'd wager it's from a lower-level developer on the C++ side of the company that is angry (or worried) about the push towards Java-based applications over native languages. You can bet your ass this isn't a company-wide, high-level memo, because it's simply not true. How about this scenario:

    1. Internal Sun employee NOT involved in Java becomes disgruntled about getting fewer new projects and more maintenance and support work.
    2. Employee starts to monkey around with Java, either to nitpick well-known faults and flaws or to gain a better understanding, hopefully to get an "in" on new Java-based projects
    3. Employee finds enough nitpicking details to write an "internal memo" recommending Java not be used, or get frustrated that they can't learn the entire language in a day and does the same.
    4. Employee writes said "internal memo", hoping to stir up some discussion
    5. After the employee's claims are shot down, much like I did above, the employee gets even more frustrated
    6. Employee "leaks" the memo to stir up bad press for employer. Since the memo appears on a site where "accidentally" leaked memos appear, employee can feign ignorance.

    Everyone jumps to conclusions on these things. Don't believe everything you read. Java is a spectular language...anyone who has used it for any length of time knows that. The people who have never used it on a real-world project are routinely its biggest critics.

    1. Re:This smells like a fake by TheSunborn · · Score: 2, Interesting

      >Sun complaining about the JRE support model for internal projects...THEY ARE THEY JRE SUPPORT MODEL. It would be a bit like Ford recommending people don't use Ford parts for internal work because they'd have to go to Ford to get support for them. Eh?

      No, it would be like Ford recommending not to drive a ford car to work because they are to unstable to ensure that people come in time.

      >Listing off the memory footprint of various "demo" applications. The "Hello World" reference gives this away as totally bogus. Anyone who's used Java knows about its memory consumption.

      Yes but their point is that the solaris version of jre is far worse then the windows version. The solaris version of jre require twice the memory of the windows version to run the "Hello world" program. And the fact that I know about the memory usage of java does NOT make it less of a problem.

      >Eclipse provides one of the best, cleanest, well designed Java IDEs out there, and starts up into around 25M on my system

      Eclipse might take 25MB to startup, but try to use it for a few hours and se you memory usage go to atleast 100MB. But Eclipse is worth the memory so I just bought an other 256MB ram and are a happy Eclipse user :-}

      But Eclipse just confirm the point of the memo.
      After testing awt and swing, they(The developers of Eclipse) came to the same conclusion as this memo: That awt and swing are unuseable for big projects. I really think sun should think about replacing awt and swing with swt. :-}

      >Backward compatibility across minor releases. Everyone familiar with Java knows that 1.2, 1.3, 1.4, are as far from "minor releases" as they could possibly be. There's absolutely nothing "minor" about them.

      Well the Sun release manager don't know about.
      Remember a version number is Major.Minor.Revision so if
      1.4 is a major to 1.3 it should have been called 2.0 AND there should have been an easy way to ensure that an application could pick between jre 1.3 and 2.0

      I am developing an application(Primary target windows and Mac) which currently run fine in jre 1.3 but got problems running with jre 1.4 due to changes in Swing. The best solution would be just to keep the jdk 1.3 alongside 1.4 but that's not really posible with windows, so now I have to change the app to work with 1.4 and then include(and install) jre1.4 and then hope that our customers don't have any applications that only work with 1.3. Oh what I would pay just to be able to include a version of swing with our application allowing us to run with both 1.3 and 1.4 using the same swing library no matter if the user were using 1.3 or 1.4.

      It is correct that JSSE has been integrated into the JavaTM 2 SDK, Standard Edition, v 1.4 but with 1.3 and early versions it was an external module, so the author might just not have noticed they included it with 1.4. Which remind me: Does anyone know why jsse use >5 seconds on a 800Mhz pentium just to create an ssl connection to a webserver? This is really a big problem for us -((

      I don't know if this memo is valid, but it really does sum up the problems with using java for client side applications.

    2. Re:This smells like a fake by Q+Who · · Score: 1

      If the platform uses 9M for a small program, that's not part of Hello World's memory footprint. How much memory does a compiled C program take (including all external libraries and the kernel itself) compared to its compiled size? The holistic difference is striking.

      Kernel and external libraries are shared by the different processes. If the JVM and the class libraries are not shared, it's inherent problem in the language implementation, and should be solved by Sun if they want Java to ever become a "real" language, in which majority of desktop/server parts can be implemented. Dismissing the problem using invalid comparisons just doesn't fly here.

      Oh, and cheaper memory argument doesn't fly either. The JVM is a program, and, as any evolving project, becomes more bloated when memory becomes cheaper.

    3. Re:This smells like a fake by Anonymous Coward · · Score: 0

      > Remember a version number is Major.Minor.Revision so if

      Not in the Sun world. It goes:

      Product.Major.Minor_Revision

      2.x would mean a separate product to replace Java. This is why every Solaris release has been 2.x as it was the successor product to SunOS.

      1.4.1_01 is really 4.1.1.

    4. Re:This smells like a fake by The+Bungi · · Score: 1

      Yes. Next year, when a new "Halloween document" is released by ESR, I'll point out how ludicrous they've become (where are we now? the 7th in the series?). The difference is, I'll get flamed and modded as a troll, whereas you get +4, Insightful. Yay Slashdot!

    5. Re:This smells like a fake by mAriuZ · · Score: 1

      From a 10000m high .
      Maybe it's Microsft atempt to destroy JAVA.
      Well java have some problems but if you write good your code it works prety well : I give only
      one example http://jedit.sf.net or Jboss or
      Tomcat or ...
      I have crappy aplications too to say but let's forget about them .
      Emulation is always slow but with time the virtual
      machine become better .Do you remember V86 from
      the intel386 (It emulates in hardware a 8086).
      or the fx!32 http://www.support.compaq.com/amt/fx32/fx-white.ht ml
      There are chips that accelerate java (www.arm.com)
      maybe in next years there will be on high end processors hardware java vm. I saw that transmeta
      can execute!! java and x86 instructions from http://www.azillionmonkeys.com/qed/cpujihad.shtml:
      Before I leave this, there is the thought that somehow the Transmeta chip would be able to execute other instruction sets in a different configuration or perhaps more interestingly simultaneously with an x86. The presentation seemed to steer towards the direction of "we are only emulating x86's". However, public statements made by Transmeta employees lead to a different possibility: "There was a TM3120 running Doom on Linux. Doom was compiled mostly to x86, except for the inner loop, which was compiled to picoJava using Steve Chamberlain's picoJava back-end. The whole program was linked together using a magic linker. When the program had to enter the inner loop, it executed a reserved x86 opcode which jumped to picoJava mode. The inner loop then executed picoJava bytecode until it was done, and re-entered x86 mode."

      This is very suggestive, at least to me, that they will support Java (or perhaps just picoJava) on their CPUs that would likely be substantially faster than the current crop of x86 based Java virtual machines.

      --
      developer http://flamerobin.org
    6. Re:This smells like a fake by pyrrho · · Score: 1

      >Listing off the memory footprint of various "demo" applications. The "Hello World" reference gives this away as totally bogus. Anyone who's used Java knows about its memory consumption. From day one people understand that it is not recommended for smaller applications.

      I thought Java was for small applications called applets and servlets?

      --

      -pyrrho

    7. Re:This smells like a fake by j3110 · · Score: 1

      1.4 is the first number...

      1.4.1_01 is what I'm running.
      1.4 is the major number.
      1 is the minor
      01 is revision.

      --
      Karma Clown
    8. Re:This smells like a fake by radish · · Score: 1

      And guess what? You can run many apps in a single JVM. So what's your point exactly?

      And what exactly do you mean by "real" language? I've been being paid a very "real" wage for solving very "real" clients' "real" requirements by developing very "real" applications for it in an extremely "real" bank for several years now. Hmmm...I guess it's real.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

  106. Executive Summary for Slashdot Dummies by Anonymous Coward · · Score: 0

    Quote from the internal memo:

    "Executive Summary

    While the Java language provides many advantages over C and C++, its implementation on Solaris presents barriers to the delivery of reliable applications. These barriers prevent general acceptance of Java for production software within Sun. A review of the problem indicates that these issues are not inherent to Java but instead represent implementation oversights and inconsistencies common to projects which do not communicate effectively with partners and users.

    Within Sun, the institutional mechanism for promoting this sort of communication between partners is the System Architecture Council codified in the Software Development Framework (SDF). We propose that the process of releasing our Java implementation will benefit from conformance with the SDF."

  107. Java is not Sun's god by lost+sheep · · Score: 1

    Let's assume for a moment that this is a true internal memo. If it is, then it actually points to a good thing. I would rather have a company take a hard look at it's own problems than pretend they don't exist.

    --
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Lost Sheep to Shepard, you got your ears on?
  108. MOD UP by Anonymous Coward · · Score: 0

    please mod this up

  109. So, let me get this straight... by crashnbur · · Score: 1
    Confidential to Microsoft developers: You must use our software! Bwahaha!
    Confidential to Sun developers: You must not use our software!

    Paint me confused.

  110. Java is great! by 2057 · · Score: 0

    When u have a gig of memory and no other programs running in the background..why doesnt sun work harder, they love to point fingers for all their problems, they never say, "whoops WE made a mistake we should've worked harder on the JRE, made it less of a memory hog, we will now try and fix that, if not lets make it open source so other people can try and correct it"

    --
    For The Best Jazz/Hip-hop fusion > COlD DUCK
  111. The memo only speaks about Sun's implementation by gnobal · · Score: 1

    I think it has been overlooked that the memo only refers to Sun's implementation of the JRE. For my Java development I've always preffered IBM's implementation which is considerabely faster (several comparisons have been made in the past) and IMHO more stable.

    There are, of course, other good implementations of the JRE which work better than Sun's. To me, Sun's JRE is just another option, and does not imply anything about Java in general.

  112. Java *can* - here's an example by MarkSwanson · · Score: 1
    ScheduleWorld uses no more than 28MB when running as reported by my debugger. It is a beta calendaring and scheduling application similar to Outlook. It offers better features such as:
    • encrypted calendar components (so you don't have to trust your ISP or our servers).
    • free client and server
    • multiple simultaneous color views of calendars for instant conflict resolution
    • multiple language support (Hindi, Japanese, Chinese screenshots available)
    • It renders fast enough even on my slow 400MHz Celeron (though the 3D works best on faster CPUs)
    • It includes real-time 3D graphics animation
    What's really important is that the application is secure and is updated with compressed diffs via Java Web Start. A link on its unbeatable security (with lots of Slashdot links embedded) can be found here: http://www.ScheduleWorld.com/itsYourLife.html
    --
    Schedule your world with ScheduleWorld.com http://www.ScheduleWorld.com/ (Java Web Startable)
    1. Re:Java *can* - here's an example by Queuetue · · Score: 1

      Uhm... Why does an Outlook clone use 3d animation?

    2. Re:Java *can* - here's an example by MarkSwanson · · Score: 1

      Because the login screen, and the help->about box show a real-time 3D rotating world.
      It was mentioned as an eye-candy attention grabber. :-)

      --
      Schedule your world with ScheduleWorld.com http://www.ScheduleWorld.com/ (Java Web Startable)
    3. Re:Java *can* - here's an example by Queuetue · · Score: 1

      Sorry, but I'm not going to take technology advice from someone who didn't realize he could have just inserted an animated gif, a series of jpegs or a small mpeg. A static animation (like a spinning globe) is a silly use for realtime 3d - there are a whole boxful of technologies better suited to the task.

      I also don't wish to take market analysis from someone who thinks "We call ourselves something-world, and look: we have a world that spins" is a valid sales tactic, or a valid use of developer time...

      And, of course: Your "Unbeatable security" isn't anything but hollow promises and a false sense of security. No technology can provide unbeatable security.

      IMHO, If you want to advertise on slashdot, you should pay them for a banner.

    4. Re:Java *can* - here's an example by MarkSwanson · · Score: 1
      Let me see if I understand you:
      • 3D animation is silly
      • A series of gifs or an mpeg provides better compression than a loop that modifies the world coordinate of a camera per frame.
      • You somehow know animated gifs are better, when you haven't even seen what you are comparing
      • You pick the software you use based on its name
      • you seem sure "unbeatable security" is hollow and false, yet you didn't read the article provided and you couldn't rationalize a single argument in your favor
      • You seem to think you have the right to tell other people where and how to mention their product.
      LOL.
      --
      Schedule your world with ScheduleWorld.com http://www.ScheduleWorld.com/ (Java Web Startable)
    5. Re:Java *can* - here's an example by MarkSwanson · · Score: 1

      I notice that for 2 days after I posted the above response someone tried very hard to flood our network servers:

      From 13/Feb/2003:09:35:02 -0500 to 14/Feb/2003:13:16:43 -0500 a program was
      running on what appears to be machine IP 195.83.215.2 (equipement.gouv.fr) was trying to flood my
      server. The only purpose of doing this is to attempt to cause harm.

      Based on the offensive and immature attitude of QueueTue I was wondering if he knew anything about this.

      --
      Schedule your world with ScheduleWorld.com http://www.ScheduleWorld.com/ (Java Web Startable)
  113. .NET framework supports this... by Anonymous Coward · · Score: 0

    One ofthe problems the article talks about is having to make the choice of which java runtime to have on your system to run all of your applications. .NET supports side-by-side execution of the framework. Machines will have the .NET 1.0 and when 1.1 will come out both can be installed on the machine. If you have a 1.0 applicaiton it will use 1.0. If 1.1 is on the machine it will try to run in 1.1. You guys can go to MS's site and view how this works...

  114. Surprising? by supabeast! · · Score: 1

    Is it just me, or does anyone else think that Sun could have sampled opinions from 100 Solaris administrators and used the results to produce this report about two or three years ago? Most obvious is the long section about Java's horrible performance, something that Solaris users have been complaining about for a very long time.

    On the upside, Sun has given Python a real boost with this memo. Perhaps they should switch all their admin tools from Java to PyTK, it would definately be faster than waiting for SMC to start, which takes too long on any Sun box, even the fully-loaded Blade 2000s I use at the office.

  115. yes python is what java should have been.. by codepunk · · Score: 1

    Just as the article states...one only needs to look at python as a vm implementation done right. I am not a perl dude but I would say that perl is a good implementation also, the syntax is ugly but it is efficent..

    --


    Got Code?
  116. Java on Client and Server by perceptionsoft · · Score: 1

    I have been working on a project since 1998 that implementes a "Thick" Java client and uses a J2EE (WebLogic) server implementation on Solaris. As for the client you can check it out for yourself at http://sirtf.caltech.edu/SSC/propkit/spot/
    You can see from the download page that the client runs on 3 platforms (Mac will be available as soon as OS X gets its act together) and does an excellent job of it. As for the server running on Solaris, BEA spent time optimizing the JVM to improve its performance on Solaris. An interesting note: The client JVM is 1.4 and the server JVM is 1.3.1 (with WebLogic mods) and there is a shared code base between the two. We compile all of the code with 1.4 and run it on Solaris with 1.3.1 and have not seen any problems with execution or client/server communication.

    --
    Use the right tool for the problem, not the same to for every problem.
  117. Closed-mindedness by Loundry · · Score: 1

    you can't convince me that Enron et. al. were just a couple of bad apples.

    I can be convinced that the sky is green and grass is blue if you give me sufficient evidence and a valid argument. What you are admitting to here is closed-mindedness.

    Answer me this: how many corporations are there in the United States? Be sure to account for Schedule C, Schedule S, and LLC-type corporations.

    --
    I don't make the rules. I just make fun of them.
    1. Re:Closed-mindedness by elmegil · · Score: 1
      I can be convinced that the sky is green and grass is blue

      Apparently you already have:

      The "HIV==AIDS" hypothesis is the biggest medical fraud in human history. http://www.virusmyth.net/

      I would hardly call the "evidence" sufficient or argued validly.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    2. Re:Closed-mindedness by nfk · · Score: 1

      You are kidding, right? You don't really believe that site. President Mbeki's credibility suffered a huge blow after his statement that AIDS wasn't caused by HIV.

    3. Re:Closed-mindedness by elmegil · · Score: 1

      My apologies, I meant that the site was badly argued, and I believe that HIV definitely is involved in AIDS, most likely as a cause. My presumption was that, being the reference in the sig, you believed it. If that's wrong, I apologize completely.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    4. Re:Closed-mindedness by elmegil · · Score: 1

      My confusion clearly continues. My point was that the person I was responding to was credulous and had no business attacking my reasoning abilities. Since it was their sig, I assumed they believed that site. I don't.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    5. Re:Closed-mindedness by nfk · · Score: 1

      I see. Nevermind, I have signatures in comments turned off so I didn't see his, which was what caused my confusion.

    6. Re:Closed-mindedness by Loundry · · Score: 1

      I would hardly call the "evidence" sufficient or argued validly.

      Yet you fail to indicate which evidence is insufficient and which arguments are invalid. Furthermore, you fail to realize that it is the "HIV==AIDS" camp which has failed to come up with the evidence, not the other way around. It's called, "The burden of proof falls on he who alleges." Show me that HIV has been isolated. Show me how HIV+ children can be born to two HIV- parents. How me how children who have HIV can "mysteriously" become HIV-. Explain to me why the "associated diseases" are different for gay men as than they are for others.

      Every time I argue that "HIV!=AIDS" I get a bowlful of slander. You here argue that I must have abandoned my reason. The fact that you have to dip down into invective (and *everyone* who has argued with me on this topic chooses to do so) shows the immediate weakness of your position.

      --
      I don't make the rules. I just make fun of them.
    7. Re:Closed-mindedness by Loundry · · Score: 1, Troll

      You are kidding, right? You don't really believe that site.

      I believe a lot of what is on that site. Would you like to discuss it with me? Most people seem content to mock and slander me and avoid answering my questions.

      resident Mbeki's credibility suffered a huge blow after his statement that AIDS wasn't caused by HIV.

      Of course it did. Anyone who doubts the gospel, holy truth of "HIV==AIDS" suffers for it. Just like religious dissenters of the past were persecuted by the church for doubting the sacred, holy doctrine.

      Why is AIDS called an "epidemic" when it doesn't follow epidemic patterns?

      Who isolated HIV?

      What is the history of AZT? What are its side effects?

      What is the correlation between amyl nitrate "poppers" and Kaposi's Sarcoma?

      How many times has the list of "associated AIDS diseases" changed since the inceptions of the "HIV==AIDS" hypothesis?

      All of these are valid questions. And every time I ask them, I get attacked for it. It seems that the "HIV==AIDS" camp is afraid of the answers, and rightly so.

      AID$ is an industry, not a disease. Why else would there be such ma$$ive funding with a handful of sufferers?

      --
      I don't make the rules. I just make fun of them.
    8. Re:Closed-mindedness by elmegil · · Score: 1

      And obviously UFO nuts are right because I call them nuts too.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    9. Re:Closed-mindedness by elmegil · · Score: 1

      BTW "you are biased against me, therefore I am right" is a ludicrous logical fallacy, no matter whether the first clause is true or not.

      --
      7 November 2006: The day Americans realized corruption and incompetence weren't addressing 11 September 2001
    10. Re:Closed-mindedness by namespan · · Score: 1

      Why else would there be such ma$$ive funding with a handful of sufferers?

      I think one might be able to get away with the statement that the funding for the disease is disproportionate the number of people suffering, and that there are political or business agendas behind pushing AIDS to the forefront of funded research. Characterizing the number suffering as a "handful" or trivializing their suffering seems wrong, though. Not to mention that diseases that attack the immune system are scary.

      (Then again, filoviruses make them look like the sniffles, and I don't know how well-funded that research is...)

      --
      Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.
    11. Re:Closed-mindedness by Loundry · · Score: 1

      And obviously UFO nuts are right because I call them nuts too.

      First invective, now sarcasm. Furthermore, you fail to realize that it is you, not I, who is in the same camp as the UFO nuts. The burden of proof falls on he who alleges. The UFO nuts allege that there are UFOs. Show me the evidence, and I will believe it. You allege that HIV causes AIDS. Show me the evidence, and I will believe it. The fact that AIDS research is the singlemost well-funded disease research in history despite the fact that AIDS does NOT follow epidimic patterns and affects far less people than some other diseases (which get less money as a function of sufferers) raises suspicion in me. Why doesn't it do so in you? Are you one of the folks on the "HIV==AIDS" payroll?

      Have you looked at the virusmyth web site yet?

      --
      I don't make the rules. I just make fun of them.
    12. Re:Closed-mindedness by Loundry · · Score: 1

      I think one might be able to get away with the statement that the funding for the disease is disproportionate the number of people suffering, and that there are political or business agendas behind pushing AIDS to the forefront of funded research.

      Your choice of language is telling: I'm "getting away" with something, just as some people "get away" with murder.

      Characterizing the number suffering as a "handful" or trivializing their suffering seems wrong, though.

      How does the though of giving toxic "medication" to a person who has an imaginary disease make you feel?

      Not to mention that diseases that attack the immune system are scary.

      This is a subjective statement. Cancer is also "scary," and affects a far greater number of people than does AID$.

      I notice you made no attempts to answer my other questions. Why is that?

      --
      I don't make the rules. I just make fun of them.
    13. Re:Closed-mindedness by Loundry · · Score: 1

      BTW "you are biased against me, therefore I am right" is a ludicrous logical fallacy, no matter whether the first clause is true or not.

      This is a strawman argument. You have chosen to stoop to invective several times in this discussion. If you had a strong position, then you would be able to convince me through showing me your evidence and providing me with a clear argument. Since you have to resort to personal attacks, it immediately makes your position look weak.

      And since we're on the subject of logical fallacies, you've added the strawman to your already growing list of ad hominems. When will you start treating me with respect in this discussion? Just because we happen to disagree is no excuse for you to behave in an uncivil manner.

      --
      I don't make the rules. I just make fun of them.
    14. Re:Closed-mindedness by Nexx · · Score: 1

      Just a quick question. You're alleging that HIV != AIDS. Now, doesn't the burden of proof rest firmly upon your shoulders? (no, I haven't read the site yet).

    15. Re:Closed-mindedness by nfk · · Score: 1

      I don't have much time to discuss it and I'm not a virologist, but I can suggest some reading.

      The Barcelona report, the result of a conference last year. The link "The Report on the Global HIV/AIDS Epidemic" is particularly informative in showing it isn't just a "handful of sufferers". I suggest browsing around theUNAIDS home page too.

      About the HIV/AIDS link, if you have some time and an open mind, I suggest this site's links, this one being particularly useful.

      About your questions, I don't know what you mean by epidemic patterns (I'm not an expert) but I don't think that question is important, if it's just a matter of calling it epidemics or not - there are many people infected and dying, and I've seen it referred as epidemics in many places; AZT is covered thoroughly in the links I gave you; I read somewhere that, although not clinically proven, statistics say amyl nitrate increases the chances of HIV infected people developping Kaposi's syndrome, but I don't know what is your point; diseases that are associated with AIDS are opportunistic diseases that take advantage of the damage to the immune system, I don't see a problem with that list changing.

      Of course, if you don't want to believe, it's pointless. You can come up with a huge conspiracy theory involving thousands of scientists all over the world, and think whatever you want. Those who are affected by the disease deserve treatment though, and everyone deserves information, because denial theories could prompt people to stop being careful about prevention and to be hopeless about treatment.

      That said, science lives off people like you, who are skeptic and don't accept things blindly. Contrary to what you may think, or not, scientists are encouraged to question and go against the establishment, that's very important and science isn't static, but at the end of the day the theory that survives is the one that's supported by the facts. New evidence could come up, and there might be a report tomorrow, saying that HIV doesn't cause AIDS, but based on current evidence, most people strongly believe HIV causes AIDS.

    16. Re:Closed-mindedness by namespan · · Score: 1

      First: Touchy, Touchy. You're seeing a lot in my post that isn't there, and you missed my polite tips of the hat. Now that's telling -- but it's obvious you already have an axe to grind anyway. Advice: try being polite. It'll keep you from being written off as a crackpot who subscribes to a far-out conspiracy theory.

      I didn't answer the one question I cared to address directly because I thought it was ill-formed. Again, I'll grant that there well may be political and monetary agendas behind the AIDS research funding. However, it's a rather extraordinary (and unbelievable) to claim that the number of AIDS sufferers, however, is a "handful" -- even if you don't believe that AIDS is actually caused by HIV. And yes, anyone who let that stand would be letting you "get away" with a rather disingenuous statement, unless you've got some rather extraordinary evidence to support that. So essentially, I responded to your question with a question: what makes you think that there are only a "handful" of aids sufferers?

      I also granted you that the amount of funding AIDS get is disproportionate to the sufferers. My point in saying that "diseases that attack the immune system are scary" was to say that the concept of a virulent pathogen that can directly attack and destroy the immune system is pretty startling, as much or more so than other pathogens that merely overwhelm the system, or chronic lifestyle related diseases. If such a thing exists -- or even _might_ exist -- it's easy to understand why it might be important to put a lot of effort into understanding it. Is it more important than cancer research? Understanding filoviruses like Marburgh and Ebola? Heart disease, which kills many times more than the above? Automobile safety research? I don't know. As simple as it would be to say that funding should be proportional to sufferers, there's other imprecise factors involved, from guessing how a disease may change and effect human populations in the future, or how human populations might change, or how it might be consciously spread by a terrorist actor, rather than naturally spread, and then there's emotional factors. You're more likely to want to fund AIDS, autism, cancer, heart disease, polio, whatever if someone close to you has been touched by it.

      I'd think most people would be open to the idea progressive immune system dysfunction could have roots other than HIV, if you can provide convincing evidence for an alternative theory. But whether or not AIDS=HIV, or HIV is one of many factors causing AIDS, or HIV plays no role at all, immune system dysfunction seems to be pretty real, and characterizing the number of sufferers as a "handful" sure looks like hyperbole at best. And that kind of rhetoric isn't any help in convincing people of your case.

      --
      Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.
    17. Re:Closed-mindedness by Loundry · · Score: 1

      I don't have much time to discuss it and I'm not a virologist, but I can suggest some reading

      I think what you mean to write is, "I don't care to discuss it; I've already made up my mind."

      The Barcelona report [unaids.org], the result of a conference last year. The link "The Report on the Global HIV/AIDS Epidemic" is particularly informative in showing it isn't just a "handful of sufferers". I suggest browsing around theUNAIDS [unaids.org] home page too.

      There are two problems with your suggestions:

      1. You have yet to admit that the *only* theory which receives any funding and credibility is the "HIV==AIDS" theory. Any differing or dissenting opinions are rapidly silenced. Doesn't this sound suspicious to you?

      2. We first have to agree on what the definition of "AIDS" is. I agree that there are conditions that cause the immune system to weaken. Is it possible that some of those conditions have nothing to do with HIV (for example, malnutrition and heavy drug usage)?

      About the HIV/AIDS link, if you have some time and an open mind, I suggest this site's [aegis.com] links, this one [nih.gov] being particularly useful.

      I went to the nih.gov site and I saw problems in the first paragraph:

      "The acquired immunodeficiency syndrome (AIDS) was first recognized in 1981 and has since become a major worldwide pandemic."

      How can AIDS be a "major worldwide pandemic" if it doesn't follow pandemic patterns? Despite the NIH's claim that "everyone is at risk," AIDS cases in the USA alone have not spread beyond the original target groups (gay men and IV drug users). To point out the different AIDS pattern in Africa raises more questions than it answers: why should a virus care what continent a person is on? Will you try to argue that people in Africa are having sex more frequently than people in the USA? My grandmother actually argued this point with, "They [Africans] would fuck anything!"

      Abundant evidence indicates that AIDS is caused by the human immunodeficiency virus (HIV) , which was discovered in 1983.

      What does "discovered" mean here? Does it mean "isolated," as is the usual means of discovering a pathogen? If so, then this web page is incorrect. What evidence do you have that the virus has been successfully isolated?

      I followed one of the links on the web page entitled "The Durban Declaration: HIV Causes AIDS" and found many of the same, old religious language about HIV. It stated that 5,000 important people had signed a declaration that HIV causes AIDS (logical flaws: appeal to authority combined with appeal to numbers). It also stated that "People with AIDS are all infected with HIV" without mentioning the fact that the HIV test does not test for HIV (only antibodies which scientists claim "must react" in the presence of a virus WHICH HAS NOT BEEN ISOLATED), and that the execution of this test is widely flawed.

      So, I'm not impressed with your submissions. Your actions are much like those of someone defending their religious faith: "I don't have time to argue with you. Just go read these tracts that support my point of view."

      I don't know what you mean by epidemic patterns (I'm not an expert) but I don't think that question is important, if it's just a matter of calling it epidemics or not

      Of course it's important. Research funding increases when the perceived threat is greater. My point is that AIDS is an industry, not a disease.

      AZT is covered thoroughly in the links I gave you

      But that doesn't answer my question. What is the history? What are the side effects of AZT? I believe I'm having this discussion with you, not with the links you sent me.

      I read somewhere that, although not clinically proven, statistics say amyl nitrate increases the chances of HIV infected people developping Kaposi's syndrome

      KS only occurs in gay men (who use poppers). Why should a virus care what the host's sexuality is?

      but I don't know what is your point; diseases that are associated with AIDS are opportunistic diseases that take advantage of the damage to the immune system, I don't see a problem with that list changing.

      Of course you don't see my point. You think I'm a crackpot and a loon. You think I'm beneath you. You think I can't form an argument.

      The problem with the list changing is that the list is an integral portion of the definition of the disease. If the list changes, the definition of AIDS changes. What additions and subtractions have been made to the list in recent years, and why?

      Of course, if you don't want to believe, it's pointless.

      "Of course, if your heart is hardened to the Lord then all of this is pointless." Your language is religious language.

      You can come up with a huge conspiracy theory involving thousands of scientists all over the world, and think whatever you want.

      Not all scientists believe in the "HIV==AIDS" theory, but those that don't are ostracized, humiliated, and have their funding cut. It makes sense that there would be a large concensus of scientists who support the "HIV==AIDS" theory. People like getting paid and dislike being shunned.

      Those who are affected by the disease deserve treatment though, and everyone deserves information, because denial theories could prompt people to stop being careful about prevention and to be hopeless about treatment

      Not only are you assuming the point in dispute, but you are spreading FUD and attempting to demonize me.

      That said, science lives off people like you

      And I get a "people like you" comment from you as well! Will there be no end to your crass and rude treatment of me?

      Contrary to what you may think, or not, scientists are encouraged to question and go against the establishment, that's very important and science isn't static

      In theory this is true. In practice it is false. Those who dare question the "HIV==AIDS" hypothesis are treated as badly as you are treating me. Think of how bad it must be if a SCIENTIST dares question the holy truth! Tell me, what has happened to those scientists who dare question? Have you read their stories?

      New evidence could come up, and there might be a report tomorrow, saying that HIV doesn't cause AIDS,

      This evidence has been around since the inception of the Holy Theory. Have you read any of it, or is all written by a bunch of crackpots and loons?

      but based on current evidence, most people strongly believe HIV causes AIDS.

      If what I say is true (that the AIDS industry coupled with government rewards ahdherents and punishes dissidents) then what you claim is flawed.

      --
      I don't make the rules. I just make fun of them.
    18. Re:Closed-mindedness by Loundry · · Score: 0, Offtopic

      Just a quick question. You're alleging that HIV != AIDS. Now, doesn't the burden of proof rest firmly upon your shoulders?

      No. The burden rests on those who originally stated that "HIV==AIDS." I'm not required to disprove it. Otherwise, they could claim that AIDS is caused by sunspots and then say, "The burden of proof falls on YOU because you are claiming that "sunspots!=AIDS." I refuse to blindly accept their assertions even in light of their billions of dollars.

      --
      I don't make the rules. I just make fun of them.
    19. Re:Closed-mindedness by Loundry · · Score: 0, Offtopic

      First: Touchy, Touchy. You're seeing a lot in my post that isn't there,

      Like what, specifically?

      and you missed my polite tips of the hat. Now that's telling

      Let me translate what you've written: "You don't realize that I'm being a lot more gracious to you than you deserve." Did I read you right?

      Advice: try being polite. It'll keep you from being written off as a crackpot who subscribes to a far-out conspiracy theory.

      I apologize, I am talking about something about which I am passionate, and I don't always keep my cool. I will say here that the way I've treated you is much more polite than the way I've been treated for having the audacity to doubt the Sacred Writings.

      I didn't answer the one question I cared to address directly because I thought it was ill-formed.

      In other words, you don't even care to address the other questions. Case closed, end of discussion. Isn't this the very definition of closed-mindedness?

      Again, I'll grant that there well may be political and monetary agendas behind the AIDS research funding. However, it's a rather extraordinary (and unbelievable) to claim that the number of AIDS sufferers, however, is a "handful" -- even if you don't believe that AIDS is actually caused by HIV.

      Why is it extraordinary or unbelievable? We first have to come to an agreement as to what "AIDS" is before the discussion can have any meaning.

      And yes, anyone who let that stand would be letting you "get away" with a rather disingenuous statement, unless you've got some rather extraordinary evidence to support that.

      It is the "HIV==AIDS" supporters who need the evidence, not I. Do you know that there are cases of children being born HIV+ when both of their parents are HIV-? The "HIV==AIDS" hypothesis has a hard time explaining this phenomenon. I do not. Do you know there are HIV+ children whose HIV just magically "goes away" as they get older? The "HIV==AIDS" hypothesis has a hard time explaining this phenomenon. I do not.

      So essentially, I responded to your question with a question: what makes you think that there are only a "handful" of aids sufferers?

      I was speaking in terms of proportions. What is the number of AIDS cases in the USA? Compare that to cases of heart disease and cancer and maybe you'll understand why I used the term "handful," particularly in light of the massive funding that AIDS research receives.

      I also granted you that the amount of funding AIDS get is disproportionate to the sufferers.

      How "disproportionate" is it? Compare it to funding for cancer, Alzheimers, aging, and heart disease.

      My point in saying that "diseases that attack the immune system are scary" was to say that the concept of a virulent pathogen that can directly attack and destroy the immune system is pretty startling, as much or more so than other pathogens that merely overwhelm the system, or chronic lifestyle related diseases.

      This is a subjective statement. A disease that destroys your heart is just as lethal as a disease that destroys your immune system (albeit indirectly).

      Is it more important than cancer research? Understanding filoviruses like Marburgh and Ebola? Heart disease, which kills many times more than the above? Automobile safety research? I don't know.

      You write, "I don't know," but your words indicate that you think it's more important. It's at least more "scary" than those other diseases. I propose that diseases should receive funding based on their affect on human lives, on their costs to our health care system, and on how contagious they are. I'm not trying to oversimplify as much as I'm trying to show that AIDS gets more money that it deserves by almost any account, and that at least looks suspicious.

      You're more likely to want to fund AIDS, autism, cancer, heart disease, polio, whatever if someone close to you has been touched by it.

      I agree -- not that it has anything to do with whether or not HIV causes AIDS, or what the definition of "AIDS" is.

      I'd think most people would be open to the idea progressive immune system dysfunction could have roots other than HIV, if you can provide convincing evidence for an alternative theory.

      The evidence is there. Malnutrition and persistant, heavy drug abuse are both known to weaken the immune system. The side effects of AZT mirror those of AIDS. The problem is not that there are other explanations for AIDS, but instead that the public has had no exposure to any other explanations (the government has been unrelenting with its "HIV==AIDS" propaganda) and that any scientist who deigns doubt the theory is punished for it.

      characterizing the number of sufferers as a "handful" sure looks like hyperbole at best

      I retract the "handful" statement. Can we discuss some of the other issues? The fact that I said it has made you want to criticize me instead of discussing HIV and AIDS, and that doesn't get my position anywhere.

      --
      I don't make the rules. I just make fun of them.
    20. Re:Closed-mindedness by nfk · · Score: 1

      You have yet to admit that the *only* theory which receives any funding and credibility is the "HIV==AIDS" theory. Any differing or dissenting opinions are rapidly silenced.

      They aren't rapidly silenced; they were repeatedly rebutted over the years. Alternative theories of causation. Furthermore, Peter Duesberg and others have extensively argued their case in high-impact scientific magazines (Nature, Science, PNAS...).

      Is it possible that some of those conditions have nothing to do with HIV (for example, malnutrition and heavy drug usage)?

      Yes, there are other conditions that cause the immune system to weaken. "What is unusual and new about AIDS, and requires that we classify it as a new syndrome, is the development of immune deficiency as the result of the loss of CD4 lymphocytes in people who would not normally be expected to develop immune deficiency"

      if it doesn't follow pandemic patterns?

      What are the pandemic patterns you refer to? Some background on your side would be useful too.

      AIDS cases in the USA alone have not spread beyond the original target groups

      HIV has been found in all the risk groups in which AIDS has appeared, but no other common factor is shared by all the risk groups, and no other factor has been shown to be associated with the distinctive depletion of CD4 lymphocytes in the same way. Some have argued that AIDS emerged in different risk groups at similar times because of different risk factors which deplete cellular immunity. According to this argument, it is a coincidence that HIV appeared at the same time in these different risk groups, and a coincidence that the presence or absence of HIV can be matched so closely with the development of AIDS in the different risk groups. However, those who accept the association between HIV and AIDS point out that HIV has failed to spread widely amongst heterosexuals in the developed world due to a lack of pathways for the virus.

      why should a virus care what continent a person is on?

      It doesn't care of course, but cultural differences will naturally cause differences in the epidemics.

      What evidence do you have that the virus has been successfully isolated?

      Recently developed sensitive testing methods, including the polymerase chain reaction (PCR) and improved culture techniques, have enabled researchers to find HIV in patients with AIDS with few exceptions. HIV has been repeatedly isolated from the blood, semen and vaginal secretions of patients with AIDS, findings consistent with the epidemiologic data demonstrating AIDS transmission via sexual activity and contact with infected blood (Bartlett, 1999; Hammer et al. J Clin Microbiol 1993;31:2557; Jackson et al. J Clin Microbiol 1990;28:16).

      HIV test does not test for HIV (only antibodies which scientists claim "must react" in the presence of a virus WHICH HAS NOT BEEN ISOLATED), and that the execution of this test is widely flawed.

      Diagnosis of infection using antibody testing is one of the best-established concepts in medicine. HIV antibody tests exceed the performance of most other infectious disease tests in both sensitivity (the ability of the screening test to give a positive finding when the person tested truly has the disease) and specificity (the ability of the test to give a negative finding when the subjects tested are free of the disease under study). Current HIV antibody tests have sensitivity and specificity in excess of 98% and are therefore extremely reliable (WHO, 1998; Sloand et al. JAMA 1991;266:2861).

      Progress in testing methodology has also enabled detection of viral genetic material, antigens and the virus itself in body fluids and cells. While not widely used for routine testing due to high cost and requirements in laboratory equipment, these direct testing techniques have confirmed the validity of the antibody tests (Jackson et al. J Clin Microbiol 1990;28:16; Busch et al. NEJM 1991;325:1; Silvester et al. J Acquir Immune Defic Syndr Hum Retrovirol 1995;8:411; Urassa et al. J Clin Virol 1999;14:25; Nkengasong et al. AIDS 1999;13:109; Samdal et al. Clin Diagn Virol 1996;7:55.

      Of course it's important. Research funding increases when the perceived threat is greater. My point is that AIDS is an industry, not a disease.

      My point was that it's not important what you call it as long as you acknowledge that a high number of people are affected by this disease. In addition, other factors are important in evaluating the "perceived threat"; for instance, AIDS is a major cause of death among young people, whereas a disease like cancer predominantly affects older people.

      What is the history? What are the side effects of AZT? I believe I'm having this discussion with you, not with the links you sent me.

      The vast majority of people with AIDS never received antiretroviral drugs, including those in developed countries prior to the licensure of AZT in 1987, and people in developing countries today where very few individuals have access to these medications (UNAIDS, 2000).

      As with medications for any serious diseases, antiretroviral drugs can have toxic side effects. However, there is no evidence that antiretroviral drugs cause the severe immunosuppression that typifies AIDS, and abundant evidence that antiretroviral therapy, when used according to established guidelines, can improve the length and quality of life of HIV-infected individuals (Guidelines for the Use of Antiretroviral Agents in HIV-Infected Adults and Adolescents, 2000).

      In the 1980s, clinical trials enrolling patients with AIDS found that AZT given as single-drug therapy conferred a modest (and short-lived) survival advantage compared to placebo. Among HIV-infected patients who had not yet developed AIDS, placebo-controlled trials found that AZT given as single-drug therapy delayed, for a year or two, the onset of AIDS-related illnesses. Significantly, long-term follow-up of these trials did not show a prolonged benefit of AZT, but also never indicated that the drug increased disease progression or mortality. The lack of excess AIDS cases and death in the AZT arms of these placebo-controlled trials effectively counters the argument that AZT causes AIDS (NIAID, 1995).

      Subsequent clinical trials found that patients receiving two-drug combinations had up to 50 percent increases in time to progression to AIDS and in survival when compared to people receiving single-drug therapy. In more recent years, three-drug combination therapies have produced another 50 percent to 80 percent improvements in progression to AIDS and in survival when compared to two-drug regimens in clinical trials (Deeks, Volberding, 1999). Use of potent anti-HIV combination therapies has contributed to dramatic reductions in the incidence of AIDS and AIDS-related deaths in populations where these drugs are widely available, an effect which clearly would not be seen if antiretroviral drugs caused AIDS (Figure 1; CDC. HIV AIDS Surveillance Report 1999;11[2]:1; Palella et al. NEJM 1998;338:853; Mocroft et al. Lancet 1998;352:1725; Mocroft et al. Lancet 2000;356:291; Vittinghoff et al. J Infect Dis 1999;179:717; Detels et al. JAMA 1998;280:1497; de Martino et al. JAMA 2000;284:190; CASCADE Collaboration. Lancet 2000;355:1158; Hogg et al. CMAJ 1999;160:659; Schwarcz et al. Am J Epidemiol 2000;152:178; Kaplan et al. Clin Infect Dis 2000;30:S5; McNaghten et al. AIDS 1999;13:1687).

      KS only occurs in gay men (who use poppers).

      Not true according to what I read, it occurs mostly in men.

      Why should a virus care what the host's sexuality is?

      It doesn't care.

      The distribution of AIDS cases, whether in the United States or elsewhere in the world, invariably mirrors the prevalence of HIV in a population. In the United States, HIV first appeared in populations of homosexual men and injection-drug users, a majority of whom are male. Because HIV is spread primarily through sex or by the exchange of HIV-contaminated needles during injection-drug use, it is not surprising that a majority of U.S. AIDS cases have occurred in men (U.S. Census Bureau, 1999; UNAIDS, 2000).

      Increasingly, however, women in the United States are becoming HIV-infected, usually through the exchange of HIV-contaminated needles or sex with an HIV-infected male. The CDC estimates that 30 percent of new HIV infections in the United States in 1998 were in women. As the number of HIV-infected women has risen, so too has the number of female AIDS patients in the United States. Approximately 23 percent of U.S. adult/adolescent AIDS cases reported to the CDC in 1998 were among women. In 1998, AIDS was the fifth leading cause of death among women aged 25 to 44 in the United States, and the third leading cause of death among African-American women in that age group (NIAID Fact Sheet: HIV/AIDS Statistics).

      In Africa, HIV was first recognized in sexually active heterosexuals, and AIDS cases in Africa have occurred at least as frequently in women as in men. Overall, the worldwide distribution of HIV infection and AIDS between men and women is approximately 1 to 1 (U.S. Census Bureau, 1999; UNAIDS, 2000).

      The problem with the list changing is that the list is an integral portion of the definition of the disease. If the list changes, the definition of AIDS changes. What additions and subtractions have been made to the list in recent years, and why?

      The diseases associated with AIDS, such as PCP and Mycobacterium avium complex (MAC), are not caused by HIV but rather result from the immunosuppression caused by HIV disease. As the immune system of an HIV-infected individual weakens, he or she becomes susceptible to the particular viral, fungal and bacterial infections common in the community. For example, HIV-infected people in certain midwestern and mid-Atlantic regions are much more likely than people in New York City to develop histoplasmosis, which is caused by a fungus. A person in Africa is exposed to different pathogens than is an individual in an American city. Children may be exposed to different infectious agents than adults (AIDS Knowledge Base, 1999a; 1999b).

      Another point needs to be made: I didn't try to demonize you and I didn't treat you badly; you just like to play the victim. I found the "written by a bunch of crackpots and loons" bit particularly funny because you are the only one using those words. You also seem to believe you know what I think, as you state several times when that is obviously false. In the epitome of righteous indignation, you say "And I get a "people like you" comment". That was actually a compliment to your skeptic attitude. It would be nice if you would just take the time to read what it says rather than assuming you're being attacked. I'm looking forward to hear from you again, if you can drop the poor victim attitude and stick to the arguments.



      Cheers

      -nfk-

    21. Re:Closed-mindedness by Loundry · · Score: 0, Offtopic

      They aren't rapidly silenced; they were repeatedly rebutted over the years.

      I agree; I spoke out of turn. Though "dismissed," I think, is more accurate than "rebutted." I visited the link you posted and it contains statements like these: "These drugs do tend to depress all lymphocyte functions, but long-term users who are not HIV-positive show no signs of long-term declines in CD4 lymphocytes in all the comparative studies which have been performed (Schechter)." Well, which studies, and what, specifically do they say? If you read the Phase II AZT trials, then there is some startling revelations about what those "studies" showed.

      Furthermore, Peter Duesberg and others have extensively argued their case in high-impact scientific magazines (Nature, Science, PNAS...).

      Again, you are correct. This does not save them from being demonized. There is a quote which I will have to dig deep to find where a AIDS official basically stated, "If we can just through a few of these HIV deniers in jail then we could stop this movement really quickly."

      Yes, there are other conditions that cause the immune system to weaken. "What is unusual and new about AIDS, and requires that we classify it as a new syndrome, is the development of immune deficiency as the result of the loss of CD4 lymphocytes in people who would not normally be expected to develop immune deficiency"

      So does this mean that we've tested millions of Africans for the loss of CD4 lyphocytes and thus determined that it is AIDS and certainly not the other conditions which are causing their immune systems to weaken? What about the US sufferers of AIDS? The HIV test only tests for "HIV antibodies" and does not measure the level of CD4 lymphocytes.

      What are the pandemic patterns you refer to? Some background on your side would be useful too.

      I'm arguing that for a disease to be epidemic (which I understand as a worldwide epidemic) then it needs to follow certain criteria. The pattern of AIDS differs widely from Africa to USA to the UK. Does it meet the criteria of pandemic? AIDS was called an "epidemic" in the early 80s in the USA and effectively started the AIDS panic. The number of AIDS cases in the USA hardly makes AIDS an "epidemic," but massive funding ensued nonetheless.

      HIV has been found in all the risk groups in which AIDS has appeared

      Again, you are correct. If I may backpedal, the number of AIDS cases outside of "high risk groups" is negligable.

      and no other factor has been shown to be associated with the distinctive depletion of CD4 lymphocytes in the same way

      Again, who's doing the testing for "CD4 lymphocytes"? And who are the subjects?

      According to this argument, it is a coincidence that HIV appeared at the same time in these different risk groups, and a coincidence that the presence or absence of HIV can be matched so closely with the development of AIDS in the different risk groups.

      What HIV? I'm not convinced it exists.

      However, those who accept the association between HIV and AIDS point out that HIV has failed to spread widely amongst heterosexuals in the developed world due to a lack of pathways for the virus.

      Why, because heterosexuals don't have multiple sex partners and don't share needles? That's a weak argument.

      It doesn't care of course, but cultural differences will naturally cause differences in the epidemics.

      Like which cultural differences? People all over the world have sex.

      Recently developed sensitive testing methods, including the polymerase chain reaction (PCR) and improved culture techniques, have enabled researchers to find HIV in patients with AIDS with few exceptions.

      I don't know what a PCR test is, so I can't verify the validity of your claim. I notice that you admit to some exceptions. If these exceptions lead to a false positive, does that mean that the patient will be led to take highly toxic AIDS treatments?

      (Bartlett, 1999; Hammer et al. J Clin Microbiol 1993;31:2557; Jackson et al. J Clin Microbiol 1990;28:16).

      1. Do you have a URL for this study?

      2. Do you know that there is a one thousand pound reward to anyone who can isolate the virus?

      Current HIV antibody tests have sensitivity and specificity in excess of 98% and are therefore extremely reliable

      98% reliability applies to both those who are HIV- and HIV+. What happens to false positives? They are told they have a fatal disease and must take toxic AIDS therapies until they die from them. There is lots of criticism about the HIV test. Have you read it?

      Progress in testing methodology has also enabled detection of viral genetic material, antigens and the virus itself in body fluids and cells.

      Is this referring to "viral load"?

      As with medications for any serious diseases, antiretroviral drugs can have toxic side effects. However, there is no evidence that antiretroviral drugs cause the severe immunosuppression that typifies AIDS, and abundant evidence that antiretroviral therapy, when used according to established guidelines, can improve the length and quality of life of HIV-infected individuals

      I'm glad that you admit to the "toxic side effects" of "antiretroviral drugs" (I believe we were talking about AZT). What are these "toxic side effects," in particular? Isn't one of them "wasting"? Wasn't wasting an alleged side effect of AIDS?

      In the 1980s, clinical trials enrolling patients with AIDS found that AZT given as single-drug therapy conferred a modest (and short-lived) survival advantage compared to placebo.

      John Lauritsen used FOIA to read the FDA research about the AZT trials. You can find them here and here. I really dislike saying, "Just go read this paper," but I really want to hear your take on his findings.

      Not true according to what I read, it occurs mostly in men.

      Be more specific. What are the rates of KS among gay men who use poppers as compared to other men?

      Because HIV is spread primarily through sex or by the exchange of HIV-contaminated needles during injection-drug use, it is not surprising that a majority of U.S. AIDS cases have occurred in men

      What is surprising is that AIDS cases have remained confined to those high-risk groups despite the apocolyptic warnings of the HIV==AIDS industry that "everyone is at risk."

      The CDC estimates that 30 percent of new HIV infections in the United States in 1998 were in women.

      Estimates.

      In Africa, HIV was first recognized in sexually active heterosexuals, and AIDS cases in Africa have occurred at least as frequently in women as in men.

      Why would the patterns in Africa be so different from those in the US?

      The diseases associated with AIDS, such as PCP and Mycobacterium avium complex (MAC), are not caused by HIV but rather result from the immunosuppression caused by HIV disease. As the immune system of an HIV-infected individual weakens, he or she becomes susceptible to the particular viral, fungal and bacterial infections common in the community.

      You didn't answer my question. The question was this: "What additions and subtractions have been made to the list in recent years, and why?"

      I didn't try to demonize you and I didn't treat you badly;

      I disagree.

      you just like to play the victim.

      And this is a demonstration of your high level of respect for me, by essentially calling me a whiner?

      I found the "written by a bunch of crackpots and loons" bit particularly funny because you are the only one using those words.

      Your attempts to indimidate me will fail. The reason I use those words is because that is how I am treated by most everyone when I want to discuss my point of view. No one wants to talk about my points, they would rather mock and insult me. I get the same response when I discuss my skeptical views of Christianity with Christians: mockery and invective.

      You also seem to believe you know what I think, as you state several times when that is obviously false.

      This after you accuse me of playing the victim. How would you know that I was deliberately playing the victim unless you knew what I was thinking? If I've said something that is out of line, please point it out to me and I will retract it.

      In the epitome of righteous indignation, you say "And I get a "people like you" comment". That was actually a compliment to your skeptic attitude.

      I believe you are genuinely pleased by the fact that I am skeptical. I also believe your comment was condescending.

      It would be nice if you would just take the time to read what it says rather than assuming you're being attacked.

      I'm not assuming aything, Mister "you like to play the victim." I don't think you believe I have anything of value to add to this discussion. You find me "funny" (an attempt to humiliate) and here you accuse me of being hasty and presumptuous.

      I'm looking forward to hear from you again, if you can drop the poor victim attitude and stick to the arguments.

      I'll drop anything that is out of line. Will you also drop your condescending and belittling attitude? It won't win any points with me.

      I will add here that your treatment of me, while still disrespectful, is better than that of most people I've debated on this issue. You've pointed out several times in which I've stated things that are inaccurate. Even if our opinions are unchanged after our discussion, I don't think that I will walk away empty-handed.

      --
      I don't make the rules. I just make fun of them.
  118. Corporate politics - forcing improvements by tooley · · Score: 1

    This document appears to come from a group of frustrated Solaris developers in Sun corporate, and "sounds like" it would be used in convincing upper management to put more pressure on "the Java group" to fix items that are real performance killers.

    I think from the sound of it, it should turn heads within Sun and cause the Java to be improved on Solaris.

    As someone else said, this isn't a move to another platform, this is a plea for improvement based on a well-stated set of concise problems.

  119. Won't eat it's own dog Fud? by Anonymous Coward · · Score: 1, Interesting

    I think this is a hoax as well -- it isn't terribly well written, and the author mixes up complaints and example 'failed implementations'. To summarize: there is no silver bullet when programming.

    1) "We believe that our Java implementation is inappropriate for a large number of categories of software application"

    - the categories are never listed.
    - having a server run 500 client applications will obviously chew up memory.

    2) "Bugs against base Java aren't fixed" (paraphrased slightly)

    - all products have maintenance lifecycles and a lot of problems are not worth fixing in a (for example) 1.1.8 VM. This is why you test your application properly before deploying it...

    3) "The support model seems flawed" (Java apps depend on the JRE).

    - Most commercial Java apps will ship their own JRE. Some even ship with a JDK. Software shops with half a brain realize there are going to be incompatibilities and as such pick a VM to work with early on. If they have to switch late in the development cycle it requires significant QA. This isn't rocket science - you'd have the same problems if you depended on some 3rd party library, regardless of language.

    4) "It is impractical for a project based on Java to correct bugs in the Java implementation"

    - true, but it has proven itself stable and effective in many environments. Especially for server development...

    5) Why are the shelves at CompUSA not crammed with ...offerings written in Java?

    - because it's not cost effective to distribute software in stores when most people interested in your product can grab a copy directly from you, the manufacturer.
    - because people don't go to CompUSA to buy an application server or a web application.

    6) "The JRE is very large"
    - it depends on what you're doing with it. No, it doesn't make sense to rewrite binutils in java. If this is your goal, you'd be better off keeping a JavaScript engine in memory, or going with a persistent reuseable VM like what IBM does with CICS. Sorry, I don't think IBM builds one for Sparc at this time...
    - a 64 bit VM will be bigger than a 32 bit VM. It isn't clear which versions are being compared, nor is it clear what applications are doing to generate heap sizes of 900MB. It would be more interesting to compare the ratio of Java heap and process size.

    7) "Imagine what happens if...all 150 users on a SunRay server were running one Java program"

    - imagine poorly architecting a solution and blaming the hardware for your lack of foresight! Should this letter not be a hoax, I have sympathy for the individual -- clearly there are PHBs at work here...

    8) "It is not backward-compatible across minor releases".
    - examples cited were from 1.1 VMs to 1.2, 1.2 to 1.3, and 1.3 to 1.4. These are *not* minor releases. I'm sure there are examples of incompatibility between a 1.3.1_03 and 1.3.1_07 VM, but anyone upgrading or switching VMs for their application should be paying attention to the bugs fixed (see point #3).

    ...sigh... I don't think I've read a more contrived piece of fluff in a while.

    1. Re:Won't eat it's own dog Fud? by khuber · · Score: 1
      It was too accurate for me to think it's contrived. I think it's a legitimate memo.

      -Kevin

  120. WXWINDOWS and SDL make java not really all that. by YokuYakuYoukai · · Score: 1

    the two projects, WXWINDOWS and the SDL both add the functionality to c++ that had me previously using java, and have it be fast. Another big downer for java has always been how it is strictly controlled by one company.

  121. "Even Sun Can't Use Java" - sure by Glock27 · · Score: 2, Insightful
    Comprehension test, folks:

    We do not believe these flaws are inherent in the Java platform but that they relate to difficulties in our Solaris implementation.

    Also, many of the stated problems are slated to be fixed in Java 1.5...we'll see.

    In the meantime, support gcj or the IBM implementations...on other platforms. ;-)

    Another snippet:

    We all agree that the Java language offers many advantages over the alternatives. We would generally prefer to deploy our applications in Java but the implementation provided for Solaris is inadequate to the task of producing supportable and reliable products.

    Don't throw out the baby with the bathwater.

    And of course, now that I read some of the replies, I see it may well be a hoax regardless. Sigh. (Disclaimer: I've never used Java on Solaris, only Linux and Windows.)

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  122. IBM has fixed most of these problems . . . by Anonymous Coward · · Score: 0

    but not on Solaris afaik. Maybe someday IBM will release a Solaris version of its JVM, (which is faster and more stable than the Sun JVM.)

    1. Re:IBM has fixed most of these problems . . . by Anonymous Coward · · Score: 0

      IBM is prevented from releasing a JDK on Solaris by Sun under some contract/liscence or other. Otherwise it would.

  123. gcj not on par with JVMs by 0x0d0a · · Score: 1

    So, something like GNU gcj, which requires recompilation for each target platform, may well be the better choice than Sun's bloated JRE: while you don't get universal byte code deployment, which you don't need, gcj binaries start up much faster and consume less resources, which may be more important on your server.

    Not sure about memory usage, but gcj, despite being a native-code compiler, produces programs that run significantly slower than Java-bytecode programs running in IBM's JVM.

  124. Don't worry... by sterno · · Score: 1

    This memo is clearly indicating that the problem isn't a fundamental flaw in the JVM, but rather a flaw in Sun's development process for the Solaris platform. It sounds like what's happening here is that Sun's Java people, realizing how many more people are using Java on Linux and Windows, aren't putting as much effort into support for Solaris. Since upgrades of Java are released simultaneously accross all platforms, there's no opportunity to make minor bug fixes for OS specific problems.

    My read of this suggests that they have a very simple solution to their problem. Release their iron grip of the product and open source it. They could reduce their internal development costs and people could support patches for the multiple OS versions that are out there. Let anybody develop JVM's, and then they could make money off a certification process. They could develop new versions of the API, hand those to the community, and then certify the implementations when complete. That process would still allow for each implementation to do it's own bug fixes without substantially disturbing the consistentce between JVM's.

    --
    This sig has been temporarily disconnected or is no longer in service
    1. Re:Don't worry... by bwt · · Score: 1, Insightful

      It sounds like what's happening here is that Sun's Java people, realizing how many more people are using Java on Linux and Windows, aren't putting as much effort into support for Solaris.

      Huh!? Which of the following key points of the memo are specific to Solaris, again?
      1. The [Java] support model seems flawed
      2. The JRE is very large
      3. Extensions do not support modularity
      4. [Java] is not backward-compatible across minor releases.

    2. Re:Don't worry... by Maxwell · · Score: 1

      It sounds like what's happening here is that Sun's Java people, realizing how many more people are using Java on Linux and Windows, aren't putting as much effort into support for Solaris.

      Huh!? Which of the following key points of the memo are specific to Solaris, again?
      1. The [Java] support model seems flawed
      2. The JRE is very large
      3. Extensions do not support modularity
      4. [Java] is not backward-compatible across minor releases.


      All of them. The whole point of the memo is to improve the way JAva is developed internally on Solaris. The memo-writers (As it were) want it conform to SUN's own specs for languages, not be 'special'. Apparently the renegade JAVA guys think they are so important they can ignore fix request, etc especially as they pertain to Solaris.

      Read it again, and this time pay attention. It's not just about JAva, but the process of creating java that bothers the authors, and java support on Solaris specifically.

      JON

    3. Re:Don't worry... by hector13 · · Score: 1

      who the hell modded this up? As the parent poster (as well as the article) clearly stated, all 4 points were specific to solaris.

    4. Re:Don't worry... by dan+the+person · · Score: 1

      2. The JRE is very large

      in the article they make comparisons with the same application running on a WinNT JVM to show that it is the solaris JVM in particular which has a largeness problem.

      Using linux i would agree that the windows JVM had a much better footprint.

    5. Re:Don't worry... by Spy+Hunter · · Score: 0
      The JRE is "very large"?

      That's an understatement if I've ever heard one. The thing is fricking GINORMOUS! 9MB for "Hello, World"? 900MB for a UML application?!??!?!

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    6. Re:Don't worry... by dubl-u · · Score: 1

      GINORMOUS! 9MB for "Hello, World"? 900MB for a UML application?!??!?!

      I certainly agree that the Sun JVM is a pig. But TogetherJ isn't just a UML app it's an over-the-top, all-singing, all-dancing IDE, with a ridiculous feature set. So Java doesn't take all the blame for that.

    7. Re:Don't worry... by Spy+Hunter · · Score: 1

      Visual Studio .NET has a lot of features too, but it doesn't take 900MB to run. I'd say a fairly large chunk of the blame has to reside with Java.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
    8. Re:Don't worry... by Fjord · · Score: 1

      There is no way even Together 4 takes 900 MB. I used it at my last two workplaces, and maybe it took 100 M on a midsized project. Maybe. There's something odd about that.

      --
      -no broken link
    9. Re:Don't worry... by spells · · Score: 1

      Used it on Solaris or Windows?

    10. Re:Don't worry... by Fjord · · Score: 1

      Ah I see. It was Windows. nm

      --
      -no broken link
    11. Re:Don't worry... by bwt · · Score: 1

      The article makes those points in the context of Solaris, but I'm making them for all JVM platforms. Nowhere in the article that I can find does the author make positive claims about java on other platforms. He may very well say that the JRE is larger on Solaris than windows, but that does not mean it is a good size on the other platforms.

      For proof, examine Bagley's shootout (use google, he blocks slashdot links). On linux, scored purely on memory use, java was 27th of the 31 languages. On windows (via the winNT port of Bagley's shootout) windows was 38 of 43. Interestingly, java is already being beat by Parrot, but NOT by C#!!. Empirically, claim #2 is true on the other popular JVM's too.

      As for #1, #3, and #4 -- these claims are problems with the language specification and managment as a whole. Neither the java support model, nor the way that extensions are made, nor the backwards-compatibility across minor releases depend in any way on solaris, because they are just as platform independent as java itself is. Please explain how a java extension that is the same on solaris, windows, linux, and mac is a solaris specific problem. That's complete nonsense. The same is true of the other issues.

  125. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0
    Your post is bullshit and you know it.

    PHP's database connection pooling is fairly pointless.. the persistance only lasts as long as a single request.

    Completely false. The connections persist for the life of the server thread. Go RTFM.

    - Java is type checked, so you know when you've made typos/passed in the wrong sort of arguments to a function. PHP will just carry on (sometimes without even giving you an error). This makes your life as a developer much harder as you need to undertake a lot more testing.

    PHP has types, and is optionally type-checked. Use the type-equality operators (exactly like Perl's eq/==). It's a text-processing language, so it interpolates to text by default.

    - Java can be just as quick as a C program as it is able to use run time optimisations etc.

    Prove it. Would this be the same Sun JRE that mmap()s over 1GB for each of its threads on startup?

    - PHP's database api is terrible. To convert from using one database to another all database related function calls need renaming. In Java it is just a case of changing the connection url.

    Sure, if you're an awful programmer. Use the DBI from PEAR, or roll your own. Not all databases have identical functionality; PHP gives you the freedom to use non-portable features, like Postgres' lo_* functions.

    - PHP has no real OO features - it's inheritance structure can only go one level deep

    PHP has n-level inheritance. Try:
    $ php -q
    <?php
    class foo { var $v = 'foo'; }
    class bar extends foo {}
    class baz extends bar {}
    $f = new baz();
    var_dump($f->v);
    ?>
    string(3) "foo"
    Maybe you meant nesting one class definition directly in another. That would have been a valid point; it's addressed in PHP 5.

    - PHP cannot scale as far as Java, as it requires a new process for every additional request ... Java requires a new thread... guess which is quicker to create, and requires less memory?

    PHP runs in the threading model of the web server. Zend is completely thread-safe. Moreover - if you're on any sane OS, the difference between process and thread creation is a small amount of VM overhead to switch the memory map.

    As for the OO/Exception features, they're both in PHP 5 CVS, and I'm using them right now.

    Your post is as bad as its parent. You're an uninformed language bigot who really needs crawl out of the basement and try to get laid. I'd rather have you embarassing yourself in private than out here.
  126. Hmmm... by Pig+Hogger · · Score: 1

    Maybe they should switch to Micosoft's "implementation"...

  127. YHBT. YHLB. HAND. by Anonymous Coward · · Score: 0


    Your post was excellent, but your effort was in response to a blatant troll. Next time, post it on its own.

  128. Is this real? by MagPulse · · Score: 2, Informative

    This is the same site that posted the fake id memo. Is their record besides that one mostly spotless? It seems no one here is doubting whether or not this is real.

  129. never talked to a database in all of those years? by ttfkam · · Score: 1

    Class.forName(/*Database driver class name*/);

    If you haven't done this explicitly, your frameworks certainly have.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
  130. This is pure dis-information pravda-like ! by Anonymous Coward · · Score: 0

    Proof less, mean less, ....

    What is sure is that MS fear Java and try to massivelly FUD the Java platform !

    Sound fun to see misterious contributors pushing such ideas ! Sun using MS stuff .net ? Are you kidding ... what i can assure you is that MS do use Java internally even if is strictly forbidden by internal rules.

    MS knows that Java can at middle-term damage his OS monopolism by providing an intermediale platform they can not control !

    That's the reason they quit the Java project to build the .net clone that they can erect as their good-will wishes to. .net at this time is not such a big success, and if within the next month MS do not stop Java they will have a major trouble ! Because .net could became a FLOP ...

    Time is ticking !

  131. Re:Sun's Internal Argument - cogent point by Anonymous Coward · · Score: 0

    More managaement, process and bureaucracy will not make a better jvm for solaris. Anyone who thinks so is a manager, process bufoon or high priced management concultant. In this case, it is a power hunger process bufoon.

    I have no sympathy for the java team at Sun. Sun always has and always will produce shitty software. The number of open bugs on the java platform is a joke. Personally I have seen thousands of dollars wasted on bugs that have been open for over a year. The refusual of sun to devote resources to fix these bugs is a clear indication the company is broken.

    It is widely known that many java resources left sun and joined IBM a few years ago. Sun is not known for being able to keep good engineers happy. The creator of bitkeeper, verdisoft, nexsi are just a few of the well known examples.

    Sun's inability to produce software can be seen in the failure of iplanet, primitive and buggy tools in the jdk, ant failure of forte for C++ and Java to eclipse.

  132. Not just faster, smaller by mjang · · Score: 1

    Regarding runtime size:

    Hello World written in Java2 requires 9M for this most basic support infrastructure [...] The Python runtime required to execute Hello World is roughly 1.6M.

    Ouch!

  133. The real problems by Animats · · Score: 1
    ... the message we hear routinely from Java engineering is that new features are key and improvements to the foundation are secondary.

    The JRE is significantly larger than comparable runtime environments... For example, on an Ultra10 "Together" requires 5 minutes to load and start.

    That's basically the problem. Sun's Java implementation is buggy, huge, and slow.

    This isn't an inherent problem with the Java language. It's primarily a library problem. Java comes with an immense and growing library, too much of which is loaded for simple programs.

    Java ought to have a small, rock-solid basic library at the bottom, with additional, optional, packages. That's not what they've got. When "Core Java" grew to two volumes, it was clear Sun had lost control.

    Much of the trouble seems to be in the user-interface end. The painful transition to Swing made Java programs bigger and slower. It's no accident that the most successful uses of Java are in the servelet area, where Java's GUI code is not used.

    It's sad. The beginnings of Java looked really good.

  134. Did CmdrTaco even read the memo? by Anonymous Coward · · Score: 0

    I read the memo and its completely different than the Slashdot synopsis.

    Saying "that Java should not be used for Sun's internal projects" is not anywhere in the memo. Apparently the implementation on Solaris is just bad.

    What a drag when the moderators put their own spin on an article discrediting a technology unfairly.

    1. Re:Did CmdrTaco even read the memo? by Queuetue · · Score: 2, Insightful

      A) The comments are cowmix's, not the editors. And certianly not the moderators.

      B) A five-page email detailling how something is inadequate seems to indicate that it should not be used. In fact, the phrase "That our Java implementation is perceived as inappropriate for many uses is supported by internal documents and policies." is pretty indicative that java is not (and hould not) be used for seriou sprojects.

  135. Perhaps you should read the letter b4 posting it. by malachid69 · · Score: 3, Informative

    Quotes from the article that show you didn't read the letter before posting it:

    "these issues are not inherent to Java"

    "We do not believe these flaws are inherent in the Java platform"

    "We all agree that the Java language offers many advantages over the alternatives."

    "The customer must locate that release and install it." That, IMHO, is complete BS. I never keep anything but the most recent version installed, on Windows or Unix. The only issue I have ever seen like this was with JHDL from Brigham Young, which used "assert" that was added as a keyword (due to customer requests) in 1.4 -- and it still works if you tell it to compile as 1.3 (javac command-line option). I personally would not support an outdated version when a version with bug-fixes is available for free.

    "Typical resident set requirements for Java2 programs include: Hello World 9M" Again, BS. I have a TINI board running that only has 8M of memory total, AND I have an old Handspring (8M) that has Sun's JDK and IBM's JDK and Java3D on it.

    "Each of these examples is simple, but they demonstrate the general problem that people cannot program for a particular release of Java and expect that their programs will continue to run." Again, BS. I have been coding Java since IBM released JDK 1.0.2 for Win3.11.... I have never had this problem with ANY code I have written.

    And their overall request? "We strongly recommend that management require Java to conform to the Software Development Framework ".

    If you would have read the letter before posting it, you might have realized that what they were really complaining about was Solaris 7 and 8. They even point out that Solaris 9 is fixed. The pieces of the letter that suggested other languages was specific to the Solaris implementation, as my comments above prove that their statistics are not valid outside of Solaris.

    So, Solaris pre-9 is buggy. Big deal, that has nothing to do with how fit Java is as a language.

    Malachi

    --
    http://www.google.com/profiles/malachid
  136. Java vs Python by Lucas+Membrane · · Score: 2, Interesting
    Years back, when Sun first came out with the java VM, some suggested that Python should either scrap its bytecodes for those of the JVM or at least do something to run as fast as the JVM. Guido, the controlling force behind Python, emphatically replied that because Python was a much more dynamic language than java and allowed many more things to happen at run-time than the JVM could support, Python never could compete and never would try to compete with a fast VM like java's.

    My experience is that java is faster than Python, but that speed almost never matters for me.

  137. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    Don't kid yourself -- PHP and ASP are the same dogshit with a different wrapper.

  138. Moderate by Anonymous Coward · · Score: 0

    This is the first time in the history of Slashdot where I would like to moderate a whole story, Mr. Taco !

    It puts the linked article in a completely wrong perspective. Who says it is not a hoax ? and it has only to do with the Solaris implementation!

    Better read things more accurately to avoid incorrect stories on /. !

  139. Can someone explain "The Java allure" to me? by Queuetue · · Score: 1, Insightful

    I'm one of those people that hasn't bought into the hype yet... Someone try to sell me.

    I've disliked Java since I first met it. What's the attraction, beyond the billions that Sun has poured into marketing it?

    I've been called in as a consultant on three different jobs in the last year that wanted to know if I could impliment a project in java. I said "Sure, but why?", and every time, they stared at me like I was swearing in church. But no one could explain why. And they all took hours to convince that a C implementation was going to be faster, cheaper to develop, and use less resources, both development and runtime.

    Slow, with heavy-handed controls on the reference implementation, non-native binaries, and sub standard culture-enforced methods of doing everything from builds to deployment... What's the draw?

    1. Re:Can someone explain "The Java allure" to me? by Anonymous Coward · · Score: 0

      C is more difficult to program in and is harder to debug than Java. Most programmers are bad at what they do. This is why most programmers prefer Java.

    2. Re:Can someone explain "The Java allure" to me? by clard11 · · Score: 2, Interesting

      On the server side it's because companies like the idea of component based development, where they can employ programmers to concentrate on building good reusable application level components, but get the benefit of transactional support that the J2EE containers provide.
      The thing is, CORBA is tricky for remote objects, whereas J2EE has provided a whole eco system in short timeescale to do this stuff - right from IDEs through to the J2EE servers themselves. And the best bit for the real world is that there is a high degree of OS and Architecture independance. Not total I'd agree, but enough to make people who were once locked into SNA networking etc. a lot happier about the future.

      --
      catch (ModDownException mde) {post.modUp("Interesting")}
    3. Re:Can someone explain "The Java allure" to me? by jjohnson · · Score: 2, Insightful

      Slow...

      For the last couple years, Java has been more than fast enough, if you know what you're doing. The clunky performance of the JVM is a thing of the past, and programmer skill is what matters now.

      heavy-handed controls on the reference implementation

      That's the point: there's a much clearer path for a programmer to follow. If you're not reinventing the wheel, the path is much better marked than it is for a C/C++ coder.

      sub standard culture-enforced methods of doing everything from builds to deployment

      "Sub standard" is your opinion, but again, that's the point: it's a much more restrictive environment that limits what can go wrong. With garbage-collection, you don't have fine-grained control over the memory lifespan of your structures, but you get automatic memory management. That's a tradeoff people are willing to make when the circumstances warrant/allow. Java vs. C/C++ is all about the tradeoffs you want/are willing to make.

      ...cheaper to develop...

      This depends on the coder's skill and experience. Java can be a much faster development platform. C development is as fast only when the development environment has been restricted in the same way by choice of libraries/code style, etc.

      --
      Anyone who loves or hates any language, platform, or manufacturer, doesn't know what they're talking about.
  140. Article proves Sun should have spun off JavaSoft by cdthompso1 · · Score: 3, Interesting

    I've long believed that Sun, a hardware company, should have taken their Java team and spun it off completely as JavaSoft Inc., as was contemplated in the mid 90s. The consulting and development teams would have one objective: furthering the Java platform. Doing so would have made this memo, if it is legit, a non-issue from a PR perspective. JavaSoft probably would have made the same decision on where to focus their efforts: on making the Win32 JVM implementation the best, and supporting other OSes secondarily. That's what this memo is about: pissed off Solaris admins who are tired of sitting in the back of the bus when it comes to Java. Before the advent of the web applications as the platform of choice for developing new applicattion, and even since, Win32 is where the money is because of the wide install base. (I won't go into whether monopolistic forces caused it; for a software company, you just have to accept this as the current lay of the land.) Obvioiusly the Win32 JVMs get the most development resources, and rightfully so (with Linux probably a close second, thanks to IBM, who wrote their own JVM). Unfortunately, Sun didn't do the spinoff completely, and now people want to see this as a "rift from within" and "Sun not eating its own dog food." I want to reiterate the point that others have made, because some of the early posters missed it: the problem highlighted in this article is with the specific JVM implementation for the Solaris OS. It is not about the failings of Java as a language, J2EE as a specification, nor interpreted vs. compiled applications. Java will be around for a long time to come, particularly in large environments, as evidenced by most major application vendors supporting it (Oracle, Siebel, SAP, PeopleSoft, JD Edwards, etc.) and by the fact that most academic programs are switching to it. In fact, this year for the first time, the high school AP test for programming will be in Java, not C++. It is here to stay because it is a decent enough OO language.

  141. ROTFL by Fefe · · Score: 1
    Excuse me? Scripting languages don't have memory management?! What the hell are you smoking, man?

    By the way, python is legendary for it's bad performance, only Tcl has an even worse reputation. If Java really is outperformed by python, that would be a reason to kill the whole project and shoot the guilty party.

    About memory footprint: here is the memory footprint of tcc, which is a tiny C compiler for x86, so you might call it an x86 JIT for C. tcc can also be used to create object files and link them to binaries if you want, so in that respect it actually does more than that Java JRE. It does not have garbage collection or a security manager, but it can do bounds checking.
    leitner 6884 0.0 0.1 624 544 pts/0 S 19:21 0:00 ./tcc ../sleep.c
    This includes a C parser, a code generator, and a JIT. And it's still just over 600k for a hello world style program.

    Also, just because Sun chooses to redefine "minor version" in their newspeak, that does not become the new meaning of the term in English.

    Java is a toy language, and always has been. It is a shame to see so much good talent being wasted on in at universities and colleges all over the world. Other languages are also toy languages, but at least they aren't so pretentious.
    1. Re:ROTFL by dmelomed · · Score: 1

      Of course Erlang isn't a toy language, and also has a bytecode VM, distribution, built-in massive concurrency (instead of the bolted-on concurrency), and fault tolerance features with a much smaller footprint than Java VM.

    2. Re:ROTFL by beowulf_26 · · Score: 1

      Out of curiosity, what languages do you consider NOT to be toy languages. Or if you have time for the long answer, what makes a language a toy language in your opinion?

      --

      --I hate big sigs.
  142. Re:Kiss and say goodbye to Java language!! by yadayadayada · · Score: 1

    Comparing the two is a crazy as saying Mozilla is far better than Linux.

    But it *is*!

  143. Re:Perhaps you should read the letter b4 posting i by Queuetue · · Score: 2, Interesting
    Large footprint of applications when run on Solaris. A simple application ("hello world" type) has a total footprint of 35-40 megs on Solaris 9 (build 48, using Java 1.4 build 82) on both Intel and Sparc machines. Sparc machines, by far, have a much higher resident footprint then Intel machines (~30 megs, compared to ~11 megs). The same program run on a Windows machine has a footprint of ~5 megs, resident footprint being ~3.5 megs


    Hrm. Looks like Solaris 9 still needs a little work. At least we can see that the PC implementations can get those pesky "hello, world" programs into something more reasonable - like only 5 megs of RAM...

    But it's certainly not the language, nor the design, concepts, nor intent behind it... It must be the implementation. Heck, I'm sure any day now, there will be a JVM that runs even faster, even lighter than native code. Any day now...
  144. Looks like bullshit by flacco · · Score: 1, Interesting
    This memo looks like bullshit to me.

    Not that it doesn't contain a lot of truth - I just think it's a fake.

    --
    pr0n - keeping monitor glass spotless since 1981.
    1. Re:Looks like bullshit by Anonymous Coward · · Score: 0

      On what grounds exactly? Faith? Looks pretty legit to me.

    2. Re:Looks like bullshit by Anonymous Coward · · Score: 0

      You sound like a dickhead to me.

      Not that there's something wrong with you or anything - I just think you're a dickhead.

    3. Re:Looks like bullshit by flacco · · Score: 1

      I'm pretty sure I don't care. I'll get back to you on that.

      --
      pr0n - keeping monitor glass spotless since 1981.
  145. Re:Perhaps you should read the letter b4 posting i by StuffYourReligion · · Score: 1, Offtopic
    Ha, I'd say you didn't read the article very well yourself!

    Their primary concerns may be about Solaris 7 or 8, but they certainly have more fundamental concerns regarding Java. For example, about modules:
    Examples include modules that used to be called Swing, RTI, IDL, JSSE and JAAS. These are all good things that should be part of Java. Our concern is that these are not separable modules which can evolve as requirements change.

    I am tempted to quote the rest of item #3 of "Defining the Java Problem" for you here, but that would merely annoy those who have actually read the article rather than skimming it. These are not Solaris-only issues, are they?

    Their fundamental reasoning for writing this memo may have been concerns with the Solaris implementation of Java, but I think they raise some very good points w.r.t. Java in general, and whether or not you wish to debate virtue of their complaints, statements such as "The Java system for evolving the interface (deprecation) does not serve production software very well" clearly are not Solaris-only issues.

    It would seem to me that they talk mostly about Solaris because they are Sun employees primarily concerned with the success of Sun and its Solaris platform. That makes sense. Clearly they also suggest that the Solaris JVMs in particular have had inexcusable problems and a lack of support and responsible managment, but your statement that "what they were really complaining about was Solaris 7 and 8" is a rather broad generalization, wouldn't you say?

    As I have been programming primarily in C for the last year, I have not struggled much with the idiosyncracies of Java for a while. Don't get me wrong. I love Java. But I think this article raises some really good issues, and honestly, makes me worry about the fate of Java when its creator can't even make it an acceptable language platform for their own internal application development.
    --
    I have no special gift, I am only passionately curious. --Albert Einstein
  146. Just the facts by Anonymous Coward · · Score: 0

    oJava is used in more than half of all development projects. Python does not register on the scales. It's a true scripting language and not meant for real world heavy-duty applications. You won't see it running the company apps anytime soon. Most people like it because it us fast to develop with - fast dev does not equal fast execution, stability, or capacity.

    As to a 9M hello world in java... In M$ C#/C++ there are tens of megabytes taken up by the dlls and other junk running in the OS. The 9M in java is actually a much smaller footprint.
    As to speed, Java is kick butt fast. Those that think it is slow, do not run bench marks. I have been writing Java almost eight years - would I if it were slow or buggy? I have seen a lot of slow Java! Mostly from programmers that don't use their brains. The number one problem is heavy use of Vector and Hashtable. A simple switch to ArrayList and HashMap will fix part of the problem. Removing them where they are not needed is the real key.
    As to GUI speed and bugs, this is mainly caused by IDE tool. Semantic and Borland are the worst! Ninety percent of the problem is all the useless and replicated init code. In a couple hours I can make any IDE generated code run 20 times faster.

    M$ would do anything to discredit Java. The question is, are you too lazy a developer. If you can't write good code in any language, it is time for you to see programming as a hobby and not something that it is worth paying you for
    .

  147. CompUSA, what year are you in? by Anonymous Coward · · Score: 0

    The least clever bit is the part which asks why the retail channel (198x) hasn't yet been saturated with java titles and then goes on to say that because of solaris, java is mostly known as a web language.

  148. The D Programming Language by Anonymous Coward · · Score: 0

    Time to switch to the D Programming Language, from Digital Mars which doesn't suffer from any of these problems.

  149. Isn't it Ironic by wayward_son · · Score: 1

    Isn't it ironic that this article on Slashdot is followed by an ad for .NET?

  150. Much like Microsoft... by Papatoast · · Score: 0

    who wouldn't dream of deploying any software with their own VB Package and Deployment Wizard.

    --
    We were somewhere around Barstow on the edge of the desert when the drugs began to take hold. - HST
  151. Didn't say when by mgkimsal2 · · Score: 1

    Clue: people were touting that Java was great for this sort of stuff 5 years ago.

    Clue: at one point in time a 366mhz with 96 meg of RAM was a good machine for pretty much everything else in vogue *except* building GUI stuff with Java.

    Clue: I'm running some Java apps on an 800mhz machine with 384meg. They're slow to start up, and slow to run. Slow under Linux with Sun JVM, slow under Windows with various JVMs. Slow with 1.3, and slow with 1.4. In comparison to *any* native programs (anything under Gnome, KDE or Windows) they're just slower. And it's often suprisingly slow when trying to run server-side stuff too.

    Maybe I should just get a clue and just go get a 2ghz processor and a gig of RAM, right? It's so cheap, right? Then when Sun releases the next version of Java, I'll just upgrade my hardware again to take advantage of all the great enhancements (read: 'bug fixes' and 'new bugs'). Excellent idea!

    It's rarely mentioned, but Sun is a HARDWARE company. What incentive do they have to make stuff optimized to run more efficiently on existing hardware? *NONE*

    1. Re:Didn't say when by Anonymous Coward · · Score: 0

      "Professional PHP training [tapinternet.com]"

      Now that just says it all. Some sucker whining about stuff being blind enough not to see the total suckiness and slowness on the platform he's plugging. Knock knock, wake up, any Java stuff is lightyears faster than PHP, as shown by any benchmark!

    2. Re:Didn't say when by Anonymous Coward · · Score: 0

      Indeed. That's just ridiculously funny.

      I actually like PHP, but the spectacle of someone whining about Java being "slow" while making his living off PHP is just hilarious.

    3. Re:Didn't say when by Anonymous Coward · · Score: 0

      I remember people saying the same things about C++, and before that, C, and I've also heard that they said the same things about FORTRAN.

      Technology marches on, and yesterday's "too slow" is tomorrow's standard.

      800 MHz with 384 MB is old technology. As I pointed out before, you can beat that by spending less than $300.

      Maybe you SHOULD get a 2 GHz machine. If you want to be taken seriously as a developer, that is.

    4. Re:Didn't say when by mgkimsal2 · · Score: 1

      For developing GUI stuff, perhaps. For most other developing, a 'mid-level' machine is more than adequate. As I stated before, this particular machine runs *everything* else fine except for Java stuff, which is *dog slow*. That seems to point to Java being crap, not the hardware. When the rest of the development tools and end-user apps start to feel slow, we'll upgrade machines, but I'm not upgrading machines *just* to run the few Java apps out there worth running (and believe me, there aren't that many).

    5. Re:Didn't say when by mgkimsal2 · · Score: 1

      Faster at what? We primarily develop web-based applications. *Most* benchmarking we've done shows that for the majority of the type of work we do, PHP is either slightly faster or much faster. We tend to go back and try Java stuff every 9-12 months to see the state of things. One of the developers here is fluent in Java, but we can't bother justifying the expense of ramping up to more expensive hardware, or having clients get more expensive hardware, to get the same performance that PHP gives automatically.

      We do PHP training courses - and about 20% of the students are coming from a Java background. Their companies are sending them because they're looking for ways to cut development time and get more performance out of systems. PHP, in many cases, can provide that, and companies are (slowly) learning that.

      This whole article was about an internal memo about Java's weaknesses. PHP certainly has some, but for many people, the issues with Java are worse than the issues surrounding PHP.

      PHP can be written crap, and can be written well. We teach people how to avoid the crap aspect of PHP (intermingling of HTML/code, etc) and focus on the good bits (of which there are many).

      PHP isn't always the best choice, but Java *certainly* isn't the best choice in a number of situations. This memo only goes to prove that Sun (or parts of it) aren't all that interested in making it the best it can be.

    6. Re:Didn't say when by bovinewasteproduct · · Score: 1

      PHP good at the enterprise? Pull the other one.

      The one time I tried to write an enterprise (ok, only 3 machines excluding DB server), I ran into everything from a decent lack of modularity (how about decent libraries with no GLOBALS?); Cron job? Use lynx to hit a webpage (yes there is a cli version now...); bad interactions between code segments (trying to use DBM files and PostgreSQL at the same time) and decent JIT tech.

      Sure, for small sites I use Perl (either standalone or mod_perl), but was it gets bigger I head to Java.

      For a real challenge write me a desktop app in PHP that will run unedited on Unix and MS... I can do it both in Java and Perl (and have done so).

      BWP

    7. Re:Didn't say when by mgkimsal2 · · Score: 1

      I didn't say anything about PHP being 'good in the enterprise'. For web-based apps (in or outside of an 'enterprise'-level arena) I do think PHP is fine. Having done *large* commerce apps (7 figures/day) which needed to integrate with multiple data sources , PHP fit the bill quite nicely. Is it perfect for every application? No. Desktop apps? Possibly PHP-GTK will make headway in this area with the arrival of PHP5 (Q3 2003 I think) but it's not there yet.

      bad interactions between code segments (trying to use DBM files and PostgreSQL at the same time)

      We routinely use multiple datasources (DBM, MySQL, MSSQL, etc) simultaneously. It takes pretty much no effort at all to do such things - I'm not sure why that particular area caused you problems.

      There's been a 'CLI' version for at least 3 years that I know of - just put #!/usr/bin/php at the top of a script.

      (how about decent libraries with no GLOBALS?);
      I used to wish there were more, so we wrote our own, and supply them in LogiCreate, our PHP Application Server. It's a commercial product at the moment ($$$) so most people don't know of it, but the clients we have are far more productive than they used to be in PHP, and don't use GLOBALS. :)

      This whole thread was started re: Java's problems. Your desktop app will most likey run into some problems when the next Java comes out because Sun is more interested in new features than stability and BC - that's the point of the internal memo (whether or not it's legit is a different matter).

    8. Re:Didn't say when by Fjord · · Score: 1

      Clue: in 1996, there was a Java applet that would play Quake maps on a 200Mhz Pentium Pro just fine (and reportedly lesser machines, but that's what I had).

      Clue: I've both written and used Java apps that don't have the speed problems you're talking about (dunno about memory, never really checked). Check out DbVisualizer for an example.

      Maybe it is the programming. I've been brought on to a few server side projects that I've have to refactor extensively to get it such that performance was good. I can only imagine what happens in most client side apps.

      --
      -no broken link
    9. Re:Didn't say when by Fjord · · Score: 1

      BEing fluent in Java isn't the same as having a good understanding of J2EE. Distributed processing, asynchronous processing, security across tiers, transaction management. These are things J2EE handle for you in a reasonably simple way. Then there are 3rd party tools that bring things like legacy integration, load balancing, and a bunch of stuff businesses seem to want. Future enhancements like session and message beans as web services will bring more business value at little cost to the developers.

      Yeah, it's arguably faster to write a page that selects an article out of a MySQL db using PHP over JSP, but that's not what enterprise web applications are about.

      --
      -no broken link
    10. Re:Didn't say when by bovinewasteproduct · · Score: 1

      The DBM/PostgreSQL interaction was a nasty variable suicide from the looks, if I opened a dbm file, the PostgreSQL handle would die. Reported the bug and stopped using PHP...
      If you've ever looked at the PHP source code (this was 2 years ago, it might be better now), then you know what I went through when I tried to find the bug myself... Arrrggghhh It's not quite as bad as the Sun Java VM code, but then again I've never seen anything else like the VM code...

      PHP is fine for what it was intended for, but I think trying to bring it out of the web server is not going to work too well...:)

      I'll stick with Perl/C++/Java for my stuff.

      BWP

    11. Re:Didn't say when by mgkimsal2 · · Score: 1

      And I wasn't using 'selecting an article out of MySQL' as the benchmark, either.

    12. Re:Didn't say when by Fjord · · Score: 1

      Then what are you using as a benchmark

      --
      -no broken link
  152. More fuel for the raging flame by Valen+Faerlwynd · · Score: 0, Flamebait

    Well, this is certainly more fuel for the long-standing argument "Why I Hate Java".

    Unfortunately, it's part of the curriculum at my college. Let's not even get into the fact that they change textbooks every semester because the current one isn't "adequate" enough.

    Love and Peace,
    Valen

    --
    "The best compliment a girl ever gave me was 'Your hair smells nice.' I hate being the platonic friend." -Valen
  153. THERE IS NO JULIAN S. TAYLOR @ SUN!!! by Jonboy+X · · Score: 2, Informative

    Yeah, it's a fake. I work at Sun, and a quick LDAP search lets us know that Sun doesn't employ a Julian S. Taylor. Geez, I wish f'dcompany.com would check this stuff out before they post it. Actually, I wish /. would check this stuff out first...
    -Jon

    --

    "In a 32-bit world, you're a 2-bit user. You've got your own newsgroup, alt.total.loser." -Weird Al
    1. Re:THERE IS NO JULIAN S. TAYLOR @ SUN!!! by Queuetue · · Score: 4, Informative

      Really? Then who is Julian.Taylor@central.sun.com?

      I found Julian here and here .

    2. Re:THERE IS NO JULIAN S. TAYLOR @ SUN!!! by Anonymous Coward · · Score: 0

      Hmmm, maybe Sun should update their directory services to Active Directory.

    3. Re:THERE IS NO JULIAN S. TAYLOR @ SUN!!! by brokeninside · · Score: 1

      Did you notice that the most recent of those was datestamped in the year 2000? Julian Taylor may very well have worked for Sun in the past and yet not currently be employed by Sun.

    4. Re:THERE IS NO JULIAN S. TAYLOR @ SUN!!! by Jonboy+X · · Score: 3, Informative

      Yeah, see, the more recent of those 2 references is 2 1/2 years old. Sun's LDAP is pretty up-to-date, so I trust it. Maybe he used to work at Sun, but he doesn't any more. In the past 2 years, there's been a lot of that going around at Sun...

      --

      "In a 32-bit world, you're a 2-bit user. You've got your own newsgroup, alt.total.loser." -Weird Al
  154. HOAX by Anonymous Coward · · Score: 0

    believe me, this is aa great hoax, hahahahaha :)
    Sun uses java for more things that it should.

  155. Psyco, not Pysco, and no psyco package in debian by jdgeorge · · Score: 2, Informative

    The typo in the parent post confused me at first (spelled correctly the first time, wrong the second). Furthermore, there does not appear to be a psyco package in Debian.

    To clarify:
    psyco is the name of the Python specializing compiler. The Psyco project homepage is:
    http://sourceforge.net/projects/psyco/

    pysco, on the other hand, is a group of python modules for composing music. More information about pysco is available here:
    http://www.slinkp.com/code/#pysco

    I could not find a package for either of these in Debian.

  156. Java FUD by Dragonshed · · Score: 4, Insightful

    This article is a giant vat of uninformed bullshit.

    I won't address Java 1.4x points because in general, java 1.4 sucks. (Handicapped threads, new io architecture forced on installed base, inept standard regex and logging facilities, bah)

    Java on store shelves: The fast majority of companies use java to model internal business processes and integrate them into systems. Java is extremely useful for this because programmers don't have to worry about hardware. This is not the kind of software you shrinkwrap.

    TogetherJ/TogetherSoft: The installer asks you if you want to install a JDK with the product, or use a separately installed one. It also will tell you if your installed JDK is sufficient.

    Python: Python source is compiled into bytecode upon first interpreting. It has it's own VM, also mutable from native code. There are quite a number of differences between python and java, but your comparison is uninformed.

    Java Minor releases: The differences between 1.2 and 1.3 is quite large. These are not minor releases, despite sun's versioning scheme.

    JNI Stability: JNI isn't easy to produce correctly. But it's stability is a responsibility of the programmer. C programmers don't blame the OS when a program segfaults.

    I guarantee had this article been about perl's deficiencies, it would've been scrutinized with a scope large enough to see Venus, and wouldn't have made it passed submission.

  157. Well this explains a lot by Anonymous Coward · · Score: 0

    no WONDER Sun wants so desperately to force Microsoft to ship their version of Java.

  158. Lies all lies by M$ by Anonymous Coward · · Score: 0

    this ia hoax and all lies by M$

  159. .Net is written in VB 6 by Anonymous Coward · · Score: 0

    Microsoft just announced that .Net server is written in VB 6 and CLR is written in VB 6 ...horray.

  160. Process by Zebra_X · · Score: 1

    It's surprising that a company that has such skills with distributing a mission critical, highly available OS (Solaris) doesn't enforce the same practices across the development of something as complex as the JVM.

    1. Re:Process by Rick+BigNail · · Score: 1

      It's more amazing that now java (jvm) on linux is now better than solaris.

      I guess Java isn't helping making money for Sun, i.e. selling more hardawre, compare with Solaris, thus less QA to lower the cost.

  161. Pud is not trustworthy by stefanlasiewski · · Score: 1

    Pud has a good reputation.

    Good? Pud has a very seedy reputation. He's a slimy opportunist who provides a useful service. He runs a rumor site where bitter workers vent their anger. Take everything you read with a big grain of salt.

    But regardless, the trust of Pud has nothing to do with this. Is he a Java expert? No.

    Is he an expert on internal Sun politics? No.

    He just runs a website: People post things to his website, and if he likes them, he will post them to internalmemos.com or fuckedcompany.com or some other related site.

    It'a rumor mill.

    --
    "Can of worms? The can is open... the worms are everywhere."
  162. SUN's Plan by jjeff · · Score: 1

    1. Release false memo.
    2. Wait for it to be discussed on /. - to find out developers thoughts on the JRE.
    3. ???
    4. PROFIT!!

    --
    when everything is working perfectly.. BREAK SOMETHING before something else FUCKS up!
  163. Bill Gates Meeting from last Friday by Anonymous Coward · · Score: 0

    Bill Gates : Well our petstore bench mark stuff in the ServerSide.com back fired so lets do this publish a hoax memo from SUN and send to slash dot all lies about Java. ehehehe (I am so smart)

    By the way .Not acceptance is zero in market ..did you all use VB6 on .Net server too....

    1. Re:Bill Gates Meeting from last Friday by PsiComa · · Score: 1

      kudos

  164. PARENT POST IS A TROLL by Anonymous Coward · · Score: 0

    PARENT POST IS A TROLL

    1. Re:PARENT POST IS A TROLL by Anonymous Coward · · Score: 0

      An escaped troll drank my Java and stole my Python. *crys*

  165. SELECT FROM posts WHERE type='GOOD TROLL' by Anonymous Coward · · Score: 0

    1 result returned.

  166. one question by Anonymous Coward · · Score: 0

    what good stuff have you been smoking?

  167. Re:Kiss and say goodbye to Java language!! by Ayanami+Rei · · Score: 1

    so only a fool or a masochist would use it for simple text manipulation tasks (ever written a CGI script in C?)

    Yes, I have. And surprisingly, it's not half bad.

    libcgi and glib make things much easier than you would expect.

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  168. java solution: jvm should be persistant by ozten · · Score: 1

    Regardless of the authentisity of this document, I have been thinking alot about the startup time of java.exe. I use ant, javac, tomcat, etc all day and it kills me that ant takes 20 secods for a 600 millisecond task. The heavy lifting involved with creating the jvm and tearing it down kills me. java (the executable) should be written in platform dependent ASM or C code. It should run as a service at startup and fork jvms as necissary. A persistant reusable jvm would make ant (and other small utility apps than start and stop frequently) fly. Why has work on a shared jvm like JOS and Echidna not flurished? Always on JVM discussion

  169. Sun: please stop the Java madness! by Paul+Boven · · Score: 3, Interesting

    I use and admin Solaris systems every day, at work and at home, and in itself it's a great product. But its biggest problem is Java. More and more stuff is being java-ised, resulting in absolutely horrid performance.
    Examples: the SunScreen 3.2 commandline. Takes ages to load or do anything, especially viewing your firewall logs. Sun Managment Center: It does not perform. It becomes completely laughable when you try to display the screen on another Xserver. This is how Sun was demo-ing it at Lisa2001, and although the lead developers over there agreed that it didn't perform, they blamed this on Swing but had this scary religious fervor when it came to doing things in Java.
    The new patch-managment tools from Sun? Nice idea, very flawed implementation. Sloooooow, and so buggy that we ditched it, prefering to keep our Suns up to date by hand.
    Java installers are another fun item. Sun has a very nice packaging system, which makes it possible to jumpstart machines with identical software configurations etc. But more and more software becomes 'java installed'. It does not add any functionality apart from a badly drawn gui, but it breaks all the convenience of having one standard packaging tool for the os.
    Please stop this madness.

  170. Java Sucks by Anonymous Coward · · Score: 0

    Duh.

    1. Re:Java sucks by Queuetue · · Score: 1

      I guess the question is: How productive is the organization around you?

      OO techniques and code reuse don't just help the developer - they help the team he works with, and the people who come behind him, the documentation team, testers, support personnel, the release group, planning engineers, management, other product groups, and so on.

      Are they all twice as productive with you around, or were you just measuring SLOC and or 'features in the can'? (Both are pretty useless measures of software productivity...)

      Or maybe you maintain millions of lines of code all by yourself?

      On the other hand, I agree with you on one point. Java sucks.

    2. Re:Java sucks by tobe · · Score: 1

      And maybe you've never really worked in a real software house...

      Number of times I've seen genuine, useful code reuse past the obvious stuff covered by STL I can count on the fingers of one person.. mostly it's just some idiot with a NIH attitude wanting to do it all himself and generally getting it functionally right but with a usability/obvious interface factor down in the low numbers.. number of times I've seen that happen is just untrue and I've been a pro now for 10 years...

      I'm with the OO sucks guy for the most part.. I've never been anything but an OO type of guy but these days I\ve learnt not to waste too much time trying to make a non-OO problem fit into an OO pattern.. or to design an elegant class library for that'll never get re-used..

      The world needs more pragmatic programmers and less people who think cause you have to be bright to do it you get to sit in some ivory goddamn reclining chair acheiving very little.. managers are not the problem... it's the vast amount of useless coders out there...

      The best are productive.. the best use python..

  171. Not exactly the best choice... by rmdyer · · Score: 1

    The server is exactly the place you DONT want to use a language like Java. On the server you need to handle very large numbers of connections with exceptional processing speed.

    Although Java -is- used on servers for a majority of application service provider services, in my humble opinion, it shouldn't be. For server applications only very fast and efficient languages should be used.

    I find it contradictory that there was such a rivalry in early speed comarisons between MS IIS and Apache, then people turn around and use Java?

    And, why do you need a cross platform language for a server? Again, use a faster language.

    +2 cents contributed.

    1. Re:Not exactly the best choice... by g4dget · · Score: 1
      For server applications only very fast and efficient languages should be used.

      There are plenty of things wrong with Java, but lack of speed isn't one of them. Well-written Java code is almost always within a factor of 2 of C/C++, often actually comparable in speed to C/C++.

      I find it contradictory that there was such a rivalry in early speed comarisons between MS IIS and Apache,

      Bother servers are orders of magnitude faster than they need to be for most applications, so speed comparisons are irrelevant. The problem with IIS is its lack of security, its awful design, and the fact that it's proprietary.

    2. Re:Not exactly the best choice... by freshtonic · · Score: 1

      Er, what planet have you been on lately?!! Server-side Java is sufficiently fast and scalable to handle huge server applications in a very efficient manner. JVMs have come a long way in the last couple of years. I agree that you could make a faster application if it was written in C++ or whatever, but what's the point? It would take much longer to develop and maintain therefore the cost would be higher. The extra cost of a greater development time could pay for many more beefier servers anyway, if speed is such an important issue. Hardware is cheaper than many more man days development time. As for your point about cross-platform languages for servers - that is just the most naive statement I have ever heard. It has always struck me as fantastic that you can deploy your product on many different server OSs without any porting required!! Wake up.

  172. Portabilty is useful still... by SuperKendall · · Score: 1

    Where I work, we use NT and Linux (and in my case OSX) to develop on, and Solaris for deplyment. Personaly, I find it VERY handy that I can compile something and move a class file between boxes, and even better have a basic level of certainty that a program working one way on one box will work in a similar manner when deployed to a different environment.

    Java's portability is real and works. There seem to be a number of peeople who either think it doesn't work, or isn't useful... but to me they seem like they have little expereince with the subject.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Portabilty is useful still... by g4dget · · Score: 1
      Java's portability is real and works.

      "Portability" does not require being able to run the same byte code everywhere.

      There seem to be a number of peeople who either think it doesn't work,

      For some things it works. For others, Java fails to offer either WORA or portability. In particular, GUI and multimedia stuff does not work well across platforms in Java.

      but to me they seem like they have little expereince with the subject.

      Sadly, I have half a dozen years experience trying to make Java GUI portability work. If you are real careful, you can do it, but it requires lots of testing. In the end, for portable GUIs, I think something like wxWindows is better.

  173. Why? by SuperKendall · · Score: 1

    Java does OK at high loads, especially when you can offset the greater resources consumed with clustering.

    However, if you take a look at most enterprise applications you will find they are not high load (thousands of hits a second) at all, even for large businesses. There are plenty of internal apps that are very well served by Java beacuse the ease of development gives you more features and a more stable system.

    One of my favorite sayings is "Premature optimization is the root of all evil". That doesn't just apply to programming - also to hardware and language choices as well! Make something work, see how many users actually use it, then figure out if it needs to be sped up.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Why? by ceswiedler · · Score: 2, Insightful

      Note that the definition of "optimization" is "making small changes to make something that runs ok run faster". Optimization implies that without it, the app would still be at least marginally acceptable. "Better is the enemy of good enough" is a similar quote.

      Architectural and design decisions are not optimizations. With the wrong architecture, performance can be so slow as to be impossible to adequately optimize. There is no such thing as "premature design".

    2. Re:Why? by dubl-u · · Score: 1

      There is no such thing as "premature design".

      That's a bold assertion, but not true, otherwise iterative software development (e.g., Extreme Programming, SCRUM, FDD, etc.) would be impossible.

      Think of it as like a New York to San Francisco road trip for somebody who doesn't know the route. It's possible to just hop in your car and head for the setting sun. It's also possible to plan every single movement of the wheel in advance, with detailed contingencies for every possible disturbance to you plan.

      The first way is pretty risky. The second way will waste a lot of time and effort. Best value comes from doing just enough planning now to get you to the point where you need to do more planning.

      I'm not advocating willful blindness, by any means, but it's certainly possible to spend too much time worrying about the many possibilities the future can bring.

  174. Solaris blows as a desktop by autopr0n · · Score: 1, Offtopic

    My school recently replaced a bunch of dual boot windows/linux machines with some Solaris workstations. All I can say is "What the fuck?" The damn things are running CDE for gods sake.

    I was waiting in line the other day to use a 'burning station' where you can get CDs made for site-licensed software, and I tried using one of the machines. It was ridiculous. The only browser they had was Netscape, and Java didn't even work! I mean, this is a sun machine!

    Solaris may make a good server OS, but for a desktop OS I'd rather stick with windows or Linux.

    --
    autopr0n is like, down and stuff.
    1. Re:Solaris blows as a desktop by Anonymous Coward · · Score: 0

      Are you running your porn site on your school's server?

  175. Python 100X faster than C++? Please. by Chuck+Messenger · · Score: 1

    Python is dog-slow compared to C++, inherently. Implying that it somehow isn't, or even worse, that it can be faster, or still worse, that it can be massively faster, strikes me as silly.

  176. I've got my doubts about this memo as well... by grnchile · · Score: 2, Insightful

    Is it legitimate? I first saw a pointer to this a couple of days ago
    on fuckedcompany.com. That's hardly a ringing endorsement of
    legitimacy. Even if it real, is it significant? Not clear.

    It looks to me like mostly an attempt to get attention. I have to
    admit, somewhat reluctantly, that I used have to write memos along
    these lines when I worked for a company that ships a prominent
    application server. The fact was that there were only two ways to get
    attention focused on problems that would keep us from shipping our own
    product on this app server: 1) Find the developer responsible and
    persuade him to fix it or 2) Get one of our executives to yell at one
    of their executives. Often the second approach was the only one that
    had a chance of working and it required memos like this (complete with
    specific bug numbers, sweeping generalizations about the support
    structure, dire warnings about the future and so on). This is
    corporate politics at its "finest." Quite the technique for building a
    close working relationship, eh?

    Some of the points about application-specific JVM version requirements
    and footprint have merit (even if they're overstated, in my
    experience), but generalizing this to "Sun does not eat its own dog
    food" seems difficult to justify based on the limited examples shown
    here. How much of Sun's software is actually written in Java, for
    example? And if Java is such a problem, why has the app server market
    been growing so quickly?

  177. You Boys should refer to FUD by Anonymous Coward · · Score: 0

    You Boys should refer to FUD.

    FUD == Fear Uncertainty & Doubt

    Whos behind it? The usual suspect, Microsoft. Why? .NET is not going anywhere, it will die in 1-2 years.

    I like C#, but since threres no C# for Linux, its useless. You might say but .NET is more than C#. I say, .NET is dog food!

    As for the talk about Solaris, well Solaris, like any other UNIX Operating System, are now years behind Linux. I my oppinion the current SuSE LINUX is the best ever UNIX ever made. You might say, but SuSE is not American. Thats right! If it was made by Americans it would be called RedHat, a crappy distribution since version 5.0.

    Well lets stop talking and do some work!

  178. EJBs make server development simple by Anonymous Coward · · Score: 0

    I think you're missing the point.
    RAM is cheap. People's time is not.
    Java allows you to be a better programmer.

  179. self-criticism == good by Anonymous Coward · · Score: 0

    This type of self criticism is exactly what I would expect to see from a group that is striving for excellency.

  180. Santa Clara... we have a problem by Anonymous Coward · · Score: 0

    This is really a blow to the Java platform in general. Everyone kinda knew the implementation had some showstopping bugs, and the recognition of that by a Sun manager is going to get people shying away from the technology.

    What.. you say that its only the Solaris implementation? Well, anyone looking to deploy a large J2EE site is usually going to need a high end solaris system to serve it. And if its eating up huge amounts of memory for no good reason, it's going to be a huge problem and possibly a show-stopper.

    If you've tried to deploy a large j2ee project using linux as your OS, you've doubtlessly run into major performance/memory problems also.

    My point is simple... Sun, quit hyping up Java as the end all solution to enterprise development if you aren't going to provide a decent JRE to run programs built with the framework. Or at LEAST put the spec's out there and encourage groups to build their own JRE implementation (I'm sure the jakarta group would pick up a project like that very enthousiastically).

  181. Death Knell by Euphonious+Coward · · Score: 1
    Java is widely perceived among business people as mainly a Sun product, and Java development a Sun-aligned (or, in some circles, an IBM-aligned) activity. The deep problems in Java runtime environments have always been there, and technical staff have been pointing them out since the beginning. The defects have always been passed off as teething pains, temporary immaturities. That even Sun has not been able to produce industrial-grade runtime environments after all this time is a ringing endorsement of the language's critics. (There is no reason to think that C#, which is essentially the same, will do any better.)

    That Free Software has succeeded so spectacularly at cross-platform portability, without any of the extraordinarily expensive and risky apparatus needed to run Java, demonstrates further that Java and its apparatus are not necessary to get the benefits the language has been sold on, and mainly just mean overhead.

    Gross overhead is good for hardware sales, but only when there's no credible competition from more efficient alternatives.

  182. Re:Kiss and say goodbye to Java language!! by TheRaven64 · · Score: 1

    Okay, I concede that C is pretty adaptable, especially if someone else has already written a library aimed at the kind of task you're trying to do. I would be interested in seeing how much C code you had to write, and how much PHP could have done the same job. I personally find that a hybrid C/PHP works quite well, with C generating the information and PHP formatting it nicely.

    --
    I am TheRaven on Soylent News
  183. Don't miss the follow-up article... by alispguru · · Score: 1

    Here. Previously mentioned on Slashdot here.

    The memo may or may not be a fake, but many of the peformance issues mentioned in it are real.

    --

    To a Lisp hacker, XML is S-expressions in drag.
  184. thx for response from GI Java decoder ring club by Anonymous Coward · · Score: 0

    Right. We should outlaw everything except raw machine code, that you enter directly in binary. Assemblers are for pussies.

    A typical nonsense Java zealot response followed up by a second clueless Java idiot who "validates" it with a +1.
    Java not only lacks the runtime abilities of Lisp (where code and data fundamentally the same), but Java is a staticly typed compiled language to boot. So it's the worst of all worlds. You use javacc to build and then you run the result in an java interpreter. Of course it's a slow to run memory hog!
    Use a real dynamic language like Scheme, Lisp or Python instead of this flavour of the day tripe called Java.

    1. Re:thx for response from GI Java decoder ring club by Anonymous Coward · · Score: 0

      Right. He posts crap like "A typical nonsense Java zealot response followed up by a second clueless Java idiot" and I get modded "flamebait".

      Just wait until you try to get an actual job with your 'leet LISP skills.

      LISP is for people who'd be better off as mathematicians, just as Excel macros are for people who'd be better off as accountants.

      Neither one is a good tool for someone who's a programmer.

  185. Re:Kiss and say goodbye to Java language!! by Graspee_Leemoor · · Score: 1

    "You're an uninformed language bigot who really needs crawl out of the basement and try to get laid."

    He may be an uninformed language bigot, but your reference to his living in a basement and the idea that having sex somehow makes you a better person reflects badly on you. Too bad- you were doing ok up until that point.

    graspee

  186. Java Sucks Eggs by Anonymous Coward · · Score: 0

    Stupid amateur produced toy language.

    When (new Long(4).equals(new Integer(4))) returns true, maybe I'll give it a second look.

    Or not. Smalltalk is soooooo much more productive.

    This is just an example - but Java is fundamentally flawed on so many levels that its hardly worth explaining to its self flagellating users why they're perpetually over budget and late.

  187. Java sucks by Anonymous Coward · · Score: 0

    This is not a troll. Java sucks, and object oriented languages suck, too. All the "good stuff" of OO detracts from the main purpose of the computer, which is to 'do the job'. After millions of lines of code written in the last ten years of my life, I reached the conclusion that the programming language is irrelevant.

    So, I mainly do everything in C these days and I am twice as productive as anybody else(of course, with a little help from my own libraries that does basic stuff that C doesn't have).

  188. Re:Kiss and say goodbye to Java language!! by Ayanami+Rei · · Score: 1

    Well, to be honest, I don't know PHP so I can't be qualified to make a comparison. I will say that I loathe to write simple CGI scripts in C, and defer to perl (like PHP) because it is an easier excercise, and no Makefiles required, :-)

    What you find is that when you need to tie together unfriendly APIs, do device manipulation, and do heavy lifting, the C implementation can be comforting.

    I wrote a 4-script cgi app in C that acts as a front-end/configuration tool for a hackneyed backup solution for windows boxen based on samba and tape archive metaphors. Another was a secure utility for maintaining non-ASCII docs in a CVS style hive.

    To be fair, a small army of perl scripts do maintenance tasks outside of the cgi code's control. But that code (and some accompanying utils) are all C, about 2500 lines total.

    I have been moving away from C recently, and towards perl for my rapid CGI development. I have done a similar thing where I push the C into the background, into daemons and utils that the perl script manipulates from the front end; acting as a sophisticated "display" layer. So, I feel that this must be a common POV.

    Do investigate libcgi, it can save you during the times when you want to bolt a web front-end to an existing C/C++ code utility./C

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  189. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  190. I used to work there.... by Anonymous Coward · · Score: 0

    ...and if this memo is true, it's no surprise.

    I was given the boot from Sun during the recent RIF,partly for my refusal to become a Java fanboy. I objected to Sun's stupid reliance on Java for everything (Constipated? Try Java!). Their internal Java apps were so disgustingly slow and crashy, it's not difficult to believe the memo. That and the "amusing" reference to Python demonstrates the real lack of direction within Sun Microsystems.

    God Speed, I say to them, I have my cheque, I'm happy. But Java is so often a technological dead end these idiots insist on galloping down.

  191. It's about time! by Anonymous Coward · · Score: 0

    It's about freaking time!!! Anyone who's ever gone to the trouble of starting down the java path by figuring out which text book to buy can tell you that it's obvious even without downloading a JRE that the language gets updated too frequently in incompatible ways for it to provide real portability.

    We use Oracle on HPUX - Oracle always requires a specific version of the JRE.

    We also use Oracle Applications on HPUX, which relies on java - but a 16GB box quickly chokes and falls over when each java process consumes upwards of a gig of RAM and reserved swap space.

    If sun (and HP, for that matter), would focus on their own platforms, maybe others would have some faith in those platforms instead of stepping continuously over to winblows. :-(

    1. Re:It's about time! by PsiComa · · Score: 1

      Not sure what planet are you from, really. Ok, say you don't like java, but don't go trashing Oracle with it too. My first oracle went on a AMD K6@400Mhz on linux rh.7 with 80MB of ram. And it's faster that mysql on joins. And it's been alive for 1 year now. And i've loaded & ran java code from/inside the DB. perhaps instead of making bizzare and truly false affirmations like 'it gets updated too ofter in incompatible ways' you'd better pick up turbo pascal 6.0 and start coding for the msdog. cheers.

  192. Re:Perhaps you should read the letter b4 posting i by _fuzz_ · · Score: 2, Interesting
    I never keep anything but the most recent version installed, on Windows or Unix... I personally would not support an outdated version when a version with bug-fixes is available for free.

    With every release, Sun breaks something that worked in an older version. Swing in 1.4 blows up all over the place where 1.3 worked fine. If the failures in the latest JRE don't affect you, then you can use it. The place I work for runs into this with every release we make. We have to pick one version and say we only support that because other versions have bugs. We also don't have the QA resources to make sure we run on every single version. We're not the only ones. BEA WebLogic still does not support JDK 1.4, even though it's been out for over a year and is approaching the second minor version update.

    "Typical resident set requirements for Java2 programs include: Hello World 9M" Again, BS. I have a TINI board running that only has 8M of memory total, AND I have an old Handspring (8M) that has Sun's JDK and IBM's JDK and Java3D on it.

    Just because there's a Java implementation that runs on a small platform doesn't mean the one that runs on Windows or Solaris isn't grossly overweight. IIRC, running something not a lot larger than Hello World on 1.4 for Windows takes about 12M. That's a stupid-big footprint and there's a feature request in-process to fix it.

    --
    47% of all statistics are made up on the spot.
  193. If java is dead... by liquidflare · · Score: 0

    Why is the College Board changing the AP Computer Science tests from C++ to Java next year?

    Sigs are gay.

  194. No by autopr0n · · Score: 1

    It's my server.

    --
    autopr0n is like, down and stuff.
    1. Re:No by Anonymous Coward · · Score: 0

      Is it on school network, though?

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

      It's not very cool to waste the university's bandwidth to serve porn... Although you probably never host the pictures yourself. Do you know how much bandwidth is required daily? I suppose it's low enough to keep you off the radar :)

  195. p-code by jbolden · · Score: 1

    Case A) Lets say you use native coce. You have a 1000 things want to do on a 1000 platforms. That's a total of 1 million programs.

    Case B) Now lets say you use a p-code which runs on a virtual machine (like the JRE) as in intermediate step. Then you have 1000 things you want to do on 1000 platforms . Then you have to make 1000 platform specific VMs + 1000 programs that run on the VM. That's a total of 2000 programs.

    Add a platform or a program to Case A and you are looking at 1000 pieces of software which need to be written. Add a platform or a program to Case B and you are looking at 1 piece of software which needs to be written.

    That's really the argument for using a p-code / VM system. OK now why Java?

    Java has C++ish syntax without offering the platform specific enhancements. So you can make a strong case for Java vs. C++.

    Here is where I personally think the case breaks down. IMHO once you agree to take the performance hit I'd go much higher level like Perl, Python, Mathematica, Lisp...

    1. Re:p-code by Queuetue · · Score: 2, Insightful
      Then you have to make 1000 platform specific VMs + 1000 programs that run on the VM. That's a total of 2000 programs.

      First, there aren't 1000 platforms. There are probably 10 that anyone would ever have to worry about at any given time.

      Second, if you write it in C or C++, you get the benefit of native code which is just as "run anywhere" as a VM. The VMs are written in C++, right - which indicates that C is already there - who needs the VM?

      Third, you're correct. If you absolutely *have* to use a vm, use python. At least get value from your language choice, not C++ in an uglier box.
    2. Re:p-code by jbolden · · Score: 1

      First, there aren't 1000 platforms. There are probably 10 that anyone would ever have to worry about at any given time.

      Depends a great deal. Embedded or desktops? With embedded you can be up in the hundreds without batting an eye. Even just considering How about working under different OSes? Or for that matter Linuxs plus hardware distributions gets you well over a hundred test cases easily. Or for that matter Sun / Solaris (which after all might be an important case), the hardware spreads there are huge.

      Second, if you write it in C or C++, you get the benefit of native code which is just as "run anywhere" as a VM. The VMs are written in C++, right - which indicates that C is already there - who needs the VM?

      The main thing Java offers over C is the inability to use machine specific code. In practice porting C takes work and often introduces bugs.

  196. Re:never talked to a database in all of those year by pyrrho · · Score: 1

    i don't get this.

    one can easily dynamically load code, and that can be a class, in compiled languages.

    --

    -pyrrho

  197. Re:Python 100X faster than C++? Please. by fitten · · Score: 1

    Anybody can write bad code. It is particularly easy to write bad C++ code and fall into the common traps, such as lots of hidden object instantiation issues, for example. Besides, I can always put empty loops all over the place and made hand-used calculators faster than a program :)

  198. Re:Python 100X faster than C++? Please. by Phroggy · · Score: 0, Troll

    Python is dog-slow compared to C++, inherently. Implying that it somehow isn't, or even worse, that it can be faster, or still worse, that it can be massively faster, strikes me as silly.

    He didn't say Python is faster than C++, he said an app he wrote in Python was faster than a really badly written older version of the app that had been written by somebody else who didn't know what they were doing in C++. Yes, this is possible.

    Mozilla 1.21 is much faster than Mozilla 0.7, and they're written in the same language. Why do you suppose that is?

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  199. why not FPL? by axxackall · · Score: 1, Offtopic
    Why everyone compare Java to Python? Why Many other languages are basically ignored? I wonder if Sun considered Lisp, Scheme, Haskell, OCaml and Mozart.

    Lisp has one of the best object-oriented paradigm implementation, Meta-Object Protocol among languages with both scripting and bytecompiling capabilities.

    Scheme has been proved as a good language for GUI and configuration: GIMP, Sawfish, TeXmacs.

    OCaml has all the power as Lips, just in syntax conviniect for many Java/C-poisoned brains to read faster. No wonder there are many real-world applications on it.

    Haskell... I just love how it demonstrates that OOP is not everything (and even not enough) :)

    Sun works for telecom industry - why not consider Erlang?

    And don't ignore Mozart - it's multi-paradigm pradigm might be just what we all will thing as the best in 3-5 years.

    The list is not complete, of course. And it's inspired by Functional Programming.

    My main point here is: each of above languages, would it be in hands of Sun marketed instead of Java (with all that money invested to), would have quality of implementation much better than Java.

    In fact, I am impressed how such poorly designed language as Java succeed so far on the market. It wouldn't without so much money behind. And without so many classes written by Sun to compensate the poor design of the core language itself.

    Would Sun invest so much efforts and money to FP language then the result would be much better. Because quality is why FP matters.

    --

    Less is more !
  200. Flamebait? by slonob · · Score: 0

    Damn, this place is really turning into a huge pile of conformity-ware shit. Average age? 17? 16?

    Sorry for saying something true in response to something that was only FUD: the idea that this fake memo thing will tarnish Unix. Duh.

    --
    Strict obedience to the law is the key to liberty.
  201. This confirms it, Java is Dead! by r4lv3k · · Score: 1

    Java is Dead, .NET is the future. If you don't want M$ to own everything, join the Mono project today! It's no one's fault but ours if M$ takes over with .NET, because it is a superior platform. We must embrace it or be left behind.

    To the naysayers:
    Port a fast I/O and CPU intensive native application to Java, and watch it crawl miserably and gobble all the memory you can throw at it.
    Develop a CORBA/XPCOM/ONC-RPC system, and watch how difficult it is to maintain and extend.

    The future platform of hope is Linux running Mono. The highest performing OS running the CLR, potentially the highest-performance VM.

    ralvek

    1. Re:This confirms it, Java is Dead! by f00zbll · · Score: 1
      If you think .NET is great. I would suggest do the same excersize with .NET 1.0 and how well that works. The answer is will be worse than java. Even better, try to write a heavy weight persistent transactional application that is highly multi-threaded. Guess what, it's not advised by microsoft.

      go read msdn and see all the problems and challenges with .NET. Nothing is perfect, and the industry needs to get back to basics. This includes everyone from Oracle, Sun, Microsoft and every major software company. The first thing to do is to kick out all the money mongering accountants running big companies. Then replace them with solid technical leaders that care about software engineeering and quality. Until then, all these problems will persist. Just about every industry goes through these growing pains, so it's not unique. Look at all the crappy inefficient, gas guzzling tanks american's produced until oil prices shot up and some one else started offering a better choice. Until a new company appears to show the old ones they've got it wrong, it's not going to change.

    2. Re:This confirms it, Java is Dead! by PsiComa · · Score: 1

      LOL what state are you from ? we shoot people like you around here.

  202. Sun employee: memo is on target by joelparker · · Score: 5, Interesting
    You haven't seen it? Is it possible you haven't looked for it?

    I am a former Sun employee and I wrote these kinds of memos.

    Specifically, I wrote that Java was unsuitable for Sun's own web development projects, and that this represented a serious problem in terms of missed opportunities to improve our software and for our public relations and marketing.

    The memo may be a fake, but it's right on target. I especially agree with the problem of internal tech support for critical bug fixes.

    I worked on several projects that were a nightmare due to subtle bugs in Java's HTML and XML classes. In each case, the bugs were easy to fix: a few lines of code, changing private methods to protected methods, etc.

    The response from Sun support? "Will not fix."

    So I had to rewrite the classes-- basically rederiving the entire Java HTML+XML parsing tree-- which stuck the customer using my custom code. Talk about a bad upgrade path!

    There were many, many examples of this. As a result, I deployed many projects using Perl on Linux instead of Java on Solaris, and I wrote internal memos like the one in this article.

    All that said, the Java engineers were some of the smartest, nicest people I've ever had the pleasure of working with. I have a lot of confidence in them, and each Java release gets substantially better and faster. The problem IMHO is not the engineers, but the corporate culture that misses opportunities to learn from employee projects.

    The Sun engineers and internal developers can really do some amazing things, if McNealy and Zander could start prioritizing Java inside Sun, and start funding rapid-turnaround tech support for employee programmers.

    Cheers,
    Joel

  203. Obligatory jwz reference by prostoalex · · Score: 2, Informative

    Why Java sucks , written in 1997, but some points still hold true.

  204. Ditto Sun's website. by DraconPern · · Score: 1

    I have also noticed that Sun's website doesn't use jsp very much (or if they did, why won't they display the .jsp extension?). So far, all the forms I have only found submit to .cgi, which normally indicates that it's not a Java backend. Compare this with Microsoft's site which uses asp pages (even it's just for show, at least they are using _something_).

  205. The Great Slashdot Trial by Talez · · Score: 1

    I'd like to submit this as Exhibit T in the "Slashdot needs a -1 Plain Fucking Stupid moderation category" case.

    Seriously. The "GINORMOUS" 9MB you talk about includes the JRE which can be used to run pretty much anything else you care to run.

    1. Re:The Great Slashdot Trial by Spy+Hunter · · Score: 1
      OK, I tried it myself. Running a "hello, world" class that prints and then does while(true); takes ~13MB on my system. *4MB* of that is shared memory. Oh oops, I guess you're wrong.

      Besides, it's stupid to load the whole JRE to run a "hello, world" program. A Python "Hello, World" takes 2MB, with 1.5MB shared. Is it any wonder Java programs take forever and a day to start? Ginormous is right.

      --
      main(c,r){for(r=32;r;) printf(++c>31?c=!r--,"\n":c<r?" ":~c&r?" `":" #");}
  206. Re:Perhaps you should read the letter b4 posting i by iggymanz · · Score: 1

    Serious business (as in serious about making & handling money) will not be at Solaris 9 for another year or two yet....Solaris 9 is too young for all the needed patches to come out. Heck, all the places I've worked & consulted for are largely at Solaris 2.6, with 8 being tested.

  207. Why doesn't someone write a better JVM for Solaris by dougTheRug · · Score: 1

    Are there open source Java bytecode runtime engines?
    There surely must be one out there for Solaris...

  208. Moderators Suck. by Anonymous Coward · · Score: 0

    Another screw up by the moderators. This
    post is informative. The problem is, it's
    political. Whenenver you tell the truth:
    C is faster than Java, it gets scored -1.
    Whenenver you cry about it: "oh that FUD,
    java rules!!!" It gets scored +5.
    The java weenies just can't handle the truth.

  209. It's a plea by ColeNielsen · · Score: 1

    It makes more sense to view this document as a plea to those in higher power to pay attention to the direction that Java is heading. It's abviously on the downhill but I think that if Sun was to spend more time fixing current bugs instead of providing more features (this reminds me of someone else I know... M$ anyone?) Java could be a platform that could prove to be cost effective to develop high end software for.

    Being a wanna-be programmer, I noticed the impracticality of JAVA simply by writing a few small programs and trying them on various systems. On Linux, they would, for the most part, run well, on Windows, they were SLOW and GROGGY - on SUN, they were also a little slow... keep in mind that the LINUX and WINDOWS tests were done on the same machine!

    Sun should concentrate on the current problems and that would be beneficial to everyone!

    just my 2cents

  210. Never heard that quote... by SuperKendall · · Score: 1

    The quote I've used I've seen in print many times - I've almost never seen anyone say "better in the enemy of good enough" (I think I have heard a quote that is the reverse of that though).

    The original poster was asking why use Java at all, instead of assembly (or something like that). My point is that for a lot of needs Java is plenty fast enough for a lot of real world enterprise apps, even on older boxes... and if speed of executation is going to be fast enough for the final program why not get all of the proven benefits of Java over a potentially faster, but more risky language platform?

    I agree that architecture and design descisions are something you want to think through up front. But that is NOT the same thing as deciding you're going to use C++ with in-line assembly for an app that might serve ten users. That's (to use another old saying) "putting the cart before the horse".

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  211. I also have experience by SuperKendall · · Score: 1

    I have written large Swing apps that worked quite well against Windows and other platforms - and that was back in Java 1.2 just after it was released. On 32MB machines.

    Mutimedia I'll agree is not that great with Java yet, you are probably still better off going native there.

    GUI though - I think that works pretty well already across platforms. There just aren't a lot of people that seem to be able (or willing) to use Swing very well. Frankly, I can't imagine a GUI I'd rather have if I needed to have heavily customized controls.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:I also have experience by g4dget · · Score: 2, Informative
      GUI though - I think that works pretty well already across platforms. There just aren't a lot of people that seem to be able (or willing) to use Swing very well. Frankly, I can't imagine a GUI I'd rather have if I needed to have heavily customized controls.

      Swing widgets themselves work reasonably well and are fairly easy to extend. The problems with Swing and Java are in areas like window management, focus, native LAF, drag-and-drop, and desktop integration. And for many of those problems, there are no easy workarounds because they involve native code.

  212. Re:Python 100X faster than C++? Please. by hobo2k · · Score: 1

    Empty loops? Ha!! I'll match your empty loops and raise you one optimizing compiler!

  213. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    > Thatnk you, this has been added since I last read PHP docs (4.0).

    WTF is your problem? Why lie about it? Look, if you don't like PHP, just say so. Posting out-right lies about the language is a bit childish. accept_connect(), bind(), close(), connect(), listen(), socket(), and strerror() have been in PHP even *before* PHP V3 was released. Why the outright lie about it being added since V4.0? Go away troll. I just wish the moderators had more clue than to keep adding points to your trolls.

  214. Re:Kiss and say goodbye to Java language!! by Anonymous Coward · · Score: 0

    > You can't, it doesn't let you accept incomming socket connections.

    Moderators on drugs again? Why would a post with out-right lies like the above get a +5? The first version of PHP3 we used was 3.0.6. It supposed socket connections, and we've been using it in production since.

  215. Power Grab by Performer+Guy · · Score: 3, Insightful

    This is a power grab by an internal Sun committee. It's riddled with scaremongering and concocted reasons why the ARC should control Java. It's a sign of deep malaise within Sun.

  216. stop rumor by Anonymous Coward · · Score: 0
    [localhost:~] % host internalmemos.com

    internalmemos.com has address 66.40.105.34


    [localhost:~] % host sun.com

    sun.com has address 64.124.140.181


    Who runs the class C IPs 66.* & 64.*? I question ownership & operations of this media delivery (the report critical of Java) & bandwidth provided.


    A corporate memo is just that. Java is Sun's thing. It's their brand. What does Sun have to say about it? This looks like one group having very specific complaints in specific build environments based on Sun's product. Meanwhile elsewhere Java development continues to make sustainable cross platform support happen.


    I don't know anything about who this group is or the specific core projects they're developing... It's like another blog page complaining about lack of features or quietly promoting specific features developed thru cross-channel blog communication with other techbloggers. That's normal but why does slashdot have to post *this* page on Java?


    Looking beyond strictly corporate governance, what do we care for a project run by corporate personhood (not speaking of Java ) when opensourcers can do a better job hacking script like Java in more dynamic profit-oriented environments, time worked paid for by the chill hours system (work along I/school/friends schedule) not the colonial-imperialist corporate policy hours system only (9a.to5p. M-F)?


    -Anonymous Slick

  217. Oh good griefe by Anonymous Coward · · Score: 0

    Oh good grief. The memo may or may not be fake. Java does have some design problems, and some inherent ones. Not everything in the LONG list of Java libraries is a object.

    More importantly of course a scripting language is faster than a PROGRAMING language it's the scope what it triest to do, SMALL text maniplation programs in Java 1 and 2 are faste enough to not make a fcuking difference. Java is a interperted language so if this ape knew that he'd also know that even at 1/4 the execuion it's in esence going 4x as fast, and for fuck sake if you need pure speed is the C language mode OR HotSpot mode of the VM the SUNVM is not the fastest beast it's only the most compatible, and the Swing libraries improve execution speed (Though the repaint methods still stink).

    Since this idiot doesn't say any of that he hence HasNoClue, and do not include #him.ever*

  218. the IEEE article by Anonymous Coward · · Score: 0

    A study performed by an outside team appears to indicate a rough parity in performance between Java and a common implementation of another OO language called Python (see IEEE Computing, October 2000, "An Empirical Comparison of Seven Programming Languages" by Lutz Prechelt of the University of Karlsruhe).

    This article does not exist in the IEEE Explore database

    1. Re:the IEEE article by PsiComa · · Score: 1

      http://www.computer.org/computer/co2000/rx023abs.h tm check out the copyright, it's there : IEEE.

  219. Re:Perhaps you should read the letter b4 posting i by pyrrho · · Score: 1

    if it's a contest between Java and Solaris, and for Java to be perfect I have to think Solaris is buggy, then I still don't think of Solaris as buggy.

    --

    -pyrrho

  220. Re:Python 100X faster than C++? Please. by X · · Score: 1

    My old comp sci. professor used to talk about the difference between "speed" and "efficiency". A quicksort program written in basic, running on a 386 machine, can for sufficiently large datasets, outperform an insertion sort program written in assembler, running on a Cray.

    Most really big performance wins (like the 100x example) don't come from using a lower-level language or fancy compiler optimisations. They mostly come from a more efficient design.

    --
    sigs are a waste of space
  221. wtf by Worminater · · Score: 1

    wtf, mod system screwed up?

  222. Re:Kiss and say goodbye to Java language!! by rodgerd · · Score: 1

    Having sex does make you a better person. It makes you more relaxed and more pleasant to be around.

  223. Re:Kiss and say goodbye to Java language!! by Graspee_Leemoor · · Score: 1

    "Having sex does make you a better person. It makes you more relaxed and more pleasant to be around."

    YOU ARE SO FUCKING WRONG! YOU ARE ETH IDIOT! I HATE YOU DO YOU HEAR ME? I HATE YOU! SHUT THE FUCK UP ALREADY! GRRRRRRRRRRRRRRRRR!

    graspee

    Please try to keep posts on topic.
    Try to reply to other people's comments instead of starting new threads.
    Read other people's messages before posting your own to avoid simply duplicating what has already been said.
    Use a clear subject that describes what your message is about.
    Offtopic, Inflammatory, Inappropriate, Illegal, or Offensive comments might be moderated. (You can read everything, even moderated posts, by adjusting your threshold on the User Preferences Page)

  224. ALERT! by Anonymous Coward · · Score: 0

    Please don't try to make that into the next /. meme. Let's have some class, eh?

  225. Bzzzt! by Anonymous Coward · · Score: 0
    1.4 is a major to 1.3 it should have been called 2.0
    1.2 -> is actually referred to as the Java 2 series. Though, I think that the version number should have been bumped also.
  226. .Net is dead by Anonymous Coward · · Score: 0

    Java rules and all these lies would make any difference. .Net sucks and it is dead..take that Billy.

  227. HIV does equal AIDS. Jeasus! by snarkasaurus · · Score: 1

    Open mindedness is one thing. You are something else. Please stop helping me.

    With regard to your sig, I happen to know some people who do HIV research. The hard kind, not the bullshit public health kind. They are not liable to be swayed by offers of money or other blandishments from the Eeeevile drug companies. And they are far from stupid.

    The arguments cited by your web site are unscientific crap, and are getting a bunch of innocent people killed in Africa.

    Evidence? There's a measurable, linear relationship between HIV virus load and the onset of full blown AIDS.

    AIDS appears in the presence of HIV, does not appear in its absence. You can even infect experimental animals and they get it. Transgenic mice, for example.

    That is known as Koch's Postulates of Pathogenicity. Look it up, it is the method used to identify and isolate pathogens so drugs can be made to fight them. If your pet web site has anything substantive enough to pay attention to, you'll be able to prove at least one of the postulates wrong.

    If not, time to re-adjust your open mind. Remember, if you can't measure it, it ain't science.

  228. Java on OS X is excellent by afantee · · Score: 1

    On OS X, virtually all the IDEs written in Java (JBuilder, Eclipse, NetBeans, etc) feel solid and more responsive than many of the Carbon applications (written in C or C++) like MS Office and Macromedia Dreamweaver, the only exception is Oracle JDeveloper which is totally unusable. JBuilder is particularly powerful and probably better than any IDE on all platforms except perhaps the OS X combination of Project Builder and Interface Builder. Surely this proves that there is nothing wrong with Java at all, at least not on Mac OS X. As a C++ programmer for over 10 years, I recently switched to Java and feel much more productive.

    The memo is either very old or simply a fake, particularly wrt the memory footprint - the resident set of JBuilder is typically about 70 MB even after weeks of continuous usage. In any case, if there are genuine issues with the Solaris implementation, Sun should put more effort to deal with it. After all, Apple and IBM have done a wonderful job, so could Sun and others.

  229. Will somebody post the memo? by Anonymous Coward · · Score: 0

    Can somebody post a copy of this? My company blocks the site as "illegal". LOL

  230. Right on the money! by alexo · · Score: 1

    Zeinfeld wrote:
    Unfortunately the notable standout is the failure in the Whitehouse who is a level-2 leader if that. Bush meets none of Collin's leadership criteria. It is all do as I say, not do as I do. Prime example, you go off and fight a war, I dodged service in Vietnam by getting Daddy to pull strings, then went AWOL. Secondary examples you keep your treaty commitments, I will unilaterally break the test ban treaty, ignore the security council, withdraw from Kyoto and basically ignore any treaty I consider inconvenient.

    DNS-and-BIND wrote:
    And this is different from Clinton HOW exactly? At least the current occupant of the White House hasn't been disbarred or impeached. He didn't smoke pot, either, though he was a champion drinker.

    Absolutely correct, there is no difference whatsoever. By design.

    And here, ladies and gentlemen, lies the crux of the matter: The US democracy is for show. The two-party system gives the american people the illusion of a democratic process. The truth is, no matter if you vote Democrat or Republican, the same group of people (or, at east, the same kind of people) stay in power. Whether it is large corporations, media magnates, the CIA or any other group is irrelevant but left as an excercise to the reader for extra credit.

  231. 'Extensions do not support modularity' by xsumeman · · Score: 2, Insightful

    This section of the memo was, for me, the most interesting:-

    3. Extensions do not support modularity.

    As new extensions are introduced, they are released separately under their own names and distributed generally. Each one may go through several revisions as separate modules. At some point, they are then folded into base Java, tying base Java's version to the versions of dozens of smaller yet distinct functionalities. These functionalities are then restricted to a draconian backward-compatibility rule since once folded in, they are no longer selectable modules. Examples include modules that used to be called Swing, RTI, IDL, JSSE and JAAS. These are all good things that should be part of Java. Our concern is that these are not separable modules which can evolve as requirements change.

    The Java system for evolving the interface (deprecation) does not serve production software very well. Once the interface disappears, the product just breaks. If the Java base were simpler and the more advanced features (those most likely to be deprecated) were delivered as versioned modules, it would be possible for a commercial product to retain it's older modules on the system and survive a large number of Java upgrades. Production quality programs written in Java, like TogetherJ, indicate a specific Java version which must be installed before the program is run. If another program is installed, requiring a higher Java version, the user may be forced to decide which program stays and which goes away.

    Alternatively, the other Java version could be installed to a different base directory but this requires considerable sophistication on the part of the user, complicates administration and violates the ARC big rule that common software must be shared.

    In earlier Java releases there were useful APIs that weren't available in the core, such as XML/XSLT, JNDI, Swing, etc.. but for application developers like me, it was straight-forward enough to distribute these extensions with applications that needed them. Sun's policy of bloating the core with all these Java extensions is actually harmful to Java. For example, Sun's official explanation for putting logging facilities that were inferior to Apache's log4j was that there was a JDK 1.4 Merlin release deadline to meet. Same goes for the stunted XML API's in JDK 1.4. Why can't these extensions grow, evolve and mature outside the Java core? As long as they're easy enough to distribute, do they need to be part of one big release?

    What the Sun engineers are complaining about is that a change in one of what could be hundreds of extensions breaks the entire platform. To try to prevent this, Sun have imposed 'draconian binary-compatibility rules' which are a sure way of prohibiting refactoring and major improvements, bottom line: Java bloats and innovation effectively stops.

    Either Java needs to use it's own extension mechanism more consistently, or to create one that is more flexible/usable and more open to third-party code. How many times have you needed a particular version of xerces, xalan or log4j in the classpath? (or found out your customer has a different version that the one you built with, and this is the cause of that subtle and evasive bug)

    It's not just the Solaris performance/memory aspects of Java that are a problem, it's the very way that the technology is distributed and evolves. I've had a lot of fun/success with Java and want it to continue getting better. Congratulations to the insightful engineers behind this memo.

  232. Anyone confirm this data? by bippi · · Score: 1

    Can anyone confirm that "Hello World" does indeed take 9 megs of memory space using JVM 1.4 on Solaris?

  233. Actually a GOOD choice by nicestepauthor · · Score: 1

    Java is a good language for server applications. Your points ignore a few things:

    1). A cross-platform language is every bit as useful on the server as it is on clients. The main benefit is that I can do testing of Java servlets on my Windows desktop and have the application run exactly as it will under Unix, or the AS400, or wherever it is deployed. This makes it much easier to do good testing and debugging and makes for a more robust application on the server.

    2). Java's performance is at its worst when the application first starts up. When an application is running there is little difference in performance between a Java app and the same one written in C. Java servlets load into memory once and stay there, so the startup penalty only affects the first request.

    I've found this to be true on the client side too. I have created Java apps and run them on an old Pentium and while startup times were awful the apps were useable enough once they got running.

    3). Java's garbage collection and avoidance of pointers makes Java apps more robust. A Java server app can fail without taking down the web server.

  234. Re:Kiss and say goodbye to Java language!! by rodgerd · · Score: 1

    Not getting any, huh?

  235. A Former JDK Developer Responds by Ear+Phantom · · Score: 1

    Disclaimer: my opinions are my own and do not represent any company or organization.

    I worked as a JDK developer at Sun for a certain length of time (let us just say more than three years to continue to protect my anonymity). And no, I no longer work for Sun.

    To respond to this menu (assuming that it is real), first look at the executive summary and sender information: this memo represents the opinion of a single person who is representing a specific group of people, in order to push a specific agenda: JDK conformance with the SDF, which is probably some sort of new program or committee body within Sun (or any industry-wide standard--anyone know what this is?). Now in order to "sell" people on this agenda, it is necessary to build up a case for Java to fall in line with it.

    Now, let us continue to assume that this is legit and examine the case presented independent of the context, though keeping in mind that that is what this memo is about, not some "corporate-wide" opportunity for someone at Sun to bash its own technology. This isn't news: it's "dog bites man" at best. Java has bugs, Solaris has bugs, communication at Sun needs to improve, etc.

    First of all, the "will not fix" problem is clearly an internal communication problem here (and a big misunderstanding on the part of the author of the memo). JDK engineers don't just close things as "will not fix" willy-nilly, or because they don't have the resources, or because they don't see them as serious enough bugs. I can recall on many occasions that engineers have been pulled aside, sometimes even during weekends or during critical projects, to work on critical Solaris bugs. Solaris has been (and I would imagine will continue to be) one of Sun's most critical software projects. Entire JDK releases have even been delayed at times because of serious Solaris issues. Solaris is important, period, and JDK engineers have a very clear grasp of this, contrary to what this memo may suggest. Simply listing a bunch of "will not fix" bugs doesn't mean anything. A "will not fix" typically means "read the fine print in order to figure out what is going on with this bug and why it won't be fixed." Every bug report has an "evaluation" section, and listed there (if the engineer is doing his or her job) is the reason for closing the bug out. Many such bugs are simply no longer applicable: discontinuing support of older versions of Solaris or motif are some possible examples. Other examples may be ludicrous or ambitious enhancements which will probably never realistically see the light of day: "support Java on the Commodore 64". Looking at this list, it's fairly easy to speculate where many of these bugs fell. I see a pattern of things here which were backward-incompatable that were probably closed as "will not fix" because the new behavior is seen as more "correct" than the old behavior. This is further evidenced by item 4 in the following section, as well as other such remarks throughout the memo (more on that item later).

    Item 1 on the list appears to, again, be a communication problem. The author of the memo shows a lack of familarity with Sun's internal support process (including the Sun-on-Sun initiative). This could be a legitimate cross-management communication issue or perhaps just ignorance on the part of the author. This is evidenced by a number of things, not least of which is the mention of JDK 1.1.5 and Netscape running together which "has not changed for years." Anyone who has downloaded Netscape in the past 5 years knows that to be just plain wrong.

    Item 2 is both flamebait on one hand, and on the other hand is entirely true. Memory footprint is an ongoing problem for the JDK, something which is addressed and paid attention to in every release. Yes, Java has warts. Engineers take these problems very seriously and are constantly struggling to improve performance. Solaris is no exception.

    Item 3 again shows lack of familiarity, this time with the Java Community Process (JCP). The examples cited predate JCP 2.0 and are not relevant to the current state of the JDK on Solaris. How emerging technologies evolve as extensions and find their way (if relevant) into the JDK has been long since made clear by the JCP. The "lack of modularity" example of TogetherJ is an example of JDK modularity, not extension modularity, which makes it more relevant to Item 4, not Item 3.

    Item 4 seems like the real meat of this person's complaints with Java, the appearance of Java being an "unstable platform." While backward compatability across versions is a legitimate complaint, it is scarecly a complaint about Java so much as it is an industry-wide problem having to do with the nature of software, though middle-ware is particularly vulnerable to this problem (something is broken, but somebody relies on the broken behavior, then you fix the broken behavior, the already-broken person then complains). The author seems confused about the difference between "major" and "minor" versions of the JDK, and in all of the examples cited these are differences between "major" versions of the JDK (so-called "feature" releases), and not "minor" versions of the JDK. While it is idiosyncratic of the JDK to never evolve beyond "1.x", it is not (to my knowledge) widely misunderstood among Java developers and managers, especially after the 1.2 JDK experience, that evolutions in the second digit are feature releases. The *third* digit is the minor version, wherein backward compatability is most guaranteed. These kinds of releases are called "maintenance releases." Furthermore, there is an underscore "_01," etc., which represents "patch releases," which are purely critical bug-fixes.

    There isn't enough time in the day to have a full discussion of how to resolve the backward-compatability problem, but there isn't a single person I know of who complains that they can't put a 10 inch vinyl record into a CD player. Any decent software engineer knows that when a new release of some underlying technology comes out, it should be treated as a *new product* and should not be expected to run everything 100% the same as it did in the previous version. Anyone who makes the decision to blindly ship with a new technology without first running their product through a new quality lifecycle is just asking for trouble. Aside from JDK 1.2, personally I have found Java to be surprisingly backward-compatable for larger GUI projects, certainly compared to the world of Win32 development. Of course, experiences are likely to vary among developers on this, so I would gladly be sympathetic if someone wanted to flame me with their top "Java horror story".

    Overall, I would say that this memo isn't informed enough to build a case against Java on these grounds. I have a number of complaints with the technology's shortcomings, with Sun in general, with Solaris, etc., but none of the items presented here really hit the mark.

  236. Dude, are you high??? by killmeplease · · Score: 0

    JVM stands for Java Virtual Machine and is not a set of libraries. The main set of libraries is the JFC or the Java Foundation Classes. These are broken up into Swing components and AWT components.

    --
    - Kill Yourself, spare us all! -
  237. No Disclaimer! by use_compress · · Score: 1

    Examining the site, I noticed no disclaimer. If this memo turns out to be a hoax and creators of the website did not properly shift the liability to the poster, the "RCK Group Inc." could face a mega-lawsuit from Sun.

  238. Re:HIV does equal AIDS. Jeasus! by Loundry · · Score: 0, Offtopic

    Open mindedness is one thing. You are something else. Please stop helping me.

    As usual, the response is mockery and invective, not dialog.

    With regard to your sig, I happen to know some people who do HIV research. The hard kind, not the bullshit public health kind. They are not liable to be swayed by offers of money or other blandishments from the Eeeevile drug companies. And they are far from stupid.

    And I happen to know some people who know that HIV is an orchestrated lie. See, I can make unsubstantiantiated claims, too!

    The arguments cited by your web site are unscientific crap, and are getting a bunch of innocent people killed in Africa.

    Yet you fail to indicate which arguments are "crap," you just dismiss them all with a sweep of your hand.

    Evidence? There's a measurable, linear relationship between HIV virus load and the onset of full blown AIDS.

    Are you discussing so-called "viral load"? There is quite a bit of criticism on this subject:

    here
    here

    AIDS appears in the presence of HIV, does not appear in its absence.

    You are merely quoting the definition of AIDS. How do you explain an HIV+ child born to two HIV- parents? How do you explain HIV+ children whose HIV mysteriously "goes away" as they get older?

    You can even infect experimental animals and they get it. Transgenic mice, for example.

    Yet you provide no evidence to back up your claim. Have other primates ever gotten HIV/AIDS?

    That is known as Koch's Postulates of Pathogenicity. Look it up, it is the method used to identify and isolate pathogens so drugs can be made to fight them.

    Has HIV been isolated? If so, who isolated it?

    If your pet web site has anything substantive enough to pay attention to, you'll be able to prove at least one of the postulates

    And interesting strategy: Find some criteria unrelated to the criticism and then declare that as reason enough to dismiss all the criticism as irrelevant. Furthermore, the web site is merely a collection of articles that have been written by many different scientists and journalists for many years. Your calling it my "pet" web site is an attempt to paint me as single-source.

    If not, time to re-adjust your open mind.

    I think, instead, that you should open yours. You've stated in no such uncertain terms that dissenting views of HIV/AIDS are beneath your contempt. Isn't this the very definition of closed-mindedness?

    Remember, if you can't measure it, it ain't science.

    I agree! I do not think that "HIV==AIDS" is science. I think it is money.

    --
    I don't make the rules. I just make fun of them.
  239. Re:HIV does equal AIDS. Jeasus! by snarkasaurus · · Score: 1

    "Yet you provide no evidence to back up your claim. Have other primates ever gotten HIV/AIDS?"

    What, you want footnotes? Ok then. Chimpanzees are infectable by the HIV virus but don't get AIDS from it, you can google that up on your own.

    Transgenic mice with human immune system markers were INVENTED to research HIV. Here's the second hit I got on Google on the issue, http://www.aegis.com/pubs/aidsline/1999/jan/A99109 31.html These mice don't just catch HIV, they are sequenced to produce HIV themselves from birth. As you can see from the article, they get the same kidney damage as humans with AIDS, which the drug being tested apparently prevents.

    There are many transgenic mouse lines, some of them patented, developed specifically to investigate the connection between HIV virus and T-cell death. Some were invented where I went to school by people I know.

    The argument about when the virus was isolated and by whom is CRAP, as the state of the art has advanced to the point mentioned above, a transgenic mouse that is making HIV markers and proteins on its own. Point being you have to know what those proteins and markers are before you can sequence for them.

    Then there are the vaccines developed to fight HIV. There's one in trials now that looks like it won't kill everybody that takes it, no word on whether it kills all the HIV or not. However there was another vaccine that came out in the late 1980's that killed nearly everyone who took it. It worked by stimulating the antibodies to HIV. A subject with a good T-cell count and a low virus load would take the vaccine and shortly thereafter their t-cell count would plummet and they would have full blown AIDS. The trials were terminated after the first few subjects got sick. You can go look that one up too.

    These are matters of public record, not some super secret stuff that nobody can get at. An afternoon of surfing should be more than enough to dispell any doubts on the issue. Unless of course you can't understand the evidence. Then you are going to have a problem.

    As to my credentials, I'm a physical therapist and my wife is an internal medicine doc. I studied at New York Medical College where they do a load of AIDS reseach, much of it with transgenic mice. Some of our friends were kind enough to let me play in their labs and ask questions.

    What medical school did you go to?

    So you can see why I and others have a problem not laughing when you claim all of AIDS research is a vast conspiracy. You are getting invective and mockery because your claims are idiotic. Some ideas are just too silly to be taken seriously, and this is most assuredly one of them.

    Do you have any idea how many people would have to be "in" on the secret if there really was a conspiracy? Thousands. Do you think thousands of people are all going to keep quiet about something that big? Come on.

    So now, any progress on prying your mind open yet, or am I wasting my time on yet another fanatical partisan? I'm used to that from talking to anti-gun people about science. There is no logic, no evidence, no argument that can shake their conviction. Are you one of those?

  240. Ability to evaluate (any) expressions at runtime by brianstoler · · Score: 1
    DrJava has an "interactions window" where you can enter arbitrary Java expressions and statements and they are evaluated in a context that can see you code.

    (It uses the DynamicJava project internally, which is another Java source interpreter. I don't have the link handy.)

    -brian, a former developer on the DrJava project