Thirdly, Java GC is not really "conservative". An object is eligable for collection when (and only when) the reference count is zero.
Minor nitpick, that is not completly correct.
An object can still have references to it, and still be elegible for gc'ing. That is what Weak- and SoftReferences are used for.
Soft reference objects, which are cleared at the discretion of the garbage collector in response to memory demand. Soft references are most often used to implement memory-sensitive caches.
Suppose that the garbage collector determines at a certain point in time that an object is softly reachable. At that time it may choose to clear atomically all soft references to that object and all soft references to any other softly-reachable objects from which that object is reachable through a chain of strong references. At the same time or at some later time it will enqueue those newly-cleared soft references that are registered with reference queues.
Does this work as transparently as Exceed does? What I really want is a little daemon, preferably just running down in my task tray, that provides an X server. Nothing else. Let Windows handle the windowmanager aspect of it, and don't do anything with the desktop by default. Basically, just allowing me to run X programs side-by-side with my Windows ones. Oh - and share my X clipboard with my Windows one.
The last time I looked around (which was several years ago), Exceed was the only product that came close to this. If Cygwin/XFree has a package that does the same thing, I'd be very interested in finding out.
Yes it does now, 2 weeks ago I installed cygwin on a winxp box, and it comes default with a XServer installed, configured to run in rootless mode, so it just uses winxp itself for the windowmanagement.
The last time I tried to do that (maybe one year ago, something like that), it was a lot more work for sure.
Fuck that! I beilive we're not smart enugh to decide. Our (humans) Scientists cant tell 0.1% of the worlds secrets. All is still and will be a mistory.
Let's hope that one day, scientists will be able to uncover the great mystery of bad spelling on slashdot:)
I had a similar problem and, being a linux newbie, I did some research. The problem isn't just the memory. It's also slow because many parts of a "newer" linux distro are compiled for 686 (Pentium III and higher) processors. This means your older 586 (Pentium) has to do more work. It can really eat into your window manager and X windows server. At any rate, it made my box (PII 350mhz) unusable and I opted for an upgraded box rather than recompile everything and troubleshoot.
You're not totally correct here:
686 is everything from PentiumII / K6-2 and up. So whatever caused your PII to be slow, it wasn't the compiler optimizations. I suspect it was just low on memory (I'm typing this on a Celeron 300 with 320MB ram, running KDE 3.2 and kernel 2.6.1. It runs just fine).
How the hell to you get the IBM JVM without signing up as a websphere developer?
My biggest problem with Java is that the best VM (IBM's) is not a free download even though eclipse is. I have to use Suns JVM instead. Eclipse is much faster on IBMS's JVM than Suns.
You go there to get the JDK. You do have to register though, but I sure never developed on Websphere. I never paid IBM for anything either., so you're just lying.
2. The CLR works with multiple languages. Java's VM is only Java.
I hear this all the time. First of, all, it isn't true: I'll give you 2 examples: Jython and Groovy. I'm sure there are plenty more examples you can find if you want. Besides, does it really matter? The strength of Java and.Net are mostly the class libraries and APIs you can find. When programming WinForms, does it really matter if you're using C#, VB.Net or any of the CLR languages?
Apart from syntax, your form will end up looking exactly the same anyway, with the same functionality. It's just a matter of which syntax you prefer.
C# is an open standard. Java is a closed one. Microsoft did this on purpose of course, in order to kill Java. Regardless of whether it's open or not, Microsoft will always have the strongest influence in the C#-platform's direction. It's Microsoft's baby. The same goes for Sun and Java, whether or not it's a closed standard. Why Sun hasn't opened Java is beyond me...it does them no good being closed. It just makes me want to write C# code for Mono::
Anything that matters in.Net is not standardised. ADO.Net, ASP.Net,... all thoser things are proprietary as hell. At least with Java, many important API's are open to be implemented by those who want to (J2EE, JAXP, JSLT,...). In the Java world, you can actually choose your implementation, as opposed to what MS force-feeds you with.Net.
But would I like to see Java standardised? Sure, but even without it, it still is more open than the entire.Net platform.
4. If you really must insist on Java, just use J#. The languages are syntactically identical (with only 'generics' differing). What you gain by this is better byte code running on a better VM.
Really? And could you tell me when I could get that J# code to run on all the OSses that Java supports?
What is the most trusted Java JVM for Linux or BSD systems? IBM JVM 1.3.1 "Black down".
Excuse me? You must be confusing the IBM JVM with the Blackdown JVM from blackdown.org, which is a specialised port of the Sun JVM to Linux.
Increasingly this is no longer the case, as sun continues to revise the Java API faster than a decent implementation can be produced.
Faster than a decent implementation can be produced? You're really exaggerating now:
Java has gone from 1.0 (Januari 1995) to 1.4.2 (June 2003, which was 9 months later than 1.4.1, September 2002) to 1.5 (alpha available now, not sure when scheduled for release, I thought the end of this year).
At this moment I can choose between installing Sun 1.4.2, blackdown 1.4.1 and ibm 1.4.1 I on my gentoo box. Then there are also JVMs like JRockit, which is also at 1.4.2.
The are also no major API changes between the point releases (1.4.1 for example added support for Webstart, 1.4.2 added WinXP and GTK look and feel), the rest are only bugfixes.
I speculate that this would have something to do with the Java beans -- which was designed to be the definitive plugin standard for Java IDEs. Unfortunately, Java beans are so poorly designed that all developers would need to extend the basic features by a whole lot.
JavaBeans are not about IDE plugins. It was developed as a programming model to allow one to create visual components that could be easily modified and controlled in a GUI builder (as such, tables, textfields, trees,... are all javabeans in Swing).
I'm not sure what Ant exactly uses that is in the Swing classes.
But you have to keep in mind that normally, this shouldn't be a problem, since every "real" java implementation must have javax.swing available.
But I'm sure that even if you for some reasons don't have Swing installed, you'll still be able to run Ant and use 99% of it. You wouldn't get errors until you use the functionality that relies on Swing (can someone tell me what it would be? I'm no Ant expert, but I've used it before. For what task do you need Swing?).
What do you mean, it doesn't work? Do you mean that you get asked for registration again the moment you click another link? Then just c&p that link again. Preferably the "print this article" link, so you can read the whole article at once.
If you know a better way, feel free to tell it, just don't be a jerk about it.
check out the Mars Express photo featured at the BBC http://news.bbc.co.uk/2/hi/science/nature/3422841. stm
looks like there's a sinkhole... and where there are sinkholes, there are....? CAVERNS!
Caverns? Maybe that's why Bush is so eager to go to Mars. You never know Osama may be hiding in one of them there. He sure can't find him on this planet:)
...seriously, I've seen someone on FreeRepublic...
Freerepublic is one of the worst (if not the worst) "discussion" sites on the net. No dissonant opinion is allowed there, they get deleted immediately. More info about this here
I just discovered today that a fine site (http://www2.gol.com/users/tame/swing/examples/)
with losts of custom swing components went 404.
I was able to retrieve some stuff using the wayback machine, but it is still a shame to see the site itself go.
Maybe the poster should try the wayback machine too.
You must be kidding? Perl always executes faster for you? Perl, the fully interpreted language? The only way I could see this happening if you take startup time into account, on really short running applications.
I'm not saying Perl doesn't have it's advantages compared to Java, but performance surely is not the reason to pick Perl over Java. You probably do have a point on the memory tough.
This isn't somethinb being developed for Linux, as you make it sound. It'll be readily available on *BSD as well, and at least OpenOffice is also targeted at e.g. Windows. I'm tired of all the narrowminded Linux Zealots...
Don't be offended that soon. Most of the time when people talk about "Linux is going to... (some general statement that doesn't implies the kernel)", they really mean open source software in general.
Belgiums national football (that is soccer for you US barbarians:) team is called "The red devils" and has, surprisingly, a red devil las its mascot (pic here).
I've never heard of anyone taking offense to it here.
Unfortunately,Konqueror, which I otherwise love, has exactly the same problems.
Minor nitpick, that is not completly correct.
An object can still have references to it, and still be elegible for gc'ing. That is what Weak- and SoftReferences are used for.
From the API docs:
Yes it does now, 2 weeks ago I installed cygwin on a winxp box, and it comes default with a XServer installed, configured to run in rootless mode, so it just uses winxp itself for the windowmanagement.
The last time I tried to do that (maybe one year ago, something like that), it was a lot more work for sure.
Let's hope that one day, scientists will be able to uncover the great mystery of bad spelling on slashdot :)
You're not totally correct here:
686 is everything from PentiumII / K6-2 and up. So whatever caused your PII to be slow, it wasn't the compiler optimizations. I suspect it was just low on memory (I'm typing this on a Celeron 300 with 320MB ram, running KDE 3.2 and kernel 2.6.1. It runs just fine).
You go there to get the JDK. You do have to register though, but I sure never developed on Websphere. I never paid IBM for anything either., so you're just lying.
I hear this all the time. First of, all, it isn't true: I'll give you 2 examples: Jython and Groovy. I'm sure there are plenty more examples you can find if you want. .Net are mostly the class libraries and APIs you can find. When programming WinForms, does it really matter if you're using C#, VB.Net or any of the CLR languages?
Besides, does it really matter? The strength of Java and
Apart from syntax, your form will end up looking exactly the same anyway, with the same functionality. It's just a matter of which syntax you prefer.
Anything that matters in .Net is not standardised. ADO.Net, ASP.Net, ... all thoser things are proprietary as hell. At least with Java, many important API's are open to be implemented by those who want to (J2EE, JAXP, JSLT, ...). In the Java world, you can actually choose your implementation, as opposed to what MS force-feeds you with .Net.
But would I like to see Java standardised? Sure, but even without it, it still is more open than the entire .Net platform.
Really? And could you tell me when I could get that J# code to run on all the OSses that Java supports?
Excuse me? You must be confusing the IBM JVM with the Blackdown JVM from blackdown.org, which is a specialised port of the Sun JVM to Linux.
Faster than a decent implementation can be produced? You're really exaggerating now:
Java has gone from 1.0 (Januari 1995) to 1.4.2 (June 2003, which was 9 months later than 1.4.1, September 2002) to 1.5 (alpha available now, not sure when scheduled for release, I thought the end of this year).
At this moment I can choose between installing Sun 1.4.2, blackdown 1.4.1 and ibm 1.4.1 I on my gentoo box. Then there are also JVMs like JRockit, which is also at 1.4.2.
The are also no major API changes between the point releases (1.4.1 for example added support for Webstart, 1.4.2 added WinXP and GTK look and feel), the rest are only bugfixes.
JavaBeans are not about IDE plugins. It was developed as a programming model to allow one to create visual components that could be easily modified and controlled in a GUI builder (as such, tables, textfields, trees, ... are all javabeans in Swing).
You might want to retry it, or at least stop complaining about the speed of Netbeans.
I've been using it for the last two years, and its performance has gotten better over time.
Aargh, I've seen some terrible pictures in my life, but the one of Cowboy Neal at his desk beats them all :)
I'm not sure what Ant exactly uses that is in the Swing classes.
But you have to keep in mind that normally, this shouldn't be a problem, since every "real" java implementation must have javax.swing available.
But I'm sure that even if you for some reasons don't have Swing installed, you'll still be able to run Ant and use 99% of it. You wouldn't get errors until you use the functionality that relies on Swing (can someone tell me what it would be? I'm no Ant expert, but I've used it before. For what task do you need Swing?).
From what backwards country was the mod who modded you insightful? You were probably going for funny (at least I hope so :)
For the record, in my country, and in what I'm pretty sure of the rest of the world, Windows 95 was released in (gasp!) August 1995
As for getting knoppix to do the same, it's just a matter of adding a home=/dev/sda1 (or your actual pendrive location) parameter during startup.
It could be that this is automated/autodetected with mandrake though.
What do you mean, it doesn't work? Do you mean that you get asked for registration again the moment you click another link? Then just c&p that link again. Preferably the "print this article" link, so you can read the whole article at once.
If you know a better way, feel free to tell it, just don't be a jerk about it.
Yes, but those tend to get weeded outed pretty fast once they're in the open. :)
Prepare to create a new account for the NYT any day now
You don't have to register with the NYT.
With the following procedure, you can read any NYT article:
I suspect this works because the NYT sees google as the referrer.
Caverns? Maybe that's why Bush is so eager to go to Mars. You never know Osama may be hiding in one of them there. He sure can't find him on this planet :)
KDE supports this (this is only possible because the underlying xfree 4.3 supports it offcourse).
See this dot.kde.org post about it.
Freerepublic is one of the worst (if not the worst) "discussion" sites on the net. No dissonant opinion is allowed there, they get deleted immediately. More info about this here
Aah, America, the land of the free, home of the brave :)
But serious now, do you have any idea what the motivations behind this law are? It seems one of the stupidest things I have heard of.
And I'm sure that by pure coincidence, your father is also evil incarnate :)
I just discovered today that a fine site (http://www2.gol.com/users/tame/swing/examples/) with losts of custom swing components went 404.
I was able to retrieve some stuff using the wayback machine, but it is still a shame to see the site itself go.
Maybe the poster should try the wayback machine too.
You must be kidding? Perl always executes faster for you? Perl, the fully interpreted language? The only way I could see this happening if you take startup time into account, on really short running applications.
I'm not saying Perl doesn't have it's advantages compared to Java, but performance surely is not the reason to pick Perl over Java. You probably do have a point on the memory tough.
Don't be offended that soon. Most of the time when people talk about "Linux is going to ... (some general statement that doesn't implies the kernel)", they really mean open source software in general.
Belgiums national football (that is soccer for you US barbarians :) team is called "The red devils" and has, surprisingly, a red devil las its mascot (pic here).
I've never heard of anyone taking offense to it here.