Re: How to use power of Dual/ Quad core Processors in Applet?
Sanny wrote:
Actually, The threads themselves may not be "assigned" to specific
cores, but when a core becomes free, the OS will choose which thread
to schedule on that core. Although the actual algorithm is somewhat
complicated, its fair to say that using multiple threads will give you
a fairly even distribution among the cores, assuming you're using a
modern OS and modern JVM.
Does Unix, Windows 98, Windows XP, Windows Vista, OS/2, Linux etc
support Dual & Quad Processors.
Windows 98 does not. I am not sure of OS/2. The rest should.
My Applet is for everyone. So I want it to work on every Operating
System.
Java shoudl enable you to do that.
One more Question does an Applet gets only those resources which
Browser provides? Will it depend also on which browser the user is
using.
It should depend on th JVM used.
Is there a Chart where I can see which Browsers and Operating Systems
support Dual Core/ Quad core Processoors.
You should read documentation for the OS's.
And Maximum how many threads can be created for an Applet. Can I
create 100 or 1000 threads running Simultaniously without crashing the
Browser?
In theory yes. But all JVM's are not bug free.
Note that 1000 threads will be painfully slow (unless it is a very
huge system).
JAVA was once a very modern language but I feel it is loosing it's
importance because of Microsoft Monopoly. Why do Microsoft not give
enough support for Java. We see Flash works better than Applets and
faster, While even little Applet takes lot of time to download. Why
Browsers do not support Applet as par as Flash.
Why did you expect MS to help the competition ??
Arne