The most wide spread excuse to the slow responsiveness of the GUI
is that "computers are getting faster and have more memory and thus
it won't matter". Well, maybe but you have to remember that as times
goes by more programs, especially multimedia, are introduced and thus
this logic won't work all the time.
I also think that you cannot compare C and JAVA by performance since
they were made for different purposes. C to write fast programs and OS
code all the while knowing it is a risky language and Java was written
for
ease of use, redability, and reliability which should lower recall rate
of software
and hardware that uses that software.
Maybe, if you will use some C libraries that duplicates all of JAVA's
features
and restrictions which includes among others - garbage collector, range
checks,
references, etc... you can compare performances. Obviously all these
features
once turned on by default will slow your C program, especially when you
trigger
their usage like range checks and garbage collector. Using JNI as was
said here
just means that you probably got it wrong in your language choice for
that particular
software. Btw, I am sure that in many cases even native compilation of
JAVA won't
compete with the C code since the features are not turned off.
Regards,
tzahi.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of guy keren
> Sent: Friday, March 18, 2005 3:24 AM
> To: Sharon Dagan
> Cc: IGLU Mailing list; [EMAIL PROTECTED]
> Subject: Re: Math optimization in... Java?
>
>
>
> On Thu, 17 Mar 2005, Sharon Dagan wrote:
>
> > Swing is rather slow, though it's *much* better in JDK
> v1.4/1.5 than
> > it used it be. My gut feeling is that with v1.5, the problem is not
> > performance anymore but (lack of) programming skills - for most
> > programmers, it's still too difficult to program a fast and
> > good-looking GUI in Swing.
>
> who said "good looking"? i said "non-slagish". responsive.
> and if this is still too difficult - then the language is not
> good enough for writing GUIs. if you have to ba an expert in
> order ot get soemthing that is simply responsive - something
> should be improved.
>
> --
> guy
>
> "For world domination - press 1,
> or dial 0, and please hold, for the creator." -- nob o. dy
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED]
> with the word "unsubscribe" in the message body, e.g., run
> the command echo unsubscribe | mail [EMAIL PROTECTED]
>
>
>
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]